Line data Source code
1 : /* ----------------------------------------------------------------------------
2 : * This file was automatically generated by SWIG (http://www.swig.org).
3 : * Version 3.0.12
4 : *
5 : * This file is not intended to be easily readable and contains a number of
6 : * coding conventions designed to improve portability and efficiency. Do not make
7 : * changes to this file unless you know what you are doing--modify the SWIG
8 : * interface file instead.
9 : * ----------------------------------------------------------------------------- */
10 :
11 : #ifdef _MSC_VER
12 : #define SWIG_PYTHON_INTERPRETER_NO_DEBUG
13 : #else
14 : #define _GNU_SOURCE 1
15 : #endif
16 :
17 :
18 :
19 : #ifndef SWIGPERL
20 : #define SWIGPERL
21 : #endif
22 :
23 : #define SWIG_CASTRANK_MODE
24 :
25 : /* -----------------------------------------------------------------------------
26 : * This section contains generic SWIG labels for method/variable
27 : * declarations/attributes, and other compiler dependent labels.
28 : * ----------------------------------------------------------------------------- */
29 :
30 : /* template workaround for compilers that cannot correctly implement the C++ standard */
31 : #ifndef SWIGTEMPLATEDISAMBIGUATOR
32 : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
33 : # define SWIGTEMPLATEDISAMBIGUATOR template
34 : # elif defined(__HP_aCC)
35 : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
36 : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
37 : # define SWIGTEMPLATEDISAMBIGUATOR template
38 : # else
39 : # define SWIGTEMPLATEDISAMBIGUATOR
40 : # endif
41 : #endif
42 :
43 : /* inline attribute */
44 : #ifndef SWIGINLINE
45 : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
46 : # define SWIGINLINE inline
47 : # else
48 : # define SWIGINLINE
49 : # endif
50 : #endif
51 :
52 : /* attribute recognised by some compilers to avoid 'unused' warnings */
53 : #ifndef SWIGUNUSED
54 : # if defined(__GNUC__)
55 : # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
56 : # define SWIGUNUSED __attribute__ ((__unused__))
57 : # else
58 : # define SWIGUNUSED
59 : # endif
60 : # elif defined(__ICC)
61 : # define SWIGUNUSED __attribute__ ((__unused__))
62 : # else
63 : # define SWIGUNUSED
64 : # endif
65 : #endif
66 :
67 : #ifndef SWIG_MSC_UNSUPPRESS_4505
68 : # if defined(_MSC_VER)
69 : # pragma warning(disable : 4505) /* unreferenced local function has been removed */
70 : # endif
71 : #endif
72 :
73 : #ifndef SWIGUNUSEDPARM
74 : # ifdef __cplusplus
75 : # define SWIGUNUSEDPARM(p)
76 : # else
77 : # define SWIGUNUSEDPARM(p) p SWIGUNUSED
78 : # endif
79 : #endif
80 :
81 : /* internal SWIG method */
82 : #ifndef SWIGINTERN
83 : # define SWIGINTERN static SWIGUNUSED
84 : #endif
85 :
86 : /* internal inline SWIG method */
87 : #ifndef SWIGINTERNINLINE
88 : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
89 : #endif
90 :
91 : /* exporting methods */
92 : #if defined(__GNUC__)
93 : # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
94 : # ifndef GCC_HASCLASSVISIBILITY
95 : # define GCC_HASCLASSVISIBILITY
96 : # endif
97 : # endif
98 : #endif
99 :
100 : #ifndef SWIGEXPORT
101 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
102 : # if defined(STATIC_LINKED)
103 : # define SWIGEXPORT
104 : # else
105 : # define SWIGEXPORT __declspec(dllexport)
106 : # endif
107 : # else
108 : # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
109 : # define SWIGEXPORT __attribute__ ((visibility("default")))
110 : # else
111 : # define SWIGEXPORT
112 : # endif
113 : # endif
114 : #endif
115 :
116 : /* calling conventions for Windows */
117 : #ifndef SWIGSTDCALL
118 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
119 : # define SWIGSTDCALL __stdcall
120 : # else
121 : # define SWIGSTDCALL
122 : # endif
123 : #endif
124 :
125 : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
126 : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
127 : # define _CRT_SECURE_NO_DEPRECATE
128 : #endif
129 :
130 : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
131 : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
132 : # define _SCL_SECURE_NO_DEPRECATE
133 : #endif
134 :
135 : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
136 : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
137 : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
138 : #endif
139 :
140 : /* Intel's compiler complains if a variable which was never initialised is
141 : * cast to void, which is a common idiom which we use to indicate that we
142 : * are aware a variable isn't used. So we just silence that warning.
143 : * See: https://github.com/swig/swig/issues/192 for more discussion.
144 : */
145 : #ifdef __INTEL_COMPILER
146 : # pragma warning disable 592
147 : #endif
148 :
149 : /* -----------------------------------------------------------------------------
150 : * swigrun.swg
151 : *
152 : * This file contains generic C API SWIG runtime support for pointer
153 : * type checking.
154 : * ----------------------------------------------------------------------------- */
155 :
156 : /* This should only be incremented when either the layout of swig_type_info changes,
157 : or for whatever reason, the runtime changes incompatibly */
158 : #define SWIG_RUNTIME_VERSION "4"
159 :
160 : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
161 : #ifdef SWIG_TYPE_TABLE
162 : # define SWIG_QUOTE_STRING(x) #x
163 : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
164 : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
165 : #else
166 : # define SWIG_TYPE_TABLE_NAME
167 : #endif
168 :
169 : /*
170 : You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
171 : creating a static or dynamic library from the SWIG runtime code.
172 : In 99.9% of the cases, SWIG just needs to declare them as 'static'.
173 :
174 : But only do this if strictly necessary, ie, if you have problems
175 : with your compiler or suchlike.
176 : */
177 :
178 : #ifndef SWIGRUNTIME
179 : # define SWIGRUNTIME SWIGINTERN
180 : #endif
181 :
182 : #ifndef SWIGRUNTIMEINLINE
183 : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
184 : #endif
185 :
186 : /* Generic buffer size */
187 : #ifndef SWIG_BUFFER_SIZE
188 : # define SWIG_BUFFER_SIZE 1024
189 : #endif
190 :
191 : /* Flags for pointer conversions */
192 : #define SWIG_POINTER_DISOWN 0x1
193 : #define SWIG_CAST_NEW_MEMORY 0x2
194 :
195 : /* Flags for new pointer objects */
196 : #define SWIG_POINTER_OWN 0x1
197 :
198 :
199 : /*
200 : Flags/methods for returning states.
201 :
202 : The SWIG conversion methods, as ConvertPtr, return an integer
203 : that tells if the conversion was successful or not. And if not,
204 : an error code can be returned (see swigerrors.swg for the codes).
205 :
206 : Use the following macros/flags to set or process the returning
207 : states.
208 :
209 : In old versions of SWIG, code such as the following was usually written:
210 :
211 : if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
212 : // success code
213 : } else {
214 : //fail code
215 : }
216 :
217 : Now you can be more explicit:
218 :
219 : int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
220 : if (SWIG_IsOK(res)) {
221 : // success code
222 : } else {
223 : // fail code
224 : }
225 :
226 : which is the same really, but now you can also do
227 :
228 : Type *ptr;
229 : int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
230 : if (SWIG_IsOK(res)) {
231 : // success code
232 : if (SWIG_IsNewObj(res) {
233 : ...
234 : delete *ptr;
235 : } else {
236 : ...
237 : }
238 : } else {
239 : // fail code
240 : }
241 :
242 : I.e., now SWIG_ConvertPtr can return new objects and you can
243 : identify the case and take care of the deallocation. Of course that
244 : also requires SWIG_ConvertPtr to return new result values, such as
245 :
246 : int SWIG_ConvertPtr(obj, ptr,...) {
247 : if (<obj is ok>) {
248 : if (<need new object>) {
249 : *ptr = <ptr to new allocated object>;
250 : return SWIG_NEWOBJ;
251 : } else {
252 : *ptr = <ptr to old object>;
253 : return SWIG_OLDOBJ;
254 : }
255 : } else {
256 : return SWIG_BADOBJ;
257 : }
258 : }
259 :
260 : Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
261 : more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
262 : SWIG errors code.
263 :
264 : Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
265 : allows to return the 'cast rank', for example, if you have this
266 :
267 : int food(double)
268 : int fooi(int);
269 :
270 : and you call
271 :
272 : food(1) // cast rank '1' (1 -> 1.0)
273 : fooi(1) // cast rank '0'
274 :
275 : just use the SWIG_AddCast()/SWIG_CheckState()
276 : */
277 :
278 : #define SWIG_OK (0)
279 : #define SWIG_ERROR (-1)
280 : #define SWIG_IsOK(r) (r >= 0)
281 : #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
282 :
283 : /* The CastRankLimit says how many bits are used for the cast rank */
284 : #define SWIG_CASTRANKLIMIT (1 << 8)
285 : /* The NewMask denotes the object was created (using new/malloc) */
286 : #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
287 : /* The TmpMask is for in/out typemaps that use temporal objects */
288 : #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
289 : /* Simple returning values */
290 : #define SWIG_BADOBJ (SWIG_ERROR)
291 : #define SWIG_OLDOBJ (SWIG_OK)
292 : #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
293 : #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
294 : /* Check, add and del mask methods */
295 : #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
296 : #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
297 : #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
298 : #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
299 : #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
300 : #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
301 :
302 : /* Cast-Rank Mode */
303 : #if defined(SWIG_CASTRANK_MODE)
304 : # ifndef SWIG_TypeRank
305 : # define SWIG_TypeRank unsigned long
306 : # endif
307 : # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
308 : # define SWIG_MAXCASTRANK (2)
309 : # endif
310 : # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
311 : # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
312 : SWIGINTERNINLINE int SWIG_AddCast(int r) {
313 0 : return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
314 : }
315 : SWIGINTERNINLINE int SWIG_CheckState(int r) {
316 0 : return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
317 : }
318 : #else /* no cast-rank mode */
319 : # define SWIG_AddCast(r) (r)
320 : # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
321 : #endif
322 :
323 :
324 : #include <string.h>
325 :
326 : #ifdef __cplusplus
327 : extern "C" {
328 : #endif
329 :
330 : typedef void *(*swig_converter_func)(void *, int *);
331 : typedef struct swig_type_info *(*swig_dycast_func)(void **);
332 :
333 : /* Structure to store information on one type */
334 : typedef struct swig_type_info {
335 : const char *name; /* mangled name of this type */
336 : const char *str; /* human readable name of this type */
337 : swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
338 : struct swig_cast_info *cast; /* linked list of types that can cast into this type */
339 : void *clientdata; /* language specific type data */
340 : int owndata; /* flag if the structure owns the clientdata */
341 : } swig_type_info;
342 :
343 : /* Structure to store a type and conversion function used for casting */
344 : typedef struct swig_cast_info {
345 : swig_type_info *type; /* pointer to type that is equivalent to this type */
346 : swig_converter_func converter; /* function to cast the void pointers */
347 : struct swig_cast_info *next; /* pointer to next cast in linked list */
348 : struct swig_cast_info *prev; /* pointer to the previous cast */
349 : } swig_cast_info;
350 :
351 : /* Structure used to store module information
352 : * Each module generates one structure like this, and the runtime collects
353 : * all of these structures and stores them in a circularly linked list.*/
354 : typedef struct swig_module_info {
355 : swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
356 : size_t size; /* Number of types in this module */
357 : struct swig_module_info *next; /* Pointer to next element in circularly linked list */
358 : swig_type_info **type_initial; /* Array of initially generated type structures */
359 : swig_cast_info **cast_initial; /* Array of initially generated casting structures */
360 : void *clientdata; /* Language specific module data */
361 : } swig_module_info;
362 :
363 : /*
364 : Compare two type names skipping the space characters, therefore
365 : "char*" == "char *" and "Class<int>" == "Class<int >", etc.
366 :
367 : Return 0 when the two name types are equivalent, as in
368 : strncmp, but skipping ' '.
369 : */
370 : SWIGRUNTIME int
371 0 : SWIG_TypeNameComp(const char *f1, const char *l1,
372 : const char *f2, const char *l2) {
373 0 : for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
374 0 : while ((*f1 == ' ') && (f1 != l1)) ++f1;
375 0 : while ((*f2 == ' ') && (f2 != l2)) ++f2;
376 0 : if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
377 : }
378 0 : return (int)((l1 - f1) - (l2 - f2));
379 : }
380 :
381 : /*
382 : Check type equivalence in a name list like <name1>|<name2>|...
383 : Return 0 if equal, -1 if nb < tb, 1 if nb > tb
384 : */
385 : SWIGRUNTIME int
386 0 : SWIG_TypeCmp(const char *nb, const char *tb) {
387 : int equiv = 1;
388 0 : const char* te = tb + strlen(tb);
389 : const char* ne = nb;
390 0 : while (equiv != 0 && *ne) {
391 0 : for (nb = ne; *ne; ++ne) {
392 0 : if (*ne == '|') break;
393 : }
394 0 : equiv = SWIG_TypeNameComp(nb, ne, tb, te);
395 0 : if (*ne) ++ne;
396 : }
397 0 : return equiv;
398 : }
399 :
400 : /*
401 : Check type equivalence in a name list like <name1>|<name2>|...
402 : Return 0 if not equal, 1 if equal
403 : */
404 : SWIGRUNTIME int
405 : SWIG_TypeEquiv(const char *nb, const char *tb) {
406 0 : return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
407 : }
408 :
409 : /*
410 : Check the typename
411 : */
412 : SWIGRUNTIME swig_cast_info *
413 0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
414 0 : if (ty) {
415 0 : swig_cast_info *iter = ty->cast;
416 0 : while (iter) {
417 0 : if (strcmp(iter->type->name, c) == 0) {
418 0 : if (iter == ty->cast)
419 : return iter;
420 : /* Move iter to the top of the linked list */
421 0 : iter->prev->next = iter->next;
422 0 : if (iter->next)
423 0 : iter->next->prev = iter->prev;
424 0 : iter->next = ty->cast;
425 0 : iter->prev = 0;
426 0 : if (ty->cast) ty->cast->prev = iter;
427 0 : ty->cast = iter;
428 0 : return iter;
429 : }
430 0 : iter = iter->next;
431 : }
432 : }
433 : return 0;
434 : }
435 :
436 : /*
437 : Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
438 : */
439 : SWIGRUNTIME swig_cast_info *
440 : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
441 : if (ty) {
442 : swig_cast_info *iter = ty->cast;
443 : while (iter) {
444 : if (iter->type == from) {
445 : if (iter == ty->cast)
446 : return iter;
447 : /* Move iter to the top of the linked list */
448 : iter->prev->next = iter->next;
449 : if (iter->next)
450 : iter->next->prev = iter->prev;
451 : iter->next = ty->cast;
452 : iter->prev = 0;
453 : if (ty->cast) ty->cast->prev = iter;
454 : ty->cast = iter;
455 : return iter;
456 : }
457 : iter = iter->next;
458 : }
459 : }
460 : return 0;
461 : }
462 :
463 : /*
464 : Cast a pointer up an inheritance hierarchy
465 : */
466 : SWIGRUNTIMEINLINE void *
467 : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
468 1 : return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
469 : }
470 :
471 : /*
472 : Dynamic pointer casting. Down an inheritance hierarchy
473 : */
474 : SWIGRUNTIME swig_type_info *
475 : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
476 : swig_type_info *lastty = ty;
477 : if (!ty || !ty->dcast) return ty;
478 : while (ty && (ty->dcast)) {
479 : ty = (*ty->dcast)(ptr);
480 : if (ty) lastty = ty;
481 : }
482 : return lastty;
483 : }
484 :
485 : /*
486 : Return the name associated with this type
487 : */
488 : SWIGRUNTIMEINLINE const char *
489 : SWIG_TypeName(const swig_type_info *ty) {
490 : return ty->name;
491 : }
492 :
493 : /*
494 : Return the pretty name associated with this type,
495 : that is an unmangled type name in a form presentable to the user.
496 : */
497 : SWIGRUNTIME const char *
498 : SWIG_TypePrettyName(const swig_type_info *type) {
499 : /* The "str" field contains the equivalent pretty names of the
500 : type, separated by vertical-bar characters. We choose
501 : to print the last name, as it is often (?) the most
502 : specific. */
503 : if (!type) return NULL;
504 : if (type->str != NULL) {
505 : const char *last_name = type->str;
506 : const char *s;
507 : for (s = type->str; *s; s++)
508 : if (*s == '|') last_name = s+1;
509 : return last_name;
510 : }
511 : else
512 : return type->name;
513 : }
514 :
515 : /*
516 : Set the clientdata field for a type
517 : */
518 : SWIGRUNTIME void
519 1 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
520 1 : swig_cast_info *cast = ti->cast;
521 : /* if (ti->clientdata == clientdata) return; */
522 1 : ti->clientdata = clientdata;
523 :
524 1 : while (cast) {
525 1 : if (!cast->converter) {
526 1 : swig_type_info *tc = cast->type;
527 1 : if (!tc->clientdata) {
528 0 : SWIG_TypeClientData(tc, clientdata);
529 : }
530 : }
531 1 : cast = cast->next;
532 : }
533 1 : }
534 : SWIGRUNTIME void
535 : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
536 : SWIG_TypeClientData(ti, clientdata);
537 : ti->owndata = 1;
538 : }
539 :
540 : /*
541 : Search for a swig_type_info structure only by mangled name
542 : Search is a O(log #types)
543 :
544 : We start searching at module start, and finish searching when start == end.
545 : Note: if start == end at the beginning of the function, we go all the way around
546 : the circular list.
547 : */
548 : SWIGRUNTIME swig_type_info *
549 0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
550 : swig_module_info *end,
551 : const char *name) {
552 : swig_module_info *iter = start;
553 : do {
554 0 : if (iter->size) {
555 : size_t l = 0;
556 0 : size_t r = iter->size - 1;
557 : do {
558 : /* since l+r >= 0, we can (>> 1) instead (/ 2) */
559 0 : size_t i = (l + r) >> 1;
560 0 : const char *iname = iter->types[i]->name;
561 0 : if (iname) {
562 0 : int compare = strcmp(name, iname);
563 0 : if (compare == 0) {
564 : return iter->types[i];
565 0 : } else if (compare < 0) {
566 0 : if (i) {
567 0 : r = i - 1;
568 : } else {
569 : break;
570 : }
571 : } else if (compare > 0) {
572 0 : l = i + 1;
573 : }
574 : } else {
575 : break; /* should never happen */
576 : }
577 0 : } while (l <= r);
578 : }
579 0 : iter = iter->next;
580 0 : } while (iter != end);
581 : return 0;
582 : }
583 :
584 : /*
585 : Search for a swig_type_info structure for either a mangled name or a human readable name.
586 : It first searches the mangled names of the types, which is a O(log #types)
587 : If a type is not found it then searches the human readable names, which is O(#types).
588 :
589 : We start searching at module start, and finish searching when start == end.
590 : Note: if start == end at the beginning of the function, we go all the way around
591 : the circular list.
592 : */
593 : SWIGRUNTIME swig_type_info *
594 0 : SWIG_TypeQueryModule(swig_module_info *start,
595 : swig_module_info *end,
596 : const char *name) {
597 : /* STEP 1: Search the name field using binary search */
598 0 : swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
599 0 : if (ret) {
600 : return ret;
601 : } else {
602 : /* STEP 2: If the type hasn't been found, do a complete search
603 : of the str field (the human readable name) */
604 : swig_module_info *iter = start;
605 : do {
606 : size_t i = 0;
607 0 : for (; i < iter->size; ++i) {
608 0 : if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
609 : return iter->types[i];
610 : }
611 0 : iter = iter->next;
612 0 : } while (iter != end);
613 : }
614 :
615 : /* neither found a match */
616 : return 0;
617 : }
618 :
619 : /*
620 : Pack binary data into a string
621 : */
622 : SWIGRUNTIME char *
623 : SWIG_PackData(char *c, void *ptr, size_t sz) {
624 : static const char hex[17] = "0123456789abcdef";
625 : const unsigned char *u = (unsigned char *) ptr;
626 0 : const unsigned char *eu = u + sz;
627 0 : for (; u != eu; ++u) {
628 0 : unsigned char uu = *u;
629 0 : *(c++) = hex[(uu & 0xf0) >> 4];
630 0 : *(c++) = hex[uu & 0xf];
631 : }
632 : return c;
633 : }
634 :
635 : /*
636 : Unpack binary data from a string
637 : */
638 : SWIGRUNTIME const char *
639 : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
640 : unsigned char *u = (unsigned char *) ptr;
641 : const unsigned char *eu = u + sz;
642 : for (; u != eu; ++u) {
643 : char d = *(c++);
644 : unsigned char uu;
645 : if ((d >= '0') && (d <= '9'))
646 : uu = (unsigned char)((d - '0') << 4);
647 : else if ((d >= 'a') && (d <= 'f'))
648 : uu = (unsigned char)((d - ('a'-10)) << 4);
649 : else
650 : return (char *) 0;
651 : d = *(c++);
652 : if ((d >= '0') && (d <= '9'))
653 : uu |= (unsigned char)(d - '0');
654 : else if ((d >= 'a') && (d <= 'f'))
655 : uu |= (unsigned char)(d - ('a'-10));
656 : else
657 : return (char *) 0;
658 : *u = uu;
659 : }
660 : return c;
661 : }
662 :
663 : /*
664 : Pack 'void *' into a string buffer.
665 : */
666 : SWIGRUNTIME char *
667 : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
668 : char *r = buff;
669 : if ((2*sizeof(void *) + 2) > bsz) return 0;
670 : *(r++) = '_';
671 : r = SWIG_PackData(r,&ptr,sizeof(void *));
672 : if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
673 : strcpy(r,name);
674 : return buff;
675 : }
676 :
677 : SWIGRUNTIME const char *
678 : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
679 : if (*c != '_') {
680 : if (strcmp(c,"NULL") == 0) {
681 : *ptr = (void *) 0;
682 : return name;
683 : } else {
684 : return 0;
685 : }
686 : }
687 : return SWIG_UnpackData(++c,ptr,sizeof(void *));
688 : }
689 :
690 : SWIGRUNTIME char *
691 : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
692 : char *r = buff;
693 : size_t lname = (name ? strlen(name) : 0);
694 : if ((2*sz + 2 + lname) > bsz) return 0;
695 : *(r++) = '_';
696 : r = SWIG_PackData(r,ptr,sz);
697 : if (lname) {
698 : strncpy(r,name,lname+1);
699 : } else {
700 : *r = 0;
701 : }
702 : return buff;
703 : }
704 :
705 : SWIGRUNTIME const char *
706 : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
707 : if (*c != '_') {
708 : if (strcmp(c,"NULL") == 0) {
709 : memset(ptr,0,sz);
710 : return name;
711 : } else {
712 : return 0;
713 : }
714 : }
715 : return SWIG_UnpackData(++c,ptr,sz);
716 : }
717 :
718 : #ifdef __cplusplus
719 : }
720 : #endif
721 :
722 : /* Errors in SWIG */
723 : #define SWIG_UnknownError -1
724 : #define SWIG_IOError -2
725 : #define SWIG_RuntimeError -3
726 : #define SWIG_IndexError -4
727 : #define SWIG_TypeError -5
728 : #define SWIG_DivisionByZero -6
729 : #define SWIG_OverflowError -7
730 : #define SWIG_SyntaxError -8
731 : #define SWIG_ValueError -9
732 : #define SWIG_SystemError -10
733 : #define SWIG_AttributeError -11
734 : #define SWIG_MemoryError -12
735 : #define SWIG_NullReferenceError -13
736 :
737 :
738 :
739 : #ifdef __cplusplus
740 : /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
741 : #include <math.h>
742 : #include <stdlib.h>
743 : extern "C" {
744 : #endif
745 : #include "EXTERN.h"
746 : #include "perl.h"
747 : #include "XSUB.h"
748 :
749 : /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
750 :
751 : /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
752 : #ifndef PERL_REVISION
753 : # if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
754 : # define PERL_PATCHLEVEL_H_IMPLICIT
755 : # include <patchlevel.h>
756 : # endif
757 : # if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
758 : # include <could_not_find_Perl_patchlevel.h>
759 : # endif
760 : # ifndef PERL_REVISION
761 : # define PERL_REVISION (5)
762 : # define PERL_VERSION PATCHLEVEL
763 : # define PERL_SUBVERSION SUBVERSION
764 : # endif
765 : #endif
766 :
767 : #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
768 : #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
769 : #endif
770 :
771 : #ifndef SvIOK_UV
772 : # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
773 : #endif
774 :
775 : #ifndef SvUOK
776 : # define SvUOK(sv) SvIOK_UV(sv)
777 : #endif
778 :
779 : #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
780 : # define PL_sv_undef sv_undef
781 : # define PL_na na
782 : # define PL_errgv errgv
783 : # define PL_sv_no sv_no
784 : # define PL_sv_yes sv_yes
785 : # define PL_markstack_ptr markstack_ptr
786 : #endif
787 :
788 : #ifndef IVSIZE
789 : # ifdef LONGSIZE
790 : # define IVSIZE LONGSIZE
791 : # else
792 : # define IVSIZE 4 /* A bold guess, but the best we can make. */
793 : # endif
794 : #endif
795 :
796 : #ifndef INT2PTR
797 : # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
798 : # define PTRV UV
799 : # define INT2PTR(any,d) (any)(d)
800 : # else
801 : # if PTRSIZE == LONGSIZE
802 : # define PTRV unsigned long
803 : # else
804 : # define PTRV unsigned
805 : # endif
806 : # define INT2PTR(any,d) (any)(PTRV)(d)
807 : # endif
808 :
809 : # define NUM2PTR(any,d) (any)(PTRV)(d)
810 : # define PTR2IV(p) INT2PTR(IV,p)
811 : # define PTR2UV(p) INT2PTR(UV,p)
812 : # define PTR2NV(p) NUM2PTR(NV,p)
813 :
814 : # if PTRSIZE == LONGSIZE
815 : # define PTR2ul(p) (unsigned long)(p)
816 : # else
817 : # define PTR2ul(p) INT2PTR(unsigned long,p)
818 : # endif
819 : #endif /* !INT2PTR */
820 :
821 : #ifndef SvPV_nolen
822 : # define SvPV_nolen(x) SvPV(x,PL_na)
823 : #endif
824 :
825 : #ifndef get_sv
826 : # define get_sv perl_get_sv
827 : #endif
828 :
829 : #ifndef ERRSV
830 : # define ERRSV get_sv("@",FALSE)
831 : #endif
832 :
833 : #ifndef pTHX_
834 : #define pTHX_
835 : #endif
836 :
837 : #include <string.h>
838 : #ifdef __cplusplus
839 : }
840 : #endif
841 :
842 : /* -----------------------------------------------------------------------------
843 : * error manipulation
844 : * ----------------------------------------------------------------------------- */
845 :
846 : SWIGINTERN const char*
847 0 : SWIG_Perl_ErrorType(int code) {
848 0 : switch(code) {
849 : case SWIG_MemoryError:
850 : return "MemoryError";
851 0 : case SWIG_IOError:
852 0 : return "IOError";
853 0 : case SWIG_RuntimeError:
854 0 : return "RuntimeError";
855 0 : case SWIG_IndexError:
856 0 : return "IndexError";
857 0 : case SWIG_TypeError:
858 0 : return "TypeError";
859 0 : case SWIG_DivisionByZero:
860 0 : return "ZeroDivisionError";
861 0 : case SWIG_OverflowError:
862 0 : return "OverflowError";
863 0 : case SWIG_SyntaxError:
864 0 : return "SyntaxError";
865 0 : case SWIG_ValueError:
866 0 : return "ValueError";
867 0 : case SWIG_SystemError:
868 0 : return "SystemError";
869 0 : case SWIG_AttributeError:
870 0 : return "AttributeError";
871 0 : default:
872 0 : return "RuntimeError";
873 : }
874 : }
875 :
876 :
877 : /* -----------------------------------------------------------------------------
878 : * perlrun.swg
879 : *
880 : * This file contains the runtime support for Perl modules
881 : * and includes code for managing global variables and pointer
882 : * type checking.
883 : * ----------------------------------------------------------------------------- */
884 :
885 : #ifdef PERL_OBJECT
886 : #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
887 : #define SWIG_PERL_OBJECT_CALL pPerl,
888 : #else
889 : #define SWIG_PERL_OBJECT_DECL
890 : #define SWIG_PERL_OBJECT_CALL
891 : #endif
892 :
893 : /* Common SWIG API */
894 :
895 : /* for raw pointers */
896 : #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
897 : #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
898 : #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
899 : #define swig_owntype int
900 :
901 : /* for raw packed data */
902 : #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
903 : #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
904 :
905 : /* for class or struct pointers */
906 : #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
907 : #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
908 :
909 : /* for C or C++ function pointers */
910 : #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
911 : #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
912 :
913 : /* for C++ member pointers, ie, member methods */
914 : #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
915 : #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
916 :
917 :
918 : /* Runtime API */
919 :
920 : #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
921 : #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
922 :
923 :
924 : /* Error manipulation */
925 :
926 : #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
927 : #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
928 : #define SWIG_fail goto fail
929 :
930 : /* Perl-specific SWIG API */
931 :
932 : #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
933 : #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
934 : #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
935 :
936 :
937 : #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
938 : #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
939 : #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
940 : #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
941 :
942 : /* -----------------------------------------------------------------------------
943 : * pointers/data manipulation
944 : * ----------------------------------------------------------------------------- */
945 :
946 : /* For backward compatibility only */
947 : #define SWIG_POINTER_EXCEPTION 0
948 :
949 : #ifdef __cplusplus
950 : extern "C" {
951 : #endif
952 :
953 : #define SWIG_OWNER SWIG_POINTER_OWN
954 : #define SWIG_SHADOW SWIG_OWNER << 1
955 :
956 : #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
957 :
958 : /* SWIG Perl macros */
959 :
960 : /* Macro to declare an XS function */
961 : #ifndef XSPROTO
962 : # define XSPROTO(name) void name(pTHX_ CV* cv)
963 : #endif
964 :
965 : /* Macro to call an XS function */
966 : #ifdef PERL_OBJECT
967 : # define SWIG_CALLXS(_name) _name(cv,pPerl)
968 : #else
969 : # ifndef MULTIPLICITY
970 : # define SWIG_CALLXS(_name) _name(cv)
971 : # else
972 : # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
973 : # endif
974 : #endif
975 :
976 : #ifdef PERL_OBJECT
977 : #define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
978 :
979 : #ifdef __cplusplus
980 : extern "C" {
981 : #endif
982 : typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
983 : #ifdef __cplusplus
984 : }
985 : #endif
986 :
987 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
988 : #define SWIGCLASS_STATIC
989 :
990 : #else /* PERL_OBJECT */
991 :
992 : #define MAGIC_PPERL
993 : #define SWIGCLASS_STATIC static SWIGUNUSED
994 :
995 : #ifndef MULTIPLICITY
996 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
997 :
998 : #ifdef __cplusplus
999 : extern "C" {
1000 : #endif
1001 : typedef int (*SwigMagicFunc)(SV *, MAGIC *);
1002 : #ifdef __cplusplus
1003 : }
1004 : #endif
1005 :
1006 : #else /* MULTIPLICITY */
1007 :
1008 : #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
1009 :
1010 : #ifdef __cplusplus
1011 : extern "C" {
1012 : #endif
1013 : typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1014 : #ifdef __cplusplus
1015 : }
1016 : #endif
1017 :
1018 : #endif /* MULTIPLICITY */
1019 : #endif /* PERL_OBJECT */
1020 :
1021 : # ifdef PERL_OBJECT
1022 : # define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
1023 : static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
1024 : # else
1025 0 : static void SWIGUNUSED SWIG_croak_null()
1026 : # endif
1027 : {
1028 0 : SV *err = get_sv("@", GV_ADD);
1029 : # if (PERL_VERSION < 6)
1030 : croak("%_", err);
1031 : # else
1032 0 : if (sv_isobject(err))
1033 0 : croak(0);
1034 : else
1035 0 : croak("%s", SvPV_nolen(err));
1036 : # endif
1037 : }
1038 :
1039 :
1040 : /*
1041 : Define how strict is the cast between strings and integers/doubles
1042 : when overloading between these types occurs.
1043 :
1044 : The default is making it as strict as possible by using SWIG_AddCast
1045 : when needed.
1046 :
1047 : You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1048 : disable the SWIG_AddCast, making the casting between string and
1049 : numbers less strict.
1050 :
1051 : In the end, we try to solve the overloading between strings and
1052 : numerical types in the more natural way, but if you can avoid it,
1053 : well, avoid it using %rename, for example.
1054 : */
1055 : #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1056 : # ifndef SWIG_PERL_STRICT_STR2NUM
1057 : # define SWIG_PERL_STRICT_STR2NUM
1058 : # endif
1059 : #endif
1060 : #ifdef SWIG_PERL_STRICT_STR2NUM
1061 : /* string takes precedence */
1062 : #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1063 : #else
1064 : /* number takes precedence */
1065 : #define SWIG_Str2NumCast(x) x
1066 : #endif
1067 :
1068 :
1069 :
1070 : #include <stdlib.h>
1071 :
1072 : SWIGRUNTIME const char *
1073 : SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1074 1 : if (!type) return NULL;
1075 1 : if (type->clientdata != NULL) {
1076 : return (const char*) type->clientdata;
1077 : }
1078 : else {
1079 0 : return type->name;
1080 : }
1081 : }
1082 :
1083 : /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1084 : SWIGRUNTIME swig_cast_info *
1085 1 : SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1086 1 : if (ty) {
1087 1 : swig_cast_info *iter = ty->cast;
1088 1 : while (iter) {
1089 1 : if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
1090 1 : if (iter == ty->cast)
1091 : return iter;
1092 : /* Move iter to the top of the linked list */
1093 0 : iter->prev->next = iter->next;
1094 0 : if (iter->next)
1095 0 : iter->next->prev = iter->prev;
1096 0 : iter->next = ty->cast;
1097 0 : iter->prev = 0;
1098 0 : if (ty->cast) ty->cast->prev = iter;
1099 0 : ty->cast = iter;
1100 0 : return iter;
1101 : }
1102 0 : iter = iter->next;
1103 : }
1104 : }
1105 : return 0;
1106 : }
1107 :
1108 : /* Function for getting a pointer value */
1109 :
1110 : SWIGRUNTIME int
1111 1 : SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1112 : swig_cast_info *tc;
1113 : void *voidptr = (void *)0;
1114 : SV *tsv = 0;
1115 :
1116 1 : if (own)
1117 0 : *own = 0;
1118 :
1119 : /* If magical, apply more magic */
1120 1 : if (SvGMAGICAL(sv))
1121 0 : mg_get(sv);
1122 :
1123 : /* Check to see if this is an object */
1124 1 : if (sv_isobject(sv)) {
1125 : IV tmp = 0;
1126 1 : tsv = (SV*) SvRV(sv);
1127 1 : if ((SvTYPE(tsv) == SVt_PVHV)) {
1128 : MAGIC *mg;
1129 1 : if (SvMAGICAL(tsv)) {
1130 1 : mg = mg_find(tsv,'P');
1131 1 : if (mg) {
1132 1 : sv = mg->mg_obj;
1133 1 : if (sv_isobject(sv)) {
1134 1 : tsv = (SV*)SvRV(sv);
1135 1 : tmp = SvIV(tsv);
1136 : }
1137 : }
1138 : } else {
1139 : return SWIG_ERROR;
1140 : }
1141 : } else {
1142 1 : tmp = SvIV(tsv);
1143 : }
1144 1 : voidptr = INT2PTR(void *,tmp);
1145 1 : } else if (! SvOK(sv)) { /* Check for undef */
1146 1 : *(ptr) = (void *) 0;
1147 1 : return SWIG_OK;
1148 0 : } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
1149 0 : if (!SvROK(sv)) {
1150 : /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1151 0 : if (SvIOK(sv)) {
1152 : return SWIG_ERROR;
1153 : } else {
1154 : /* NULL pointer (reference to undef). */
1155 0 : *(ptr) = (void *) 0;
1156 0 : return SWIG_OK;
1157 : }
1158 : } else {
1159 : return SWIG_ERROR;
1160 : }
1161 : } else { /* Don't know what it is */
1162 : return SWIG_ERROR;
1163 : }
1164 1 : if (_t) {
1165 : /* Now see if the types match */
1166 1 : char *_c = HvNAME(SvSTASH(SvRV(sv)));
1167 1 : tc = SWIG_TypeProxyCheck(_c,_t);
1168 : #ifdef SWIG_DIRECTORS
1169 : if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1170 : #else
1171 1 : if (!tc) {
1172 : #endif
1173 : return SWIG_ERROR;
1174 : }
1175 : {
1176 1 : int newmemory = 0;
1177 1 : *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1178 1 : if (newmemory == SWIG_CAST_NEW_MEMORY) {
1179 : assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1180 0 : if (own)
1181 0 : *own = *own | SWIG_CAST_NEW_MEMORY;
1182 : }
1183 : }
1184 : } else {
1185 0 : *ptr = voidptr;
1186 : }
1187 :
1188 : /*
1189 : * DISOWN implementation: we need a perl guru to check this one.
1190 : */
1191 1 : if (tsv && (flags & SWIG_POINTER_DISOWN)) {
1192 : /*
1193 : * almost copy paste code from below SWIG_POINTER_OWN setting
1194 : */
1195 : SV *obj = sv;
1196 1 : HV *stash = SvSTASH(SvRV(obj));
1197 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1198 1 : if (isGV(gv)) {
1199 1 : HV *hv = GvHVn(gv);
1200 : /*
1201 : * To set ownership (see below), a newSViv(1) entry is added.
1202 : * Hence, to remove ownership, we delete the entry.
1203 : */
1204 1 : if (hv_exists_ent(hv, obj, 0)) {
1205 1 : hv_delete_ent(hv, obj, 0, 0);
1206 : }
1207 : }
1208 : }
1209 : return SWIG_OK;
1210 : }
1211 :
1212 : SWIGRUNTIME int
1213 : SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1214 1 : return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1215 : }
1216 :
1217 : SWIGRUNTIME void
1218 1 : SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1219 1 : if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
1220 : SV *self;
1221 1 : SV *obj=newSV(0);
1222 1 : HV *hash=newHV();
1223 : HV *stash;
1224 1 : sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1225 1 : stash=SvSTASH(SvRV(obj));
1226 1 : if (flags & SWIG_POINTER_OWN) {
1227 : HV *hv;
1228 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1229 1 : if (!isGV(gv))
1230 0 : gv_init(gv, stash, "OWNER", 5, FALSE);
1231 1 : hv=GvHVn(gv);
1232 1 : hv_store_ent(hv, obj, newSViv(1), 0);
1233 : }
1234 1 : sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1235 1 : SvREFCNT_dec(obj);
1236 1 : self=newRV_noinc((SV *)hash);
1237 1 : sv_setsv(sv, self);
1238 1 : SvREFCNT_dec((SV *)self);
1239 1 : sv_bless(sv, stash);
1240 : }
1241 : else {
1242 0 : sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1243 : }
1244 1 : }
1245 :
1246 : SWIGRUNTIMEINLINE SV *
1247 1 : SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1248 1 : SV *result = sv_newmortal();
1249 1 : SWIG_MakePtr(result, ptr, t, flags);
1250 1 : return result;
1251 : }
1252 :
1253 : SWIGRUNTIME void
1254 0 : SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1255 : char result[1024];
1256 : char *r = result;
1257 0 : if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
1258 0 : *(r++) = '_';
1259 0 : r = SWIG_PackData(r,ptr,sz);
1260 : strcpy(r,SWIG_Perl_TypeProxyName(type));
1261 0 : sv_setpv(sv, result);
1262 : }
1263 :
1264 : SWIGRUNTIME SV *
1265 : SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1266 : SV *result = sv_newmortal();
1267 : SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1268 : return result;
1269 : }
1270 :
1271 : /* Convert a packed value value */
1272 : SWIGRUNTIME int
1273 : SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1274 : swig_cast_info *tc;
1275 : const char *c = 0;
1276 :
1277 : if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
1278 : c = SvPV_nolen(obj);
1279 : /* Pointer values must start with leading underscore */
1280 : if (*c != '_') return SWIG_ERROR;
1281 : c++;
1282 : c = SWIG_UnpackData(c,ptr,sz);
1283 : if (ty) {
1284 : tc = SWIG_TypeCheck(c,ty);
1285 : if (!tc) return SWIG_ERROR;
1286 : }
1287 : return SWIG_OK;
1288 : }
1289 :
1290 :
1291 : /* Macros for low-level exception handling */
1292 : #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1293 :
1294 :
1295 : typedef XSPROTO(SwigPerlWrapper);
1296 : typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1297 :
1298 : /* Structure for command table */
1299 : typedef struct {
1300 : const char *name;
1301 : SwigPerlWrapperPtr wrapper;
1302 : } swig_command_info;
1303 :
1304 : /* Information for constant table */
1305 :
1306 : #define SWIG_INT 1
1307 : #define SWIG_FLOAT 2
1308 : #define SWIG_STRING 3
1309 : #define SWIG_POINTER 4
1310 : #define SWIG_BINARY 5
1311 :
1312 : /* Constant information structure */
1313 : typedef struct swig_constant_info {
1314 : int type;
1315 : const char *name;
1316 : long lvalue;
1317 : double dvalue;
1318 : void *pvalue;
1319 : swig_type_info **ptype;
1320 : } swig_constant_info;
1321 :
1322 :
1323 : /* Structure for variable table */
1324 : typedef struct {
1325 : const char *name;
1326 : SwigMagicFunc set;
1327 : SwigMagicFunc get;
1328 : swig_type_info **type;
1329 : } swig_variable_info;
1330 :
1331 : /* Magic variable code */
1332 : #ifndef PERL_OBJECT
1333 : # ifdef __cplusplus
1334 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1335 : # else
1336 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1337 : # endif
1338 : # ifndef MULTIPLICITY
1339 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1340 : # else
1341 0 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1342 : # endif
1343 : #else
1344 : # define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
1345 : SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
1346 : #endif
1347 : {
1348 : MAGIC *mg;
1349 0 : sv_magic(sv,sv,'U',name,strlen(name));
1350 0 : mg = mg_find(sv,'U');
1351 0 : mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1352 0 : mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1353 0 : mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1354 0 : mg->mg_virtual->svt_len = 0;
1355 0 : mg->mg_virtual->svt_clear = 0;
1356 0 : mg->mg_virtual->svt_free = 0;
1357 0 : }
1358 :
1359 :
1360 : SWIGRUNTIME swig_module_info *
1361 1 : SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1362 : static void *type_pointer = (void *)0;
1363 : SV *pointer;
1364 :
1365 : /* first check if pointer already created */
1366 1 : if (!type_pointer) {
1367 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1368 1 : if (pointer && SvOK(pointer)) {
1369 0 : type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1370 : }
1371 : }
1372 :
1373 1 : return (swig_module_info *) type_pointer;
1374 : }
1375 :
1376 : SWIGRUNTIME void
1377 1 : SWIG_Perl_SetModule(swig_module_info *module) {
1378 : SV *pointer;
1379 :
1380 : /* create a new pointer */
1381 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1382 1 : sv_setiv(pointer, PTR2IV(module));
1383 1 : }
1384 :
1385 : #ifdef __cplusplus
1386 : }
1387 : #endif
1388 :
1389 : /* Workaround perl5 global namespace pollution. Note that undefining library
1390 : * functions like fopen will not solve the problem on all platforms as fopen
1391 : * might be a macro on Windows but not necessarily on other operating systems. */
1392 : #ifdef do_open
1393 : #undef do_open
1394 : #endif
1395 : #ifdef do_close
1396 : #undef do_close
1397 : #endif
1398 : #ifdef do_exec
1399 : #undef do_exec
1400 : #endif
1401 : #ifdef scalar
1402 : #undef scalar
1403 : #endif
1404 : #ifdef list
1405 : #undef list
1406 : #endif
1407 : #ifdef apply
1408 : #undef apply
1409 : #endif
1410 : #ifdef convert
1411 : #undef convert
1412 : #endif
1413 : #ifdef Error
1414 : #undef Error
1415 : #endif
1416 : #ifdef form
1417 : #undef form
1418 : #endif
1419 : #ifdef vform
1420 : #undef vform
1421 : #endif
1422 : #ifdef LABEL
1423 : #undef LABEL
1424 : #endif
1425 : #ifdef METHOD
1426 : #undef METHOD
1427 : #endif
1428 : #ifdef Move
1429 : #undef Move
1430 : #endif
1431 : #ifdef yylex
1432 : #undef yylex
1433 : #endif
1434 : #ifdef yyparse
1435 : #undef yyparse
1436 : #endif
1437 : #ifdef yyerror
1438 : #undef yyerror
1439 : #endif
1440 : #ifdef invert
1441 : #undef invert
1442 : #endif
1443 : #ifdef ref
1444 : #undef ref
1445 : #endif
1446 : #ifdef read
1447 : #undef read
1448 : #endif
1449 : #ifdef write
1450 : #undef write
1451 : #endif
1452 : #ifdef eof
1453 : #undef eof
1454 : #endif
1455 : #ifdef close
1456 : #undef close
1457 : #endif
1458 : #ifdef rewind
1459 : #undef rewind
1460 : #endif
1461 : #ifdef free
1462 : #undef free
1463 : #endif
1464 : #ifdef malloc
1465 : #undef malloc
1466 : #endif
1467 : #ifdef calloc
1468 : #undef calloc
1469 : #endif
1470 : #ifdef Stat
1471 : #undef Stat
1472 : #endif
1473 : #ifdef check
1474 : #undef check
1475 : #endif
1476 : #ifdef seekdir
1477 : #undef seekdir
1478 : #endif
1479 : #ifdef open
1480 : #undef open
1481 : #endif
1482 : #ifdef readdir
1483 : #undef readdir
1484 : #endif
1485 : #ifdef bind
1486 : #undef bind
1487 : #endif
1488 : #ifdef access
1489 : #undef access
1490 : #endif
1491 : #ifdef stat
1492 : #undef stat
1493 : #endif
1494 : #ifdef seed
1495 : #undef seed
1496 : #endif
1497 :
1498 : #ifdef bool
1499 : /* Leave if macro is from C99 stdbool.h */
1500 : #ifndef __bool_true_false_are_defined
1501 : #undef bool
1502 : #endif
1503 : #endif
1504 :
1505 :
1506 :
1507 :
1508 : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1509 :
1510 : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1511 :
1512 :
1513 :
1514 : #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
1515 :
1516 :
1517 : /* -------- TYPES TABLE (BEGIN) -------- */
1518 :
1519 : #define SWIGTYPE_p_CompositingOperation swig_types[0]
1520 : #define SWIGTYPE_p_DBFFieldType swig_types[1]
1521 : #define SWIGTYPE_p_DBFInfo swig_types[2]
1522 : #define SWIGTYPE_p_FILE swig_types[3]
1523 : #define SWIGTYPE_p__CompositingFilter swig_types[4]
1524 : #define SWIGTYPE_p__LayerCompositer swig_types[5]
1525 : #define SWIGTYPE_p_cgiRequestObj swig_types[6]
1526 : #define SWIGTYPE_p_char swig_types[7]
1527 : #define SWIGTYPE_p_classObj swig_types[8]
1528 : #define SWIGTYPE_p_clusterObj swig_types[9]
1529 : #define SWIGTYPE_p_colorObj swig_types[10]
1530 : #define SWIGTYPE_p_debugLevel swig_types[11]
1531 : #define SWIGTYPE_p_double swig_types[12]
1532 : #define SWIGTYPE_p_errorObj swig_types[13]
1533 : #define SWIGTYPE_p_expressionObj swig_types[14]
1534 : #define SWIGTYPE_p_fontSetObj swig_types[15]
1535 : #define SWIGTYPE_p_hashTableObj swig_types[16]
1536 : #define SWIGTYPE_p_imageObj swig_types[17]
1537 : #define SWIGTYPE_p_int swig_types[18]
1538 : #define SWIGTYPE_p_int32_t swig_types[19]
1539 : #define SWIGTYPE_p_intarray swig_types[20]
1540 : #define SWIGTYPE_p_labelCacheMemberObj swig_types[21]
1541 : #define SWIGTYPE_p_labelCacheObj swig_types[22]
1542 : #define SWIGTYPE_p_labelCacheSlotObj swig_types[23]
1543 : #define SWIGTYPE_p_labelLeaderObj swig_types[24]
1544 : #define SWIGTYPE_p_labelObj swig_types[25]
1545 : #define SWIGTYPE_p_layerObj swig_types[26]
1546 : #define SWIGTYPE_p_legendObj swig_types[27]
1547 : #define SWIGTYPE_p_lineObj swig_types[28]
1548 : #define SWIGTYPE_p_mapObj swig_types[29]
1549 : #define SWIGTYPE_p_markerCacheMemberObj swig_types[30]
1550 : #define SWIGTYPE_p_outputFormatObj swig_types[31]
1551 : #define SWIGTYPE_p_p_char swig_types[32]
1552 : #define SWIGTYPE_p_p_labelCacheMemberObj swig_types[33]
1553 : #define SWIGTYPE_p_p_textSymbolObj swig_types[34]
1554 : #define SWIGTYPE_p_pointObj swig_types[35]
1555 : #define SWIGTYPE_p_projectionContext swig_types[36]
1556 : #define SWIGTYPE_p_projectionObj swig_types[37]
1557 : #define SWIGTYPE_p_queryMapObj swig_types[38]
1558 : #define SWIGTYPE_p_rectObj swig_types[39]
1559 : #define SWIGTYPE_p_referenceMapObj swig_types[40]
1560 : #define SWIGTYPE_p_resultCacheObj swig_types[41]
1561 : #define SWIGTYPE_p_resultObj swig_types[42]
1562 : #define SWIGTYPE_p_scaleTokenEntryObj swig_types[43]
1563 : #define SWIGTYPE_p_scaleTokenObj swig_types[44]
1564 : #define SWIGTYPE_p_scalebarObj swig_types[45]
1565 : #define SWIGTYPE_p_shapeObj swig_types[46]
1566 : #define SWIGTYPE_p_shapefileObj swig_types[47]
1567 : #define SWIGTYPE_p_styleObj swig_types[48]
1568 : #define SWIGTYPE_p_symbolObj swig_types[49]
1569 : #define SWIGTYPE_p_symbolSetObj swig_types[50]
1570 : #define SWIGTYPE_p_uint32_t swig_types[51]
1571 : #define SWIGTYPE_p_webObj swig_types[52]
1572 : static swig_type_info *swig_types[54];
1573 : static swig_module_info swig_module = {swig_types, 53, 0, 0, 0, 0};
1574 : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1575 : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1576 :
1577 : /* -------- TYPES TABLE (END) -------- */
1578 :
1579 : #define SWIG_init boot_mapscript
1580 :
1581 : #define SWIG_name "mapscriptc::boot_mapscript"
1582 : #define SWIG_prefix "mapscriptc::"
1583 :
1584 : #define SWIGVERSION 0x030012
1585 : #define SWIG_VERSION SWIGVERSION
1586 :
1587 :
1588 : #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1589 : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1590 :
1591 :
1592 : #ifdef __cplusplus
1593 : extern "C"
1594 : #endif
1595 : #ifndef PERL_OBJECT
1596 : #ifndef MULTIPLICITY
1597 : SWIGEXPORT void SWIG_init (CV* cv);
1598 : #else
1599 : SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1600 : #endif
1601 : #else
1602 : SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
1603 : #endif
1604 :
1605 :
1606 : #include "../../mapserver.h"
1607 : #include "../../maptemplate.h"
1608 : #include "../../mapogcsld.h"
1609 : #include "../../mapows.h"
1610 : #include "../../cgiutil.h"
1611 : #include "../../mapcopy.h"
1612 : #include "../../maperror.h"
1613 : #include "../../mapprimitive.h"
1614 : #include "../../mapshape.h"
1615 :
1616 : #if defined(WIN32) && defined(SWIGCSHARP)
1617 : /* <windows.h> is needed for GetExceptionCode() for unhandled exception */
1618 : #include <windows.h>
1619 : #endif
1620 :
1621 :
1622 :
1623 : typedef int intarray;
1624 :
1625 :
1626 : #include <limits.h>
1627 : #if !defined(SWIG_NO_LLONG_MAX)
1628 : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1629 : # define LLONG_MAX __LONG_LONG_MAX__
1630 : # define LLONG_MIN (-LLONG_MAX - 1LL)
1631 : # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1632 : # endif
1633 : #endif
1634 :
1635 :
1636 : #include <stdlib.h>
1637 : #ifdef _MSC_VER
1638 : # ifndef strtoull
1639 : # define strtoull _strtoui64
1640 : # endif
1641 : # ifndef strtoll
1642 : # define strtoll _strtoi64
1643 : # endif
1644 : #endif
1645 :
1646 :
1647 : SWIGINTERN int
1648 0 : SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1649 : {
1650 0 : if (SvNIOK(obj)) {
1651 0 : if (val) *val = SvNV(obj);
1652 : return SWIG_OK;
1653 0 : } else if (SvIOK(obj)) {
1654 0 : if (val) *val = (double) SvIV(obj);
1655 : return SWIG_AddCast(SWIG_OK);
1656 : } else {
1657 0 : const char *nptr = SvPV_nolen(obj);
1658 0 : if (nptr) {
1659 : char *endptr;
1660 : double v;
1661 0 : errno = 0;
1662 0 : v = strtod(nptr, &endptr);
1663 0 : if (errno == ERANGE) {
1664 0 : errno = 0;
1665 0 : return SWIG_OverflowError;
1666 : } else {
1667 0 : if (*endptr == '\0') {
1668 0 : if (val) *val = v;
1669 : return SWIG_Str2NumCast(SWIG_OK);
1670 : }
1671 : }
1672 : }
1673 : }
1674 : return SWIG_TypeError;
1675 : }
1676 :
1677 :
1678 : #include <float.h>
1679 :
1680 :
1681 : #include <math.h>
1682 :
1683 :
1684 : SWIGINTERNINLINE int
1685 0 : SWIG_CanCastAsInteger(double *d, double min, double max) {
1686 0 : double x = *d;
1687 0 : if ((min <= x && x <= max)) {
1688 0 : double fx = floor(x);
1689 0 : double cx = ceil(x);
1690 0 : double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
1691 0 : if ((errno == EDOM) || (errno == ERANGE)) {
1692 0 : errno = 0;
1693 : } else {
1694 : double summ, reps, diff;
1695 0 : if (rd < x) {
1696 0 : diff = x - rd;
1697 0 : } else if (rd > x) {
1698 0 : diff = rd - x;
1699 : } else {
1700 : return 1;
1701 : }
1702 0 : summ = rd + x;
1703 0 : reps = diff/summ;
1704 0 : if (reps < 8*DBL_EPSILON) {
1705 0 : *d = rd;
1706 0 : return 1;
1707 : }
1708 : }
1709 : }
1710 : return 0;
1711 : }
1712 :
1713 :
1714 : SWIGINTERN int
1715 0 : SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
1716 : {
1717 0 : if (SvUOK(obj)) {
1718 0 : UV v = SvUV(obj);
1719 : if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
1720 0 : if (val) *val = v;
1721 : return SWIG_OK;
1722 : }
1723 : return SWIG_OverflowError;
1724 0 : } else if (SvIOK(obj)) {
1725 0 : IV v = SvIV(obj);
1726 0 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
1727 0 : if (val) *val = v;
1728 : return SWIG_OK;
1729 : }
1730 : return SWIG_OverflowError;
1731 : } else {
1732 : int dispatch = 0;
1733 0 : const char *nptr = SvPV_nolen(obj);
1734 0 : if (nptr) {
1735 : char *endptr;
1736 : unsigned long v;
1737 0 : errno = 0;
1738 0 : v = strtoul(nptr, &endptr,0);
1739 0 : if (errno == ERANGE) {
1740 0 : errno = 0;
1741 0 : return SWIG_OverflowError;
1742 : } else {
1743 0 : if (*endptr == '\0') {
1744 0 : if (val) *val = v;
1745 : return SWIG_Str2NumCast(SWIG_OK);
1746 : }
1747 : }
1748 : }
1749 : if (!dispatch) {
1750 : double d;
1751 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1752 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
1753 0 : if (val) *val = (unsigned long)(d);
1754 0 : return res;
1755 : }
1756 : }
1757 : }
1758 0 : return SWIG_TypeError;
1759 : }
1760 :
1761 :
1762 : #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
1763 : # define SWIG_LONG_LONG_AVAILABLE
1764 : #endif
1765 :
1766 :
1767 : #ifdef SWIG_LONG_LONG_AVAILABLE
1768 : SWIGINTERN int
1769 : SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
1770 : {
1771 : if (SvUOK(obj)) {
1772 : /* pretty sure this should be conditional on
1773 : * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
1774 : if (val) *val = SvUV(obj);
1775 : return SWIG_OK;
1776 : } else if (SvIOK(obj)) {
1777 : IV v = SvIV(obj);
1778 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
1779 : if (val) *val = v;
1780 : return SWIG_OK;
1781 : } else {
1782 : return SWIG_OverflowError;
1783 : }
1784 : } else {
1785 : int dispatch = 0;
1786 : const char *nptr = SvPV_nolen(obj);
1787 : if (nptr) {
1788 : char *endptr;
1789 : unsigned long long v;
1790 : errno = 0;
1791 : v = strtoull(nptr, &endptr,0);
1792 : if (errno == ERANGE) {
1793 : errno = 0;
1794 : return SWIG_OverflowError;
1795 : } else {
1796 : if (*endptr == '\0') {
1797 : if (val) *val = v;
1798 : return SWIG_Str2NumCast(SWIG_OK);
1799 : }
1800 : }
1801 : }
1802 : if (!dispatch) {
1803 : const double mant_max = 1LL << DBL_MANT_DIG;
1804 : double d;
1805 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1806 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
1807 : if (val) *val = (unsigned long long)(d);
1808 : return res;
1809 : }
1810 : }
1811 : }
1812 : return SWIG_TypeError;
1813 : }
1814 : #endif
1815 :
1816 :
1817 : SWIGINTERNINLINE int
1818 : SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
1819 : {
1820 : int res = SWIG_TypeError;
1821 : #ifdef SWIG_LONG_LONG_AVAILABLE
1822 : if (sizeof(size_t) <= sizeof(unsigned long)) {
1823 : #endif
1824 : unsigned long v;
1825 0 : res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1826 0 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1827 : #ifdef SWIG_LONG_LONG_AVAILABLE
1828 : } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
1829 : unsigned long long v;
1830 : res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1831 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1832 : }
1833 : #endif
1834 : return res;
1835 : }
1836 :
1837 : SWIGINTERN intarray *new_intarray(size_t nelements){
1838 0 : return (int *)calloc(nelements, sizeof(int));
1839 : }
1840 : SWIGINTERN void delete_intarray(intarray *self){
1841 0 : free((char*)self);
1842 : }
1843 : SWIGINTERN int intarray_getitem(intarray *self,size_t index){
1844 0 : return self[index];
1845 : }
1846 :
1847 : SWIGINTERNINLINE SV *
1848 1 : SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1849 : {
1850 : SV *sv;
1851 : if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1852 1 : sv = newSViv(value);
1853 : else
1854 : sv = newSVpvf("%ld", value);
1855 1 : return sv_2mortal(sv);
1856 : }
1857 :
1858 :
1859 : SWIGINTERNINLINE SV *
1860 : SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1861 : {
1862 1 : return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1863 : }
1864 :
1865 :
1866 : SWIGINTERN int
1867 1 : SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1868 : {
1869 1 : if (SvUOK(obj)) {
1870 0 : UV v = SvUV(obj);
1871 0 : if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
1872 0 : if (val) *val = v;
1873 : return SWIG_OK;
1874 : }
1875 : return SWIG_OverflowError;
1876 1 : } else if (SvIOK(obj)) {
1877 1 : IV v = SvIV(obj);
1878 : if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1879 1 : if(val) *val = v;
1880 : return SWIG_OK;
1881 : }
1882 : return SWIG_OverflowError;
1883 : } else {
1884 : int dispatch = 0;
1885 1 : const char *nptr = SvPV_nolen(obj);
1886 1 : if (nptr) {
1887 : char *endptr;
1888 : long v;
1889 1 : errno = 0;
1890 1 : v = strtol(nptr, &endptr,0);
1891 1 : if (errno == ERANGE) {
1892 0 : errno = 0;
1893 1 : return SWIG_OverflowError;
1894 : } else {
1895 1 : if (*endptr == '\0') {
1896 1 : if (val) *val = v;
1897 : return SWIG_Str2NumCast(SWIG_OK);
1898 : }
1899 : }
1900 : }
1901 : if (!dispatch) {
1902 : double d;
1903 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1904 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
1905 0 : if (val) *val = (long)(d);
1906 0 : return res;
1907 : }
1908 : }
1909 : }
1910 0 : return SWIG_TypeError;
1911 : }
1912 :
1913 :
1914 : SWIGINTERN int
1915 : SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1916 : {
1917 : long v;
1918 1 : int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1919 1 : if (SWIG_IsOK(res)) {
1920 1 : if ((v < INT_MIN || v > INT_MAX)) {
1921 : return SWIG_OverflowError;
1922 : } else {
1923 1 : if (val) *val = (int)(v);
1924 : }
1925 : }
1926 : return res;
1927 : }
1928 :
1929 : SWIGINTERN void intarray_setitem(intarray *self,size_t index,int value){
1930 0 : self[index] = value;
1931 : }
1932 : SWIGINTERN int *intarray_cast(intarray *self){
1933 : return self;
1934 : }
1935 : SWIGINTERN intarray *intarray_frompointer(int *t){
1936 : return (intarray *)(t);
1937 : }
1938 :
1939 : #ifdef __cplusplus
1940 : extern "C" {
1941 : #endif
1942 :
1943 : typedef struct {
1944 : unsigned char *data;
1945 : int size;
1946 : int owns_data;
1947 : } gdBuffer;
1948 :
1949 : #ifdef __cplusplus
1950 : }
1951 : #endif
1952 :
1953 :
1954 : SWIGINTERN swig_type_info*
1955 0 : SWIG_pchar_descriptor(void)
1956 : {
1957 : static int init = 0;
1958 : static swig_type_info* info = 0;
1959 0 : if (!init) {
1960 0 : info = SWIG_TypeQuery("_p_char");
1961 0 : init = 1;
1962 : }
1963 0 : return info;
1964 : }
1965 :
1966 :
1967 : SWIGINTERN int
1968 1 : SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1969 : {
1970 1 : if (SvMAGICAL(obj)) {
1971 0 : SV *tmp = sv_newmortal();
1972 0 : SvSetSV(tmp, obj);
1973 : obj = tmp;
1974 : }
1975 1 : if (SvPOK(obj)) {
1976 1 : STRLEN len = 0;
1977 1 : char *cstr = SvPV(obj, len);
1978 1 : size_t size = len + 1;
1979 1 : if (cptr) {
1980 1 : if (alloc) {
1981 1 : if (*alloc == SWIG_NEWOBJ) {
1982 0 : *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1983 : } else {
1984 1 : *cptr = cstr;
1985 1 : *alloc = SWIG_OLDOBJ;
1986 : }
1987 : }
1988 : }
1989 1 : if (psize) *psize = size;
1990 : return SWIG_OK;
1991 : } else {
1992 0 : swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1993 0 : if (pchar_descriptor) {
1994 0 : char* vptr = 0;
1995 0 : if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
1996 0 : if (cptr) *cptr = vptr;
1997 0 : if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1998 0 : if (alloc) *alloc = SWIG_OLDOBJ;
1999 0 : return SWIG_OK;
2000 : }
2001 : }
2002 : }
2003 : return SWIG_TypeError;
2004 : }
2005 :
2006 :
2007 :
2008 :
2009 :
2010 : SWIGINTERNINLINE SV *
2011 1 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2012 : {
2013 1 : SV *obj = sv_newmortal();
2014 1 : if (carray) {
2015 1 : sv_setpvn(obj, carray, size);
2016 : } else {
2017 0 : sv_setsv(obj, &PL_sv_undef);
2018 : }
2019 1 : return obj;
2020 : }
2021 :
2022 :
2023 : SWIGINTERNINLINE SV *
2024 1 : SWIG_FromCharPtr(const char *cptr)
2025 : {
2026 1 : return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2027 : }
2028 :
2029 :
2030 : SWIGINTERNINLINE SV *
2031 1 : SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
2032 : {
2033 1 : return sv_2mortal(newSVnv(value));
2034 : }
2035 :
2036 : SWIGINTERN int clusterObj_updateFromString(clusterObj *self,char *snippet){
2037 0 : return msUpdateClusterFromString(self, snippet);
2038 : }
2039 : SWIGINTERN char *clusterObj_convertToString(clusterObj *self){
2040 0 : return msWriteClusterToString(self);
2041 : }
2042 0 : SWIGINTERN int clusterObj_setGroup(clusterObj *self,char *group){
2043 0 : if (!group || strlen(group) == 0) {
2044 0 : msFreeExpression(&self->group);
2045 0 : return MS_SUCCESS;
2046 : }
2047 0 : else return msLoadExpressionString(&self->group, group);
2048 : }
2049 : SWIGINTERN char *clusterObj_getGroupString(clusterObj *self){
2050 0 : return msGetExpressionString(&(self->group));
2051 : }
2052 0 : SWIGINTERN int clusterObj_setFilter(clusterObj *self,char *filter){
2053 0 : if (!filter || strlen(filter) == 0) {
2054 0 : msFreeExpression(&self->filter);
2055 0 : return MS_SUCCESS;
2056 : }
2057 0 : else return msLoadExpressionString(&self->filter, filter);
2058 : }
2059 : SWIGINTERN char *clusterObj_getFilterString(clusterObj *self){
2060 0 : return msGetExpressionString(&(self->filter));
2061 : }
2062 0 : SWIGINTERN outputFormatObj *new_outputFormatObj(char const *driver,char *name){
2063 : outputFormatObj *format;
2064 :
2065 0 : format = msCreateDefaultOutputFormat(NULL, driver, name);
2066 :
2067 : /* in the case of unsupported formats, msCreateDefaultOutputFormat
2068 : should return NULL */
2069 0 : if (!format)
2070 : {
2071 0 : msSetError(12, "Unsupported format driver: %s",
2072 : "outputFormatObj()", driver);
2073 0 : return NULL;
2074 : }
2075 :
2076 0 : msInitializeRendererVTable(format);
2077 :
2078 0 : MS_REFCNT_INIT(format);
2079 0 : format->inmapfile = 1;
2080 :
2081 0 : return format;
2082 : }
2083 : SWIGINTERN void delete_outputFormatObj(outputFormatObj *self){
2084 0 : msFreeOutputFormat( self );
2085 : }
2086 : SWIGINTERN void outputFormatObj_setExtension(outputFormatObj *self,char const *extension){
2087 0 : msFree( self->extension );
2088 0 : self->extension = msStrdup(extension);
2089 : }
2090 : SWIGINTERN void outputFormatObj_setMimetype(outputFormatObj *self,char const *mimetype){
2091 0 : msFree( self->mimetype );
2092 0 : self->mimetype = msStrdup(mimetype);
2093 : }
2094 : SWIGINTERN void outputFormatObj_setOption(outputFormatObj *self,char const *key,char const *value){
2095 0 : msSetOutputFormatOption( self, key, value );
2096 : }
2097 : SWIGINTERN int outputFormatObj_validate(outputFormatObj *self){
2098 0 : return msOutputFormatValidate(self, 0 );
2099 : }
2100 : SWIGINTERN char *outputFormatObj_getOption(outputFormatObj *self,char const *key,char const *value){
2101 0 : return msStrdup(msGetOutputFormatOption(self, key, value));
2102 : }
2103 : SWIGINTERN char *outputFormatObj_getOptionAt(outputFormatObj *self,int i){
2104 0 : if( i >= 0 && i < self->numformatoptions ) {
2105 0 : return msStrdup(self->formatoptions[i]);
2106 : }
2107 : return NULL;
2108 : }
2109 : SWIGINTERN void outputFormatObj_attachDevice(outputFormatObj *self,void *device){
2110 0 : self->device = device;
2111 : }
2112 : SWIGINTERN int queryMapObj_updateFromString(queryMapObj *self,char *snippet){
2113 0 : return msUpdateQueryMapFromString(self, snippet, 0);
2114 : }
2115 : SWIGINTERN char *queryMapObj_convertToString(queryMapObj *self){
2116 0 : return msWriteQueryMapToString(self);
2117 : }
2118 : SWIGINTERN webObj *new_webObj(void){
2119 : webObj *web;
2120 0 : web = (webObj *) malloc(sizeof(webObj));
2121 0 : initWeb(web);
2122 : return web;
2123 : }
2124 : SWIGINTERN void delete_webObj(webObj *self){
2125 0 : if (!self) return;
2126 0 : freeWeb(self);
2127 0 : free(self);
2128 : }
2129 : SWIGINTERN int webObj_updateFromString(webObj *self,char *snippet){
2130 0 : return msUpdateWebFromString(self, snippet, 0);
2131 : }
2132 : SWIGINTERN char *webObj_convertToString(webObj *self){
2133 0 : return msWriteWebToString(self);
2134 : }
2135 0 : SWIGINTERN struct styleObj *new_styleObj(classObj *parent_class){
2136 :
2137 : styleObj *style = NULL;
2138 :
2139 0 : if (parent_class!=NULL) {
2140 0 : if ((style = msGrowClassStyles(parent_class)) == NULL)
2141 : return NULL;
2142 :
2143 0 : if ( initStyle(style) == MS_FAILURE ) {
2144 0 : msSetError(12, "Failed to init new styleObj instance",
2145 : "initStyle()");
2146 : }
2147 0 : parent_class->numstyles++;
2148 0 : MS_REFCNT_INCR(style);
2149 : }
2150 : else {
2151 0 : style = (styleObj *) malloc(sizeof(styleObj));
2152 0 : if (!style) {
2153 0 : msSetError(2, "Failed to allocate memory for new styleObj instance",
2154 : "styleObj()");
2155 0 : return NULL;
2156 : }
2157 0 : if ( initStyle(style) == MS_FAILURE ) {
2158 0 : msSetError(12, "Failed to init new styleObj instance",
2159 : "initStyle()");
2160 0 : msFree(style);
2161 0 : return NULL;
2162 : }
2163 : }
2164 : return style;
2165 : }
2166 0 : SWIGINTERN void delete_styleObj(struct styleObj *self){
2167 0 : if (self) {
2168 0 : if ( freeStyle(self) == MS_SUCCESS ) {
2169 0 : free(self);
2170 : self=NULL;
2171 : }
2172 : }
2173 0 : }
2174 : SWIGINTERN int styleObj_updateFromString(struct styleObj *self,char *snippet){
2175 0 : return msUpdateStyleFromString(self, snippet, 0);
2176 : }
2177 : SWIGINTERN char *styleObj_convertToString(struct styleObj *self){
2178 0 : return msWriteStyleToString(self);
2179 : }
2180 0 : SWIGINTERN styleObj *styleObj_clone(struct styleObj *self){
2181 : styleObj *style;
2182 :
2183 0 : style = (styleObj *) malloc(sizeof(styleObj));
2184 0 : if (!style)
2185 : {
2186 0 : msSetError(2,
2187 : "Could not allocate memory for new styleObj instance",
2188 : "clone()");
2189 0 : return NULL;
2190 : }
2191 0 : if (initStyle(style) == -1)
2192 : {
2193 0 : msSetError(2, "Failed to initialize Style",
2194 : "clone()");
2195 0 : return NULL;
2196 : }
2197 :
2198 0 : if (msCopyStyle(style, self) != MS_SUCCESS)
2199 : {
2200 0 : free(style);
2201 0 : return NULL;
2202 : }
2203 :
2204 : return style;
2205 : }
2206 0 : SWIGINTERN int styleObj_setSymbolByName(struct styleObj *self,mapObj *map,char *symbolname){
2207 0 : self->symbol = msGetSymbolIndex(&map->symbolset, symbolname, 1);
2208 0 : if (self->symbolname) free((char*)self->symbolname);
2209 0 : if (symbolname) self->symbolname = msStrdup(symbolname);
2210 0 : else self->symbolname = 0;
2211 0 : return self->symbol;
2212 : }
2213 : SWIGINTERN int styleObj_removeBinding(struct styleObj *self,int binding){
2214 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2215 :
2216 0 : if(self->bindings[binding].item) {
2217 0 : free(self->bindings[binding].item);
2218 0 : self->bindings[binding].item = NULL;
2219 0 : self->bindings[binding].index = -1;
2220 0 : self->numbindings--;
2221 : }
2222 :
2223 : return MS_SUCCESS;
2224 : }
2225 0 : SWIGINTERN int styleObj_setBinding(struct styleObj *self,int binding,char *item){
2226 0 : if(!item) return MS_FAILURE;
2227 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2228 :
2229 0 : if(self->bindings[binding].item) {
2230 0 : free(self->bindings[binding].item);
2231 0 : self->bindings[binding].item = NULL;
2232 0 : self->bindings[binding].index = -1;
2233 0 : self->numbindings--;
2234 : }
2235 :
2236 0 : self->bindings[binding].item = msStrdup(item);
2237 0 : self->numbindings++;
2238 :
2239 0 : return MS_SUCCESS;
2240 : }
2241 : SWIGINTERN char *styleObj_getBinding(struct styleObj *self,int binding){
2242 0 : if(binding < 0 || binding >= 12) return NULL;
2243 :
2244 0 : return self->bindings[binding].item;
2245 : }
2246 : SWIGINTERN char *styleObj_getGeomTransform(struct styleObj *self){
2247 : return self->_geomtransform.string;
2248 : }
2249 : SWIGINTERN void styleObj_setGeomTransform(struct styleObj *self,char *transform){
2250 0 : msStyleSetGeomTransform(self, transform);
2251 : }
2252 :
2253 : SWIGINTERN int
2254 0 : SWIG_AsCharArray(SV * obj, char *val, size_t size)
2255 : {
2256 0 : char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2257 0 : int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2258 0 : if (SWIG_IsOK(res)) {
2259 : /* special case of single char conversion when we don't need space for NUL */
2260 0 : if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
2261 0 : if (csize <= size) {
2262 0 : if (val) {
2263 0 : if (csize) memcpy(val, cptr, csize*sizeof(char));
2264 0 : if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2265 : }
2266 0 : if (alloc == SWIG_NEWOBJ) {
2267 0 : free((char*)cptr);
2268 0 : res = SWIG_DelNewMask(res);
2269 : }
2270 : return res;
2271 : }
2272 0 : if (alloc == SWIG_NEWOBJ) free((char*)cptr);
2273 : }
2274 : return SWIG_TypeError;
2275 : }
2276 :
2277 :
2278 : SWIGINTERN int
2279 0 : SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
2280 : {
2281 0 : int res = SWIG_AsCharArray(obj, val, 1);
2282 0 : if (!SWIG_IsOK(res)) {
2283 : long v;
2284 0 : res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
2285 0 : if (SWIG_IsOK(res)) {
2286 0 : if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2287 0 : if (val) *val = (char)(v);
2288 : } else {
2289 : res = SWIG_OverflowError;
2290 : }
2291 : }
2292 : }
2293 0 : return res;
2294 : }
2295 :
2296 :
2297 : SWIGINTERNINLINE SV *
2298 : SWIG_From_char SWIG_PERL_DECL_ARGS_1(char c)
2299 : {
2300 0 : return SWIG_FromCharPtrAndSize(&c,1);
2301 : }
2302 :
2303 0 : SWIGINTERN struct labelObj *new_labelObj(void){
2304 : labelObj *label;
2305 :
2306 0 : label = (labelObj *)calloc(1, sizeof(labelObj));
2307 0 : if (!label)
2308 : return(NULL);
2309 :
2310 0 : initLabel(label);
2311 :
2312 0 : return(label);
2313 : }
2314 : SWIGINTERN void delete_labelObj(struct labelObj *self){
2315 0 : freeLabel(self);
2316 : }
2317 : SWIGINTERN int labelObj_updateFromString(struct labelObj *self,char *snippet){
2318 0 : return msUpdateLabelFromString(self, snippet,0);
2319 : }
2320 : SWIGINTERN char *labelObj_convertToString(struct labelObj *self){
2321 0 : return msWriteLabelToString(self);
2322 : }
2323 : SWIGINTERN int labelObj_removeBinding(struct labelObj *self,int binding){
2324 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2325 :
2326 0 : if(self->bindings[binding].item) {
2327 0 : free(self->bindings[binding].item);
2328 0 : self->bindings[binding].item = NULL;
2329 0 : self->bindings[binding].index = -1;
2330 0 : self->numbindings--;
2331 : }
2332 :
2333 : return MS_SUCCESS;
2334 : }
2335 : SWIGINTERN char *labelObj_getBinding(struct labelObj *self,int binding){
2336 0 : if(binding < 0 || binding >= 12) return NULL;
2337 :
2338 0 : return self->bindings[binding].item;
2339 : }
2340 0 : SWIGINTERN int labelObj_setBinding(struct labelObj *self,int binding,char *item){
2341 0 : if(!item) return MS_FAILURE;
2342 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2343 :
2344 0 : if(self->bindings[binding].item) {
2345 0 : free(self->bindings[binding].item);
2346 0 : self->bindings[binding].item = NULL;
2347 0 : self->bindings[binding].index = -1;
2348 0 : self->numbindings--;
2349 : }
2350 :
2351 0 : self->bindings[binding].item = msStrdup(item);
2352 0 : self->numbindings++;
2353 :
2354 0 : return MS_SUCCESS;
2355 : }
2356 0 : SWIGINTERN int labelObj_setExpression(struct labelObj *self,char *expression){
2357 0 : if (!expression || strlen(expression) == 0) {
2358 0 : msFreeExpression(&self->expression);
2359 0 : return MS_SUCCESS;
2360 : }
2361 0 : else return msLoadExpressionString(&self->expression, expression);
2362 : }
2363 : SWIGINTERN char *labelObj_getExpressionString(struct labelObj *self){
2364 0 : return msGetExpressionString(&(self->expression));
2365 : }
2366 0 : SWIGINTERN int labelObj_setText(struct labelObj *self,char *text){
2367 0 : if (!text || strlen(text) == 0) {
2368 0 : msFreeExpression(&self->text);
2369 0 : return MS_SUCCESS;
2370 : }
2371 0 : else return msLoadExpressionString(&self->text, text);
2372 : }
2373 : SWIGINTERN char *labelObj_getTextString(struct labelObj *self){
2374 0 : return msGetExpressionString(&(self->text));
2375 : }
2376 0 : SWIGINTERN styleObj *labelObj_getStyle(struct labelObj *self,int i){
2377 0 : if (i >= 0 && i < self->numstyles) {
2378 0 : MS_REFCNT_INCR(self->styles[i]);
2379 0 : return self->styles[i];
2380 : } else {
2381 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2382 : return NULL;
2383 : }
2384 : }
2385 : SWIGINTERN int labelObj_insertStyle(struct labelObj *self,styleObj *style,int index){
2386 0 : return msInsertLabelStyle(self, style, index);
2387 : }
2388 0 : SWIGINTERN styleObj *labelObj_removeStyle(struct labelObj *self,int index){
2389 0 : styleObj* style = (styleObj *) msRemoveLabelStyle(self, index);
2390 0 : if (style)
2391 0 : MS_REFCNT_INCR(style);
2392 0 : return style;
2393 : }
2394 : SWIGINTERN int labelObj_moveStyleUp(struct labelObj *self,int index){
2395 0 : return msMoveLabelStyleUp(self, index);
2396 : }
2397 : SWIGINTERN int labelObj_moveStyleDown(struct labelObj *self,int index){
2398 0 : return msMoveLabelStyleDown(self, index);
2399 : }
2400 1 : SWIGINTERN struct classObj *new_classObj(layerObj *layer){
2401 : classObj *new_class=NULL;
2402 :
2403 1 : if (!layer)
2404 : {
2405 1 : new_class = (classObj *) malloc(sizeof(classObj));
2406 1 : if (!new_class)
2407 : {
2408 0 : msSetError(2,
2409 : "Could not allocate memory for new classObj instance",
2410 : "classObj()");
2411 0 : return NULL;
2412 : }
2413 1 : if (initClass(new_class) == -1) return NULL;
2414 1 : new_class->layer = NULL;
2415 1 : return new_class;
2416 : }
2417 : else
2418 : {
2419 1 : if(msGrowLayerClasses(layer) == NULL)
2420 : return NULL;
2421 1 : if (initClass(layer->class[layer->numclasses]) == -1)
2422 : return NULL;
2423 1 : layer->class[layer->numclasses]->layer = layer;
2424 1 : MS_REFCNT_INCR(layer->class[layer->numclasses]);
2425 1 : layer->numclasses++;
2426 1 : return (layer->class[layer->numclasses-1]);
2427 : }
2428 :
2429 : return NULL;
2430 : }
2431 1 : SWIGINTERN void delete_classObj(struct classObj *self){
2432 1 : if (self)
2433 : {
2434 1 : if (freeClass(self)==MS_SUCCESS) {
2435 0 : free(self);
2436 : self=NULL;
2437 : }
2438 : }
2439 1 : }
2440 : SWIGINTERN int classObj_updateFromString(struct classObj *self,char *snippet){
2441 0 : return msUpdateClassFromString(self, snippet, 0);
2442 : }
2443 : SWIGINTERN char *classObj_convertToString(struct classObj *self){
2444 0 : return msWriteClassToString(self);
2445 : }
2446 0 : SWIGINTERN classObj *classObj_clone(struct classObj *self){
2447 : classObj *new_class;
2448 :
2449 0 : new_class = (classObj *) malloc(sizeof(classObj));
2450 0 : if (!new_class)
2451 : {
2452 0 : msSetError(2,
2453 : "Could not allocate memory for new classObj instance",
2454 : "clone()");
2455 0 : return NULL;
2456 : }
2457 0 : if (initClass(new_class) == -1)
2458 : {
2459 0 : msSetError(2, "Failed to initialize Class",
2460 : "clone()");
2461 0 : return NULL;
2462 : }
2463 0 : new_class->layer = NULL;
2464 :
2465 0 : if (msCopyClass(new_class, self, self->layer) != MS_SUCCESS) {
2466 0 : freeClass(new_class);
2467 0 : free(new_class);
2468 : new_class = NULL;
2469 : }
2470 :
2471 : return new_class;
2472 : }
2473 0 : SWIGINTERN int classObj_setExpression(struct classObj *self,char *expression){
2474 0 : if (!expression || strlen(expression) == 0) {
2475 0 : msFreeExpression(&self->expression);
2476 0 : return MS_SUCCESS;
2477 : }
2478 0 : else return msLoadExpressionString(&self->expression, expression);
2479 : }
2480 : SWIGINTERN char *classObj_getExpressionString(struct classObj *self){
2481 0 : return msGetExpressionString(&(self->expression));
2482 : }
2483 0 : SWIGINTERN int classObj_setText(struct classObj *self,char *text){
2484 0 : if (!text || strlen(text) == 0) {
2485 0 : msFreeExpression(&self->text);
2486 0 : return MS_SUCCESS;
2487 : }
2488 0 : else return msLoadExpressionString(&self->text, text);
2489 : }
2490 : SWIGINTERN char *classObj_getTextString(struct classObj *self){
2491 0 : return msGetExpressionString(&(self->text));
2492 : }
2493 0 : SWIGINTERN char *classObj_getMetaData(struct classObj *self,char *name){
2494 : char *value = NULL;
2495 0 : if (!name) {
2496 0 : msSetError(16, "NULL key", "getMetaData");
2497 : }
2498 :
2499 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
2500 0 : if (!value) {
2501 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
2502 0 : return NULL;
2503 : }
2504 : return value;
2505 : }
2506 : SWIGINTERN int classObj_setMetaData(struct classObj *self,char *name,char *value){
2507 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
2508 : return MS_FAILURE;
2509 : return MS_SUCCESS;
2510 : }
2511 : SWIGINTERN char *classObj_getFirstMetaDataKey(struct classObj *self){
2512 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
2513 : }
2514 : SWIGINTERN char *classObj_getNextMetaDataKey(struct classObj *self,char *lastkey){
2515 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
2516 : }
2517 0 : SWIGINTERN int classObj_drawLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height,imageObj *dstImage,int dstX,int dstY){
2518 0 : if(layer->sizeunits != MS_PIXELS) {
2519 0 : map->cellsize = msAdjustExtent(&(map->extent), map->width, map->height);
2520 0 : layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)/msInchesPerUnit(map->units,0)) / map->cellsize;
2521 : }
2522 : else
2523 0 : layer->scalefactor = map->resolution/map->defresolution;
2524 :
2525 0 : return msDrawLegendIcon(map, layer, self, width, height, dstImage, dstX, dstY, 1, NULL);
2526 : }
2527 : SWIGINTERN imageObj *classObj_createLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height){
2528 0 : return msCreateLegendIcon(map, layer, self, width, height, 1);
2529 : }
2530 0 : SWIGINTERN labelObj *classObj_getLabel(struct classObj *self,int i){
2531 0 : if (i >= 0 && i < self->numlabels) {
2532 0 : MS_REFCNT_INCR(self->labels[i]);
2533 0 : return self->labels[i];
2534 : } else {
2535 0 : msSetError(31, "Invalid index: %d.", "getLabel()", i);
2536 : return NULL;
2537 : }
2538 : }
2539 : SWIGINTERN int classObj_addLabel(struct classObj *self,labelObj *label){
2540 0 : return msAddLabelToClass(self, label);
2541 : }
2542 0 : SWIGINTERN labelObj *classObj_removeLabel(struct classObj *self,int index){
2543 0 : labelObj* label = (labelObj *) msRemoveLabelFromClass(self, index);
2544 0 : if (label) MS_REFCNT_INCR(label);
2545 0 : return label;
2546 : }
2547 0 : SWIGINTERN styleObj *classObj_getStyle(struct classObj *self,int i){
2548 0 : if (i >= 0 && i < self->numstyles) {
2549 0 : MS_REFCNT_INCR(self->styles[i]);
2550 0 : return self->styles[i];
2551 : } else {
2552 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2553 : return NULL;
2554 : }
2555 : }
2556 : SWIGINTERN int classObj_insertStyle(struct classObj *self,styleObj *style,int index){
2557 0 : return msInsertStyle(self, style, index);
2558 : }
2559 0 : SWIGINTERN styleObj *classObj_removeStyle(struct classObj *self,int index){
2560 0 : styleObj* style = (styleObj *) msRemoveStyle(self, index);
2561 0 : if (style) MS_REFCNT_INCR(style);
2562 0 : return style;
2563 : }
2564 : SWIGINTERN int classObj_moveStyleUp(struct classObj *self,int index){
2565 0 : return msMoveStyleUp(self, index);
2566 : }
2567 : SWIGINTERN int classObj_moveStyleDown(struct classObj *self,int index){
2568 0 : return msMoveStyleDown(self, index);
2569 : }
2570 : SWIGINTERN void labelCacheObj_freeCache(labelCacheObj *self){
2571 0 : msFreeLabelCache(self);
2572 : }
2573 : SWIGINTERN resultObj *new_resultObj(long shapeindex){
2574 0 : resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj));
2575 :
2576 0 : result->tileindex = -1;
2577 0 : result->resultindex = -1;
2578 0 : result->shapeindex = shapeindex;
2579 :
2580 : return result;
2581 : }
2582 : SWIGINTERN void delete_resultObj(resultObj *self){
2583 0 : free(self);
2584 : }
2585 : SWIGINTERN resultObj *resultCacheObj_getResult(resultCacheObj *self,int i){
2586 0 : if (i >= 0 && i < self->numresults) {
2587 0 : return &self->results[i];
2588 : }
2589 : return NULL;
2590 : }
2591 0 : SWIGINTERN symbolSetObj *new_symbolSetObj(char const *symbolfile){
2592 : symbolSetObj *symbolset;
2593 : mapObj *temp_map=NULL;
2594 0 : symbolset = (symbolSetObj *) malloc(sizeof(symbolSetObj));
2595 0 : msInitSymbolSet(symbolset);
2596 0 : if (symbolfile) {
2597 0 : symbolset->filename = msStrdup(symbolfile);
2598 0 : temp_map = msNewMapObj();
2599 0 : msLoadSymbolSet(symbolset, temp_map);
2600 0 : symbolset->map = NULL;
2601 0 : msFreeMap(temp_map);
2602 : }
2603 0 : return symbolset;
2604 : }
2605 0 : SWIGINTERN void delete_symbolSetObj(symbolSetObj *self){
2606 0 : msFreeSymbolSet(self);
2607 0 : if (self->filename) free(self->filename);
2608 0 : free(self);
2609 0 : }
2610 : SWIGINTERN symbolObj *symbolSetObj_getSymbol(symbolSetObj *self,int i){
2611 0 : if (i >= 0 && i < self->numsymbols) {
2612 0 : symbolObj *s=self->symbol[i];
2613 0 : MS_REFCNT_INCR(s);
2614 : return s;
2615 : } else
2616 : return NULL;
2617 : }
2618 0 : SWIGINTERN symbolObj *symbolSetObj_getSymbolByName(symbolSetObj *self,char *symbolname){
2619 : int i;
2620 :
2621 0 : if (!symbolname) return NULL;
2622 :
2623 0 : i = msGetSymbolIndex(self, symbolname, 1);
2624 0 : if (i == -1)
2625 : return NULL;
2626 : else {
2627 0 : MS_REFCNT_INCR(self->symbol[i]);
2628 0 : return self->symbol[i];
2629 : }
2630 : }
2631 : SWIGINTERN int symbolSetObj_index(symbolSetObj *self,char *symbolname){
2632 0 : return msGetSymbolIndex(self, symbolname, 1);
2633 : }
2634 : SWIGINTERN int symbolSetObj_appendSymbol(symbolSetObj *self,symbolObj *symbol){
2635 0 : return msAppendSymbol(self, symbol);
2636 : }
2637 0 : SWIGINTERN symbolObj *symbolSetObj_removeSymbol(symbolSetObj *self,int index){
2638 0 : symbolObj *s=msRemoveSymbol(self, index);
2639 0 : if (s!=NULL) {
2640 0 : MS_REFCNT_INCR(s);
2641 : }
2642 0 : return s;
2643 : }
2644 : SWIGINTERN int symbolSetObj_save(symbolSetObj *self,char const *filename){
2645 0 : return msSaveSymbolSet(self, filename);
2646 : }
2647 : SWIGINTERN int referenceMapObj_updateFromString(referenceMapObj *self,char *snippet){
2648 0 : return msUpdateReferenceMapFromString(self, snippet, 0);
2649 : }
2650 : SWIGINTERN char *referenceMapObj_convertToString(referenceMapObj *self){
2651 0 : return msWriteReferenceMapToString(self);
2652 : }
2653 : SWIGINTERN int scalebarObj_updateFromString(scalebarObj *self,char *snippet){
2654 0 : return msUpdateScalebarFromString(self, snippet, 0);
2655 : }
2656 : SWIGINTERN char *scalebarObj_convertToString(scalebarObj *self){
2657 0 : return msWriteScalebarToString(self);
2658 : }
2659 : SWIGINTERN int legendObj_updateFromString(legendObj *self,char *snippet){
2660 0 : return msUpdateLegendFromString(self, snippet, 0);
2661 : }
2662 : SWIGINTERN char *legendObj_convertToString(legendObj *self){
2663 0 : return msWriteLegendToString(self);
2664 : }
2665 0 : SWIGINTERN struct imageObj *new_imageObj(int width,int height,outputFormatObj *input_format,char const *file,double resolution,double defresolution){
2666 : imageObj *image=NULL;
2667 : outputFormatObj *format;
2668 : rendererVTableObj *renderer = NULL;
2669 : rasterBufferObj *rb = NULL;
2670 :
2671 0 : if (input_format) {
2672 : format = input_format;
2673 : }
2674 : else {
2675 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
2676 0 : if (format)
2677 0 : msInitializeRendererVTable(format);
2678 : }
2679 0 : if (format == NULL) {
2680 0 : msSetError(15, "Could not create output format",
2681 : "imageObj()");
2682 0 : return NULL;
2683 : }
2684 :
2685 0 : if (file) {
2686 :
2687 0 : renderer = format->vtable;
2688 0 : rb = (rasterBufferObj*) malloc(sizeof(rasterBufferObj));
2689 0 : if (!rb) {
2690 0 : msSetError(2, NULL, "imageObj()");
2691 0 : return NULL;
2692 : }
2693 0 : if ( (renderer->loadImageFromFile((char *)file, rb)) == MS_FAILURE) {
2694 0 : msFreeRasterBuffer(rb);
2695 0 : free(rb);
2696 0 : return NULL;
2697 : }
2698 0 : image = msImageCreate(rb->width, rb->height, format, NULL, NULL,
2699 : resolution, defresolution, NULL);
2700 0 : if (! image) {
2701 0 : msFreeRasterBuffer(rb);
2702 0 : free(rb);
2703 0 : return NULL;
2704 : }
2705 :
2706 0 : if(renderer->mergeRasterBuffer(image, rb, 1.0, 0, 0, 0, 0, rb->width, rb->height) != MS_SUCCESS) {
2707 0 : msFreeImage(image);
2708 : image = NULL;
2709 : }
2710 :
2711 0 : msFreeRasterBuffer(rb);
2712 0 : free(rb);
2713 :
2714 0 : return image;
2715 : }
2716 :
2717 0 : image = msImageCreate(width, height, format, NULL, NULL, resolution, defresolution, NULL);
2718 0 : return image;
2719 : }
2720 : SWIGINTERN void delete_imageObj(struct imageObj *self){
2721 0 : msFreeImage(self);
2722 : }
2723 : SWIGINTERN void imageObj_save(struct imageObj *self,char *filename,mapObj *map){
2724 0 : msSaveImage(map, self, filename );
2725 : }
2726 0 : SWIGINTERN int imageObj_write(struct imageObj *self,FILE *file){
2727 : int retval=MS_FAILURE;
2728 : rendererVTableObj *renderer = NULL;
2729 :
2730 0 : if (MS_RENDERER_PLUGIN(self->format))
2731 : {
2732 0 : if (file)
2733 : {
2734 0 : renderer = self->format->vtable;
2735 : /* FIXME? as an improvement, pass a map argument instead of the NULL (see #4216) */
2736 0 : retval = renderer->saveImage(self, NULL, file, self->format);
2737 : }
2738 : else
2739 : {
2740 0 : retval = msSaveImage(NULL, self, NULL);
2741 : }
2742 : }
2743 : else
2744 : {
2745 0 : msSetError(15, "Writing of %s format not implemented",
2746 : "imageObj::write",
2747 : self->format->name);
2748 : }
2749 :
2750 0 : return retval;
2751 : }
2752 0 : SWIGINTERN gdBuffer imageObj_getBytes(struct imageObj *self){
2753 : gdBuffer buffer;
2754 :
2755 0 : buffer.owns_data = 1;
2756 :
2757 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2758 :
2759 0 : if( buffer.data == NULL || buffer.size == 0 )
2760 : {
2761 0 : buffer.data = NULL;
2762 0 : msSetError(12, "Failed to get image buffer", "getBytes");
2763 0 : return buffer;
2764 : }
2765 :
2766 0 : return buffer;
2767 : }
2768 0 : SWIGINTERN int imageObj_getSize(struct imageObj *self){
2769 : gdBuffer buffer;
2770 : int size=0;
2771 :
2772 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2773 0 : size = buffer.size;
2774 :
2775 0 : if( buffer.data == NULL || buffer.size == 0 ) {
2776 0 : buffer.data = NULL;
2777 0 : msSetError(12, "Failed to get image buffer size", "getSize");
2778 : }
2779 0 : free(buffer.data);
2780 0 : return size;
2781 : }
2782 1 : SWIGINTERN struct layerObj *new_layerObj(mapObj *map){
2783 : layerObj *layer;
2784 : int result;
2785 :
2786 1 : if (!map) {
2787 1 : layer = (layerObj *) malloc(sizeof(layerObj));
2788 1 : if (!layer) {
2789 0 : msSetError(2, "Failed to initialize Layer",
2790 : "layerObj()");
2791 0 : return NULL;
2792 : }
2793 1 : result = initLayer(layer, NULL);
2794 1 : if (result == MS_SUCCESS) {
2795 1 : layer->index = -1;
2796 1 : return layer;
2797 : }
2798 : else {
2799 0 : msSetError(2, "Failed to initialize Layer",
2800 : "layerObj()");
2801 0 : return NULL;
2802 : }
2803 : }
2804 : else {
2805 1 : if(msGrowMapLayers(map) == NULL)
2806 : return(NULL);
2807 :
2808 1 : if (initLayer((map->layers[map->numlayers]), map) == -1)
2809 : return(NULL);
2810 :
2811 1 : map->layers[map->numlayers]->index = map->numlayers;
2812 1 : map->layerorder[map->numlayers] = map->numlayers;
2813 1 : map->numlayers++;
2814 1 : MS_REFCNT_INCR(map->layers[map->numlayers-1]);
2815 :
2816 1 : return (map->layers[map->numlayers-1]);
2817 : }
2818 : }
2819 : SWIGINTERN void layerObj_setOpacity(struct layerObj *self,int opacity){
2820 0 : msSetLayerOpacity(self, opacity);
2821 : }
2822 : SWIGINTERN int layerObj_getOpacity(struct layerObj *self){
2823 0 : if(self->compositer) return (self->compositer->opacity);
2824 : return (100);
2825 : }
2826 1 : SWIGINTERN void delete_layerObj(struct layerObj *self){
2827 : /*if (!self->map) {*/
2828 1 : if (self) {
2829 1 : if(freeLayer(self)==MS_SUCCESS) {
2830 1 : free(self);
2831 : }
2832 : }
2833 1 : }
2834 0 : SWIGINTERN layerObj *layerObj_clone(struct layerObj *self){
2835 : layerObj *layer;
2836 : int result;
2837 :
2838 0 : layer = (layerObj *) malloc(sizeof(layerObj));
2839 0 : if (!layer) {
2840 0 : msSetError(2, "Failed to initialize Layer",
2841 : "layerObj()");
2842 0 : return NULL;
2843 : }
2844 0 : result = initLayer(layer, NULL);
2845 0 : if (result != MS_SUCCESS) {
2846 0 : msSetError(2, "Failed to initialize Layer",
2847 : "layerObj()");
2848 0 : return NULL;
2849 : }
2850 :
2851 0 : if (msCopyLayer(layer, self) != MS_SUCCESS) {
2852 0 : freeLayer(layer);
2853 0 : free(layer);
2854 : layer = NULL;
2855 : }
2856 0 : layer->map = NULL;
2857 0 : layer->index = -1;
2858 :
2859 0 : return layer;
2860 : }
2861 : SWIGINTERN int layerObj_updateFromString(struct layerObj *self,char *snippet){
2862 0 : return msUpdateLayerFromString(self, snippet, 0);
2863 : }
2864 : SWIGINTERN char *layerObj_convertToString(struct layerObj *self){
2865 0 : return msWriteLayerToString(self);
2866 : }
2867 : SWIGINTERN int layerObj_insertClass(struct layerObj *self,classObj *classobj,int index){
2868 1 : return msInsertClass(self, classobj, index);
2869 : }
2870 0 : SWIGINTERN classObj *layerObj_removeClass(struct layerObj *self,int index){
2871 0 : classObj* c = msRemoveClass(self, index);
2872 0 : if (c != NULL) {
2873 0 : MS_REFCNT_INCR(c);
2874 : }
2875 0 : return c;
2876 : }
2877 0 : SWIGINTERN int layerObj_open(struct layerObj *self){
2878 : int status;
2879 0 : status = msLayerOpen(self);
2880 0 : if (status == MS_SUCCESS) {
2881 0 : return msLayerGetItems(self);
2882 : }
2883 : return status;
2884 : }
2885 0 : SWIGINTERN int layerObj_whichShapes(struct layerObj *self,rectObj rect){
2886 0 : int oldconnectiontype = self->connectiontype;
2887 0 : self->connectiontype = MS_INLINE;
2888 :
2889 0 : if(msLayerWhichItems(self, 1, NULL) != MS_SUCCESS) {
2890 0 : self->connectiontype = oldconnectiontype;
2891 0 : return MS_FAILURE;
2892 : }
2893 0 : self->connectiontype = oldconnectiontype;
2894 :
2895 0 : return msLayerWhichShapes(self, rect, 0);
2896 : }
2897 0 : SWIGINTERN shapeObj *layerObj_nextShape(struct layerObj *self){
2898 : int status;
2899 : shapeObj *shape;
2900 :
2901 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2902 0 : if (!shape) return NULL;
2903 0 : msInitShape(shape);
2904 :
2905 0 : status = msLayerNextShape(self, shape);
2906 0 : if(status != MS_SUCCESS) {
2907 0 : msFreeShape(shape);
2908 0 : free(shape);
2909 0 : return NULL;
2910 : } else
2911 : return shape;
2912 : }
2913 : SWIGINTERN void layerObj_close(struct layerObj *self){
2914 0 : msLayerClose(self);
2915 : }
2916 0 : SWIGINTERN shapeObj *layerObj_getShape(struct layerObj *self,resultObj *record){
2917 : int retval;
2918 : shapeObj *shape;
2919 :
2920 0 : if (!record) return NULL;
2921 :
2922 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2923 0 : if (!shape) return NULL;
2924 :
2925 0 : msInitShape(shape);
2926 0 : shape->type = self->type; /* is this right? */
2927 :
2928 0 : retval = msLayerGetShape(self, shape, record);
2929 0 : if(retval != MS_SUCCESS) {
2930 0 : msFreeShape(shape);
2931 0 : free(shape);
2932 0 : return NULL;
2933 : } else
2934 : return shape;
2935 : }
2936 : SWIGINTERN int layerObj_getNumResults(struct layerObj *self){
2937 0 : if (!self->resultcache) return 0;
2938 0 : return self->resultcache->numresults;
2939 : }
2940 0 : SWIGINTERN rectObj *layerObj_getResultsBounds(struct layerObj *self){
2941 : rectObj *bounds;
2942 0 : if (!self->resultcache) return NULL;
2943 0 : bounds = (rectObj *) malloc(sizeof(rectObj));
2944 0 : MS_COPYRECT(bounds, &self->resultcache->bounds);
2945 : return bounds;
2946 : }
2947 : SWIGINTERN resultObj *layerObj_getResult(struct layerObj *self,int i){
2948 0 : if (!self->resultcache) return NULL;
2949 0 : if (i >= 0 && i < self->resultcache->numresults)
2950 0 : return &self->resultcache->results[i];
2951 : else
2952 : return NULL;
2953 : }
2954 : SWIGINTERN classObj *layerObj_getClass(struct layerObj *self,int i){
2955 : classObj *result=NULL;
2956 1 : if (i >= 0 && i < self->numclasses) {
2957 1 : result=self->class[i];
2958 1 : MS_REFCNT_INCR(result);
2959 : }
2960 : return result;
2961 : }
2962 : SWIGINTERN char *layerObj_getItem(struct layerObj *self,int i){
2963 :
2964 0 : if (i >= 0 && i < self->numitems)
2965 0 : return (char *) (self->items[i]);
2966 : else
2967 : return NULL;
2968 : }
2969 : SWIGINTERN int layerObj_setItems(struct layerObj *self,char **items,int numitems){
2970 0 : return msLayerSetItems(self, items, numitems);
2971 : }
2972 : SWIGINTERN int layerObj_draw(struct layerObj *self,mapObj *map,imageObj *image){
2973 0 : return msDrawLayer(map, self, image);
2974 : }
2975 : SWIGINTERN int layerObj_drawQuery(struct layerObj *self,mapObj *map,imageObj *image){
2976 0 : return msDrawQueryLayer(map, self, image);
2977 : }
2978 0 : SWIGINTERN int layerObj_queryByFilter(struct layerObj *self,mapObj *map,char *string){
2979 : int status;
2980 : int retval;
2981 :
2982 0 : msInitQuery(&(map->query));
2983 :
2984 0 : map->query.type = MS_QUERY_BY_FILTER;
2985 0 : map->query.mode = MS_QUERY_MULTIPLE;
2986 :
2987 0 : map->query.filter.string = msStrdup(string);
2988 0 : map->query.filter.type = MS_EXPRESSION;
2989 :
2990 0 : map->query.layer = self->index;
2991 0 : map->query.rect = map->extent;
2992 :
2993 0 : status = self->status;
2994 0 : self->status = 1;
2995 0 : retval = msQueryByFilter(map);
2996 0 : self->status = status;
2997 0 : return retval;
2998 : }
2999 0 : SWIGINTERN int layerObj_queryByAttributes(struct layerObj *self,mapObj *map,char *qitem,char *qstring,int mode){
3000 : int status;
3001 : int retval;
3002 :
3003 0 : msInitQuery(&(map->query));
3004 :
3005 0 : map->query.type = MS_QUERY_BY_FILTER;
3006 0 : map->query.mode = mode;
3007 :
3008 0 : if(qitem) map->query.filteritem = msStrdup(qitem);
3009 0 : if(qstring) {
3010 0 : msInitExpression(&map->query.filter);
3011 0 : msLoadExpressionString(&map->query.filter, qstring);
3012 : }
3013 :
3014 0 : map->query.layer = self->index;
3015 0 : map->query.rect = map->extent;
3016 :
3017 0 : status = self->status;
3018 0 : self->status = 1;
3019 0 : retval = msQueryByFilter(map);
3020 0 : self->status = status;
3021 :
3022 0 : return retval;
3023 : }
3024 : SWIGINTERN int layerObj_queryByPoint(struct layerObj *self,mapObj *map,pointObj *point,int mode,double buffer){
3025 : int status;
3026 : int retval;
3027 :
3028 0 : msInitQuery(&(map->query));
3029 :
3030 0 : map->query.type = MS_QUERY_BY_POINT;
3031 0 : map->query.mode = mode;
3032 0 : map->query.point = *point;
3033 0 : map->query.buffer = buffer;
3034 0 : map->query.layer = self->index;
3035 :
3036 0 : status = self->status;
3037 0 : self->status = 1;
3038 0 : retval = msQueryByPoint(map);
3039 0 : self->status = status;
3040 :
3041 : return retval;
3042 : }
3043 : SWIGINTERN int layerObj_queryByRect(struct layerObj *self,mapObj *map,rectObj rect){
3044 : int status;
3045 : int retval;
3046 :
3047 0 : msInitQuery(&(map->query));
3048 :
3049 0 : map->query.type = MS_QUERY_BY_RECT;
3050 0 : map->query.mode = MS_QUERY_MULTIPLE;
3051 0 : map->query.rect = rect;
3052 0 : map->query.layer = self->index;
3053 :
3054 0 : status = self->status;
3055 0 : self->status = 1;
3056 0 : retval = msQueryByRect(map);
3057 0 : self->status = status;
3058 :
3059 : return retval;
3060 : }
3061 : SWIGINTERN int layerObj_queryByFeatures(struct layerObj *self,mapObj *map,int slayer){
3062 : int status;
3063 : int retval;
3064 :
3065 0 : map->query.slayer = slayer;
3066 0 : map->query.layer = self->index;
3067 :
3068 0 : status = self->status;
3069 0 : self->status = 1;
3070 0 : retval = msQueryByFeatures(map);
3071 0 : self->status = status;
3072 : return retval;
3073 : }
3074 0 : SWIGINTERN int layerObj_queryByShape(struct layerObj *self,mapObj *map,shapeObj *shape){
3075 : int status;
3076 : int retval;
3077 :
3078 0 : msInitQuery(&(map->query));
3079 :
3080 0 : map->query.type = MS_QUERY_BY_SHAPE;
3081 0 : map->query.mode = MS_QUERY_MULTIPLE;
3082 0 : map->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3083 0 : msInitShape(map->query.shape);
3084 0 : msCopyShape(shape, map->query.shape);
3085 0 : map->query.layer = self->index;
3086 :
3087 0 : status = self->status;
3088 0 : self->status = 1;
3089 0 : retval = msQueryByShape(map);
3090 0 : self->status = status;
3091 0 : return retval;
3092 : }
3093 : SWIGINTERN int layerObj_queryByIndex(struct layerObj *self,mapObj *map,int tileindex,int shapeindex,int bAddToQuery){
3094 : int status;
3095 : int retval;
3096 :
3097 0 : msInitQuery(&(map->query));
3098 :
3099 0 : map->query.type = MS_QUERY_BY_INDEX;
3100 0 : map->query.mode = MS_QUERY_SINGLE;
3101 0 : map->query.tileindex = tileindex;
3102 0 : map->query.shapeindex = shapeindex;
3103 0 : map->query.clear_resultcache = !bAddToQuery;
3104 0 : map->query.layer = self->index;
3105 :
3106 0 : status = self->status;
3107 0 : self->status = 1;
3108 0 : retval = msQueryByIndex(map);
3109 0 : self->status = status;
3110 : return retval;
3111 : }
3112 : SWIGINTERN resultCacheObj *layerObj_getResults(struct layerObj *self){
3113 : return self->resultcache;
3114 : }
3115 0 : SWIGINTERN int layerObj_setFilter(struct layerObj *self,char *filter){
3116 0 : if (!filter || strlen(filter) == 0) {
3117 0 : msFreeExpression(&self->filter);
3118 0 : return MS_SUCCESS;
3119 : }
3120 0 : else return msLoadExpressionString(&self->filter, filter);
3121 : }
3122 : SWIGINTERN char *layerObj_getFilterString(struct layerObj *self){
3123 0 : return msGetExpressionString(&(self->filter));
3124 : }
3125 : SWIGINTERN int layerObj_setWKTProjection(struct layerObj *self,char *wkt){
3126 0 : self->project = 1;
3127 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3128 : }
3129 : SWIGINTERN char *layerObj_getProjection(struct layerObj *self){
3130 0 : return (char *) msGetProjectionString(&(self->projection));
3131 : }
3132 : SWIGINTERN int layerObj_setProjection(struct layerObj *self,char *proj4){
3133 0 : self->project = 1;
3134 0 : return msLoadProjectionString(&(self->projection), proj4);
3135 : }
3136 0 : SWIGINTERN int layerObj_addFeature(struct layerObj *self,shapeObj *shape){
3137 0 : self->connectiontype = MS_INLINE;
3138 0 : if(self->features != NULL && self->features->tailifhead != NULL)
3139 0 : shape->index = self->features->tailifhead->shape.index + 1;
3140 : else
3141 0 : shape->index = 0;
3142 0 : if (insertFeatureList(&(self->features), shape) == NULL)
3143 : return MS_FAILURE;
3144 0 : return MS_SUCCESS;
3145 : }
3146 : SWIGINTERN int layerObj_getNumFeatures(struct layerObj *self){
3147 0 : return msLayerGetNumFeatures(self);
3148 : }
3149 : SWIGINTERN rectObj *layerObj_getExtent(struct layerObj *self){
3150 : rectObj *extent;
3151 0 : extent = (rectObj *) malloc(sizeof(rectObj));
3152 0 : msLayerGetExtent(self, extent);
3153 : return extent;
3154 : }
3155 0 : SWIGINTERN int layerObj_setExtent(struct layerObj *self,double minx,double miny,double maxx,double maxy){
3156 0 : if (minx > maxx || miny > maxy) {
3157 0 : msSetError(34,
3158 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
3159 : "layerObj::setExtent()", minx, miny, maxx, maxy);
3160 0 : return MS_FAILURE;
3161 : }
3162 :
3163 0 : return msLayerSetExtent(self, minx, miny, maxx, maxy);
3164 : }
3165 0 : SWIGINTERN char *layerObj_getMetaData(struct layerObj *self,char *name){
3166 : char *value = NULL;
3167 0 : if (!name) {
3168 0 : msSetError(16, "NULL key", "getMetaData");
3169 : }
3170 :
3171 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
3172 : /*
3173 : Umberto, 05/17/2006
3174 : Exceptions should be reserved for situations when a serious error occurred
3175 : and normal program flow must be interrupted.
3176 : In this case returning null should be more that enough.
3177 : */
3178 :
3179 0 : if (!value) {
3180 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3181 0 : return NULL;
3182 : }
3183 :
3184 : return value;
3185 : }
3186 : SWIGINTERN int layerObj_setMetaData(struct layerObj *self,char *name,char *value){
3187 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
3188 : return MS_FAILURE;
3189 : return MS_SUCCESS;
3190 : }
3191 : SWIGINTERN int layerObj_removeMetaData(struct layerObj *self,char *name){
3192 0 : return(msRemoveHashTable(&(self->metadata), name));
3193 : }
3194 : SWIGINTERN char *layerObj_getFirstMetaDataKey(struct layerObj *self){
3195 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
3196 : }
3197 : SWIGINTERN char *layerObj_getNextMetaDataKey(struct layerObj *self,char *lastkey){
3198 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
3199 : }
3200 : SWIGINTERN char *layerObj_getWMSFeatureInfoURL(struct layerObj *self,mapObj *map,int click_x,int click_y,int feature_count,char *info_format){
3201 0 : return (char *) msWMSGetFeatureInfoURL(map, self, click_x, click_y,
3202 : feature_count, info_format);
3203 : }
3204 : SWIGINTERN char *layerObj_executeWFSGetFeature(struct layerObj *self,layerObj *layer){
3205 0 : return (char *) msWFSExecuteGetFeature(layer);
3206 : }
3207 : SWIGINTERN int layerObj_applySLD(struct layerObj *self,char *sld,char *stylelayer){
3208 0 : return msSLDApplySLD(self->map, sld, self->index, stylelayer, NULL);
3209 : }
3210 : SWIGINTERN int layerObj_applySLDURL(struct layerObj *self,char *sld,char *stylelayer){
3211 0 : return msSLDApplySLDURL(self->map, sld, self->index, stylelayer, NULL);
3212 : }
3213 : SWIGINTERN char *layerObj_generateSLD(struct layerObj *self){
3214 0 : return (char *) msSLDGenerateSLD(self->map, self->index, NULL);
3215 : }
3216 0 : SWIGINTERN int layerObj_isVisible(struct layerObj *self){
3217 0 : if (!self->map)
3218 : {
3219 0 : msSetError(12,
3220 : "visibility has no meaning outside of a map context",
3221 : "isVisible()");
3222 0 : return MS_FAILURE;
3223 : }
3224 0 : return msLayerIsVisible(self->map, self);
3225 : }
3226 : SWIGINTERN int layerObj_moveClassUp(struct layerObj *self,int index){
3227 0 : return msMoveClassUp(self, index);
3228 : }
3229 : SWIGINTERN int layerObj_moveClassDown(struct layerObj *self,int index){
3230 0 : return msMoveClassDown(self, index);
3231 : }
3232 : SWIGINTERN void layerObj_setProcessingKey(struct layerObj *self,char const *key,char const *value){
3233 0 : msLayerSetProcessingKey( self, key, value );
3234 : }
3235 : SWIGINTERN void layerObj_setProcessing(struct layerObj *self,char const *directive){
3236 0 : msLayerAddProcessing( self, directive );
3237 : }
3238 : SWIGINTERN void layerObj_addProcessing(struct layerObj *self,char const *directive){
3239 0 : msLayerAddProcessing( self, directive );
3240 : }
3241 : SWIGINTERN char *layerObj_getProcessing(struct layerObj *self,int index){
3242 0 : return (char *) msLayerGetProcessing(self, index);
3243 : }
3244 : SWIGINTERN char *layerObj_getProcessingKey(struct layerObj *self,char const *key){
3245 0 : return (char *) msLayerGetProcessingKey(self, key);
3246 : }
3247 : SWIGINTERN int layerObj_clearProcessing(struct layerObj *self){
3248 0 : return msLayerClearProcessing(self);
3249 : }
3250 0 : SWIGINTERN int layerObj_setConnectionType(struct layerObj *self,int connectiontype,char const *library_str){
3251 : /* Caller is responsible to close previous layer correctly before
3252 : * calling msConnectLayer()
3253 : */
3254 0 : if (msLayerIsOpen(self))
3255 0 : msLayerClose(self);
3256 0 : return msConnectLayer(self, connectiontype, library_str);
3257 : }
3258 : SWIGINTERN int layerObj_getClassIndex(struct layerObj *self,mapObj *map,shapeObj *shape,int *classgroup,int numclasses){
3259 0 : return msShapeGetClass(self, map, shape, classgroup, numclasses);
3260 : }
3261 : SWIGINTERN char *layerObj_getGeomTransform(struct layerObj *self){
3262 : return self->_geomtransform.string;
3263 : }
3264 0 : SWIGINTERN void layerObj_setGeomTransform(struct layerObj *self,char *transform){
3265 0 : msFree(self->_geomtransform.string);
3266 0 : if (!transform || strlen(transform) > 0) {
3267 0 : self->_geomtransform.string = msStrdup(transform);
3268 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_EXPRESSION;
3269 : }
3270 : else {
3271 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_NONE;
3272 0 : self->_geomtransform.string = NULL;
3273 : }
3274 0 : }
3275 0 : SWIGINTERN char *layerObj_getItemType(struct layerObj *self,int i){
3276 :
3277 : char *itemType = NULL;
3278 :
3279 0 : if (i >= 0 && i < self->numitems) {
3280 : gmlItemListObj *item_list;
3281 0 : item_list = msGMLGetItems(self, "G");
3282 0 : if (item_list != NULL) {
3283 0 : gmlItemObj *item = item_list->items + i;
3284 0 : itemType = msStrdup(item->type);
3285 0 : msGMLFreeItems(item_list); // destroy the original list
3286 : }
3287 : }
3288 :
3289 0 : return itemType;
3290 : }
3291 1 : SWIGINTERN struct mapObj *new_mapObj(char *filename){
3292 1 : if (filename && strlen(filename))
3293 1 : return msLoadMap(filename, NULL);
3294 : else { /* create an empty map, no layers etc... */
3295 0 : return msNewMapObj();
3296 : }
3297 : }
3298 : SWIGINTERN void delete_mapObj(struct mapObj *self){
3299 1 : msFreeMap(self);
3300 : }
3301 0 : SWIGINTERN mapObj *mapObj_clone(struct mapObj *self){
3302 : mapObj *dstMap;
3303 0 : dstMap = msNewMapObj();
3304 0 : if (msCopyMap(dstMap, self) != MS_SUCCESS) {
3305 0 : msFreeMap(dstMap);
3306 : dstMap = NULL;
3307 : }
3308 0 : return dstMap;
3309 : }
3310 : SWIGINTERN int mapObj_insertLayer(struct mapObj *self,layerObj *layer,int index){
3311 1 : return msInsertLayer(self, layer, index);
3312 : }
3313 : SWIGINTERN layerObj *mapObj_removeLayer(struct mapObj *self,int index){
3314 0 : layerObj *layer=msRemoveLayer(self, index);
3315 0 : MS_REFCNT_INCR(layer);
3316 : return layer;
3317 : }
3318 : SWIGINTERN int mapObj_setExtent(struct mapObj *self,double minx,double miny,double maxx,double maxy){
3319 0 : return msMapSetExtent( self, minx, miny, maxx, maxy );
3320 : }
3321 : SWIGINTERN int mapObj_offsetExtent(struct mapObj *self,double x,double y){
3322 0 : return msMapOffsetExtent( self, x, y );
3323 : }
3324 : SWIGINTERN int mapObj_scaleExtent(struct mapObj *self,double zoomfactor,double minscaledenom,double maxscaledenom){
3325 0 : return msMapScaleExtent( self, zoomfactor, minscaledenom, maxscaledenom );
3326 : }
3327 : SWIGINTERN int mapObj_setCenter(struct mapObj *self,pointObj *center){
3328 0 : return msMapSetCenter( self, center );
3329 : }
3330 : SWIGINTERN int mapObj_setSize(struct mapObj *self,int width,int height){
3331 0 : return msMapSetSize(self, width, height);
3332 : }
3333 : SWIGINTERN void mapObj_pixelToGeoref(struct mapObj *self,double pixPosX,double pixPosY,pointObj *geoPos){
3334 0 : geoPos->x = self->gt.geotransform[0] + self->gt.geotransform[1] * pixPosX + self->gt.geotransform[2] * pixPosY;
3335 0 : geoPos->y = self->gt.geotransform[3] + self->gt.geotransform[4] * pixPosX + self->gt.geotransform[5] * pixPosY;
3336 : }
3337 : SWIGINTERN double mapObj_getRotation(struct mapObj *self){
3338 : return self->gt.rotation_angle;
3339 : }
3340 : SWIGINTERN int mapObj_setRotation(struct mapObj *self,double rotation_angle){
3341 0 : return msMapSetRotation( self, rotation_angle );
3342 : }
3343 1 : SWIGINTERN layerObj *mapObj_getLayer(struct mapObj *self,int i){
3344 1 : if(i >= 0 && i < self->numlayers) {
3345 1 : MS_REFCNT_INCR(self->layers[i]);
3346 1 : return (self->layers[i]); /* returns an EXISTING layer */
3347 : } else {
3348 : return NULL;
3349 : }
3350 : }
3351 1 : SWIGINTERN layerObj *mapObj_getLayerByName(struct mapObj *self,char *name){
3352 : int i;
3353 :
3354 1 : i = msGetLayerIndex(self, name);
3355 :
3356 1 : if(i != -1) {
3357 1 : MS_REFCNT_INCR(self->layers[i]);
3358 1 : return (self->layers[i]); /* returns an EXISTING layer */
3359 : }
3360 : else
3361 : return NULL;
3362 : }
3363 : SWIGINTERN int mapObj_getSymbolByName(struct mapObj *self,char *name){
3364 0 : return msGetSymbolIndex(&self->symbolset, name, 1);
3365 : }
3366 0 : SWIGINTERN void mapObj_prepareQuery(struct mapObj *self){
3367 : int status;
3368 :
3369 0 : status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
3370 0 : if(status != MS_SUCCESS) self->scaledenom = -1;
3371 0 : }
3372 : SWIGINTERN imageObj *mapObj_prepareImage(struct mapObj *self){
3373 0 : return msPrepareImage(self, 0);
3374 : }
3375 0 : SWIGINTERN void mapObj_setImageType(struct mapObj *self,char *imagetype){
3376 : outputFormatObj *format;
3377 :
3378 0 : format = msSelectOutputFormat( self, imagetype );
3379 0 : if( format == NULL )
3380 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3381 : "setImageType()", imagetype );
3382 : else
3383 : {
3384 0 : msFree( self->imagetype );
3385 0 : self->imagetype = msStrdup(imagetype);
3386 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3387 : -1111, -1111 );
3388 : }
3389 0 : }
3390 0 : SWIGINTERN void mapObj_selectOutputFormat(struct mapObj *self,char *imagetype){
3391 : outputFormatObj *format;
3392 :
3393 0 : format = msSelectOutputFormat( self, imagetype );
3394 0 : if ( format == NULL )
3395 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3396 : "setImageType()", imagetype );
3397 : else
3398 : {
3399 0 : msFree( self->imagetype );
3400 0 : self->imagetype = msStrdup(imagetype);
3401 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3402 : -1111, -1111 );
3403 : }
3404 0 : }
3405 0 : SWIGINTERN outputFormatObj *mapObj_getOutputFormat(struct mapObj *self,int i){
3406 0 : if(i >= 0 && i < self->numoutputformats) {
3407 0 : MS_REFCNT_INCR(self->outputformatlist[i]);
3408 0 : return (self->outputformatlist[i]);
3409 : } else {
3410 : return NULL;
3411 : }
3412 : }
3413 : SWIGINTERN void mapObj_setOutputFormat(struct mapObj *self,outputFormatObj *format){
3414 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3415 : -1111, -1111 );
3416 : }
3417 : SWIGINTERN imageObj *mapObj_draw(struct mapObj *self){
3418 :
3419 :
3420 :
3421 :
3422 :
3423 :
3424 :
3425 :
3426 0 : return msDrawMap(self, 0);
3427 :
3428 : }
3429 : SWIGINTERN imageObj *mapObj_drawQuery(struct mapObj *self){
3430 0 : return msDrawMap(self, 1);
3431 : }
3432 : SWIGINTERN imageObj *mapObj_drawLegend(struct mapObj *self,int scale_independent){
3433 0 : return msDrawLegend(self, scale_independent, NULL);
3434 : }
3435 : SWIGINTERN imageObj *mapObj_drawScalebar(struct mapObj *self){
3436 0 : return msDrawScalebar(self);
3437 : }
3438 : SWIGINTERN imageObj *mapObj_drawReferenceMap(struct mapObj *self){
3439 0 : return msDrawReferenceMap(self);
3440 : }
3441 : SWIGINTERN int mapObj_embedScalebar(struct mapObj *self,imageObj *image){
3442 0 : return msEmbedScalebar(self, image);
3443 : }
3444 : SWIGINTERN int mapObj_embedLegend(struct mapObj *self,imageObj *image){
3445 0 : return msEmbedLegend(self, image);
3446 : }
3447 : SWIGINTERN int mapObj_drawLabelCache(struct mapObj *self,imageObj *image){
3448 0 : return msDrawLabelCache(self,image);
3449 : }
3450 0 : SWIGINTERN int mapObj_queryByFilter(struct mapObj *self,char *string){
3451 0 : msInitQuery(&(self->query));
3452 :
3453 0 : self->query.type = MS_QUERY_BY_FILTER;
3454 0 : self->query.mode = MS_QUERY_MULTIPLE;
3455 :
3456 0 : self->query.filter.string = msStrdup(string);
3457 0 : self->query.filter.type = MS_EXPRESSION;
3458 :
3459 0 : self->query.rect = self->extent;
3460 :
3461 0 : return msQueryByFilter(self);
3462 : }
3463 : SWIGINTERN int mapObj_queryByPoint(struct mapObj *self,pointObj *point,int mode,double buffer){
3464 0 : msInitQuery(&(self->query));
3465 :
3466 0 : self->query.type = MS_QUERY_BY_POINT;
3467 0 : self->query.mode = mode;
3468 0 : self->query.point = *point;
3469 0 : self->query.buffer = buffer;
3470 :
3471 0 : return msQueryByPoint(self);
3472 : }
3473 : SWIGINTERN int mapObj_queryByRect(struct mapObj *self,rectObj rect){
3474 0 : msInitQuery(&(self->query));
3475 :
3476 0 : self->query.type = MS_QUERY_BY_RECT;
3477 0 : self->query.mode = MS_QUERY_MULTIPLE;
3478 0 : self->query.rect = rect;
3479 :
3480 0 : return msQueryByRect(self);
3481 : }
3482 : SWIGINTERN int mapObj_queryByFeatures(struct mapObj *self,int slayer){
3483 0 : self->query.slayer = slayer;
3484 0 : return msQueryByFeatures(self);
3485 : }
3486 0 : SWIGINTERN int mapObj_queryByShape(struct mapObj *self,shapeObj *shape){
3487 0 : msInitQuery(&(self->query));
3488 :
3489 0 : self->query.type = MS_QUERY_BY_SHAPE;
3490 0 : self->query.mode = MS_QUERY_MULTIPLE;
3491 0 : self->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3492 0 : msInitShape(self->query.shape);
3493 0 : msCopyShape(shape, self->query.shape);
3494 :
3495 0 : return msQueryByShape(self);
3496 : }
3497 : SWIGINTERN int mapObj_setWKTProjection(struct mapObj *self,char *wkt){
3498 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3499 : }
3500 : SWIGINTERN char *mapObj_getProjection(struct mapObj *self){
3501 0 : return msGetProjectionString(&(self->projection));
3502 : }
3503 : SWIGINTERN int mapObj_setProjection(struct mapObj *self,char *proj4){
3504 0 : return msLoadProjectionString(&(self->projection), proj4);
3505 : }
3506 : SWIGINTERN int mapObj_save(struct mapObj *self,char *filename){
3507 0 : return msSaveMap(self, filename);
3508 : }
3509 : SWIGINTERN int mapObj_saveQuery(struct mapObj *self,char *filename,int results){
3510 0 : return msSaveQuery(self, filename, results);
3511 : }
3512 : SWIGINTERN int mapObj_loadQuery(struct mapObj *self,char *filename){
3513 0 : return msLoadQuery(self, filename);
3514 : }
3515 : SWIGINTERN void mapObj_freeQuery(struct mapObj *self,int qlayer){
3516 0 : msQueryFree(self, qlayer);
3517 : }
3518 : SWIGINTERN int mapObj_saveQueryAsGML(struct mapObj *self,char *filename,char const *ns){
3519 0 : return msGMLWriteQuery(self, filename, ns);
3520 : }
3521 0 : SWIGINTERN char *mapObj_getMetaData(struct mapObj *self,char *name){
3522 : char *value = NULL;
3523 0 : if (!name) {
3524 0 : msSetError(16, "NULL key", "getMetaData");
3525 : }
3526 :
3527 0 : value = (char *) msLookupHashTable(&(self->web.metadata), name);
3528 0 : if (!value) {
3529 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3530 0 : return NULL;
3531 : }
3532 : return value;
3533 : }
3534 : SWIGINTERN int mapObj_setMetaData(struct mapObj *self,char *name,char *value){
3535 0 : if (msInsertHashTable(&(self->web.metadata), name, value) == NULL)
3536 : return MS_FAILURE;
3537 : return MS_SUCCESS;
3538 : }
3539 : SWIGINTERN int mapObj_removeMetaData(struct mapObj *self,char *name){
3540 0 : return(msRemoveHashTable(&(self->web.metadata), name));
3541 : }
3542 : SWIGINTERN char *mapObj_getFirstMetaDataKey(struct mapObj *self){
3543 0 : return (char *) msFirstKeyFromHashTable(&(self->web.metadata));
3544 : }
3545 : SWIGINTERN char *mapObj_getNextMetaDataKey(struct mapObj *self,char *lastkey){
3546 0 : return (char *) msNextKeyFromHashTable(&(self->web.metadata), lastkey);
3547 : }
3548 0 : SWIGINTERN int mapObj_setSymbolSet(struct mapObj *self,char *szFileName){
3549 0 : msFreeSymbolSet(&self->symbolset);
3550 0 : msInitSymbolSet(&self->symbolset);
3551 :
3552 0 : self->symbolset.filename = msStrdup(szFileName);
3553 :
3554 : /* Symbolset shares same fontset as main mapfile */
3555 0 : self->symbolset.fontset = &(self->fontset);
3556 :
3557 0 : return msLoadSymbolSet(&self->symbolset, self);
3558 : }
3559 : SWIGINTERN int mapObj_getNumSymbols(struct mapObj *self){
3560 : return self->symbolset.numsymbols;
3561 : }
3562 0 : SWIGINTERN int mapObj_setFontSet(struct mapObj *self,char *filename){
3563 0 : msFreeFontSet(&(self->fontset));
3564 0 : msInitFontSet(&(self->fontset));
3565 :
3566 0 : self->fontset.filename = msStrdup(filename);
3567 :
3568 0 : return msLoadFontSet(&(self->fontset), self);
3569 : }
3570 : SWIGINTERN int mapObj_saveMapContext(struct mapObj *self,char *szFileName){
3571 0 : return msSaveMapContext(self, szFileName);
3572 : }
3573 : SWIGINTERN int mapObj_loadMapContext(struct mapObj *self,char *szFileName,int useUniqueNames){
3574 0 : return msLoadMapContext(self, szFileName, useUniqueNames);
3575 : }
3576 : SWIGINTERN int mapObj_moveLayerUp(struct mapObj *self,int layerindex){
3577 0 : return msMoveLayerUp(self, layerindex);
3578 : }
3579 : SWIGINTERN int mapObj_moveLayerDown(struct mapObj *self,int layerindex){
3580 0 : return msMoveLayerDown(self, layerindex);
3581 : }
3582 0 : SWIGINTERN intarray *mapObj_getLayersDrawingOrder(struct mapObj *self){
3583 : int i;
3584 : intarray *order;
3585 0 : order = new_intarray(self->numlayers);
3586 0 : for (i=0; i<self->numlayers; i++)
3587 :
3588 :
3589 :
3590 0 : intarray_setitem(order, i, self->layerorder[i]);
3591 :
3592 0 : return order;
3593 : }
3594 : SWIGINTERN int mapObj_setLayersDrawingOrder(struct mapObj *self,int *panIndexes){
3595 0 : return msSetLayersdrawingOrder(self, panIndexes);
3596 : }
3597 : SWIGINTERN void mapObj_setConfigOption(struct mapObj *self,char *key,char *value){
3598 0 : msSetConfigOption(self,key,value);
3599 : }
3600 : SWIGINTERN char *mapObj_getConfigOption(struct mapObj *self,char *key){
3601 0 : return (char *) msGetConfigOption(self,key);
3602 : }
3603 : SWIGINTERN void mapObj_applyConfigOptions(struct mapObj *self){
3604 0 : msApplyMapConfigOptions( self );
3605 : }
3606 : SWIGINTERN int mapObj_applySLD(struct mapObj *self,char *sld){
3607 0 : return msSLDApplySLD(self, sld, -1, NULL, NULL);
3608 : }
3609 : SWIGINTERN int mapObj_applySLDURL(struct mapObj *self,char *sld){
3610 0 : return msSLDApplySLDURL(self, sld, -1, NULL, NULL);
3611 : }
3612 : SWIGINTERN char *mapObj_generateSLD(struct mapObj *self,char *sldVersion){
3613 0 : return (char *) msSLDGenerateSLD(self, -1, sldVersion);
3614 : }
3615 : SWIGINTERN char *mapObj_processTemplate(struct mapObj *self,int bGenerateImages,char **names,char **values,int numentries){
3616 0 : return msProcessTemplate(self, bGenerateImages, names, values,
3617 : numentries);
3618 : }
3619 : SWIGINTERN char *mapObj_processLegendTemplate(struct mapObj *self,char **names,char **values,int numentries){
3620 0 : return msProcessLegendTemplate(self, names, values, numentries);
3621 : }
3622 : SWIGINTERN char *mapObj_processQueryTemplate(struct mapObj *self,char **names,char **values,int numentries){
3623 0 : return msProcessQueryTemplate(self, 1, names, values, numentries);
3624 : }
3625 : SWIGINTERN outputFormatObj *mapObj_getOutputFormatByName(struct mapObj *self,char *name){
3626 0 : return msSelectOutputFormat(self, name);
3627 : }
3628 : SWIGINTERN int mapObj_appendOutputFormat(struct mapObj *self,outputFormatObj *format){
3629 0 : return msAppendOutputFormat(self, format);
3630 : }
3631 : SWIGINTERN int mapObj_removeOutputFormat(struct mapObj *self,char *name){
3632 0 : return msRemoveOutputFormat(self, name);
3633 : }
3634 : SWIGINTERN int mapObj_loadOWSParameters(struct mapObj *self,cgiRequestObj *request,char *wmtver_string){
3635 0 : return msMapLoadOWSParameters(self, request, wmtver_string);
3636 : }
3637 : SWIGINTERN int mapObj_OWSDispatch(struct mapObj *self,cgiRequestObj *req){
3638 1 : return msOWSDispatch( self, req, 1 );
3639 : }
3640 : SWIGINTERN char *mapObj_convertToString(struct mapObj *self){
3641 0 : return msWriteMapToString(self);
3642 : }
3643 : SWIGINTERN void mapObj_applyDefaultSubstitutions(struct mapObj *self){
3644 0 : msApplyDefaultSubstitutions(self);
3645 : }
3646 : SWIGINTERN void mapObj_applySubstitutions(struct mapObj *self,char **names,char **values,int npairs){
3647 0 : msApplySubstitutions(self, names, values, npairs);
3648 : }
3649 0 : SWIGINTERN int mapObj_zoomPoint(struct mapObj *self,int zoomfactor,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3650 : double dfGeoPosX, dfGeoPosY;
3651 : double dfDeltaX, dfDeltaY;
3652 : rectObj oNewGeorefExt;
3653 : double dfNewScale;
3654 : int bMaxExtSet;
3655 : double dfDeltaExt;
3656 : double dX, dY;
3657 :
3658 0 : dfNewScale = 0.0;
3659 : bMaxExtSet = 0;
3660 : dfDeltaExt = -1.0;
3661 :
3662 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
3663 :
3664 : /* ----------------------------------------------------------- */
3665 : /* check the validity of the parameters. */
3666 : /* ----------------------------------------------------------- */
3667 0 : if (zoomfactor == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL) {
3668 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomPoint()");
3669 0 : return MS_FAILURE;
3670 : }
3671 :
3672 : /* ----------------------------------------------------------- */
3673 : /* check if the values passed are consistent min > max. */
3674 : /* ----------------------------------------------------------- */
3675 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3676 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3677 0 : return MS_FAILURE;
3678 : }
3679 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3680 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3681 0 : return MS_FAILURE;
3682 : }
3683 :
3684 0 : if (bMaxExtSet == 1) {
3685 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3686 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3687 0 : return MS_FAILURE;
3688 : }
3689 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3690 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3691 : }
3692 : }
3693 :
3694 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3695 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3696 0 : dX = dfDeltaX/((double)width);
3697 0 : dY = dfDeltaY/((double)height);
3698 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
3699 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
3700 :
3701 0 : if (self->gt.rotation_angle != 0) {
3702 0 : dfGeoPosX = self->gt.geotransform[0] + self->gt.geotransform[1] * (double)poPixPos->x + self->gt.geotransform[2] * (double)poPixPos->y;
3703 0 : dfGeoPosY = self->gt.geotransform[3] + self->gt.geotransform[4] * (double)poPixPos->x + self->gt.geotransform[5] * (double)poPixPos->y;
3704 : }
3705 :
3706 : /* --- -------------------------------------------------------- */
3707 : /* zoom in */
3708 : /* ------------------------------------------------------------ */
3709 0 : if (zoomfactor > 1) {
3710 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/(2*zoomfactor));
3711 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/(2*zoomfactor));
3712 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/(2*zoomfactor));
3713 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/(2*zoomfactor));
3714 : }
3715 :
3716 0 : if (zoomfactor < 0) {
3717 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2)*(abs(zoomfactor));
3718 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2)*(abs(zoomfactor));
3719 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2)*(abs(zoomfactor));
3720 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2)*(abs(zoomfactor));
3721 : }
3722 :
3723 0 : if (zoomfactor == 1) {
3724 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2);
3725 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2);
3726 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2);
3727 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2);
3728 : }
3729 :
3730 : /* ------------------------------------------------------------ */
3731 : /* if the min and max scale are set in the map file, we will */
3732 : /* use them to test before zooming. */
3733 : /* ------------------------------------------------------------ */
3734 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3735 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3736 :
3737 0 : if (self->web.maxscaledenom > 0) {
3738 0 : if (zoomfactor < 0 && dfNewScale > self->web.maxscaledenom) {
3739 : return MS_FAILURE;
3740 : }
3741 : }
3742 :
3743 : /* ============================================================ */
3744 : /* we do a special case for zoom in : we try to zoom as much as */
3745 : /* possible using the mincale set in the .map. */
3746 : /* ============================================================ */
3747 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && zoomfactor > 1) {
3748 : /* To be consistent in swig mapscript and PHP mapscript,
3749 : use the same function to calculate the delta extents. */
3750 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfGeoPosY,
3751 : self->width, self->resolution);
3752 :
3753 0 : if (dfDeltaExt > 0.0) {
3754 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
3755 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
3756 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
3757 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
3758 : } else
3759 : return MS_FAILURE;
3760 : }
3761 :
3762 : /* ------------------------------------------------------------ */
3763 : /* If the buffer is set, make sure that the extents do not go */
3764 : /* beyond the buffer. */
3765 : /* ------------------------------------------------------------ */
3766 0 : if (bMaxExtSet) {
3767 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3768 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3769 :
3770 : /* Make sure Current georef extents is not bigger than
3771 : * max extents */
3772 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3773 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3774 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3775 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3776 :
3777 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3778 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3779 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3780 : }
3781 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3782 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3783 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3784 : }
3785 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3786 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3787 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3788 : }
3789 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3790 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3791 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3792 : }
3793 : }
3794 :
3795 : /* ------------------------------------------------------------ */
3796 : /* set the map extents with new values. */
3797 : /* ------------------------------------------------------------ */
3798 0 : self->extent.minx = oNewGeorefExt.minx;
3799 0 : self->extent.miny = oNewGeorefExt.miny;
3800 0 : self->extent.maxx = oNewGeorefExt.maxx;
3801 0 : self->extent.maxy = oNewGeorefExt.maxy;
3802 :
3803 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3804 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3805 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3806 :
3807 0 : if (bMaxExtSet) {
3808 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3809 0 : self->extent.minx = poMaxGeorefExt->minx;
3810 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3811 : }
3812 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3813 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3814 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3815 : }
3816 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3817 0 : self->extent.miny = poMaxGeorefExt->miny;
3818 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3819 : }
3820 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3821 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3822 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3823 : }
3824 : }
3825 :
3826 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3827 :
3828 0 : return MS_SUCCESS;
3829 : }
3830 0 : SWIGINTERN int mapObj_zoomRectangle(struct mapObj *self,rectObj *poPixRect,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3831 : double dfDeltaX, dfDeltaY;
3832 : rectObj oNewGeorefExt;
3833 : double dfNewScale;
3834 : double dfDeltaExt;
3835 : double dfMiddleX, dfMiddleY;
3836 : int bMaxExtSet;
3837 :
3838 : bMaxExtSet = 0;
3839 0 : dfNewScale = 0.0;
3840 : dfDeltaExt = -1.0;
3841 :
3842 0 : if (poMaxGeorefExt != NULL) bMaxExtSet = 1;
3843 :
3844 : /* ----------------------------------------------------------- */
3845 : /* check the validity of the parameters. */
3846 : /* ----------------------------------------------------------- */
3847 0 : if (poPixRect == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL) {
3848 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomRectangle");
3849 0 : return MS_FAILURE;
3850 : }
3851 :
3852 : /* ----------------------------------------------------------- */
3853 : /* check if the values passed are consistent min <= max. */
3854 : /* ----------------------------------------------------------- */
3855 0 : if (poPixRect->minx >= poPixRect->maxx) {
3856 0 : msSetError(12, "image rectangle minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3857 0 : return MS_FAILURE;
3858 : }
3859 : /* This is not a typo: "maxx >= minx". For historical reason, we
3860 : * keep this as it is. See documentation for more info about this check. */
3861 0 : if (poPixRect->maxy >= poPixRect->miny) {
3862 0 : msSetError(12, "image rectangle maxy >= miny", "mapscript::mapObj::zoomRectangle()");
3863 0 : return MS_FAILURE;
3864 : }
3865 :
3866 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3867 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3868 0 : return MS_FAILURE;
3869 : }
3870 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3871 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3872 0 : return MS_FAILURE;
3873 : }
3874 :
3875 0 : if (bMaxExtSet == 1) {
3876 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3877 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3878 0 : return MS_FAILURE;
3879 : }
3880 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3881 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3882 0 : return MS_FAILURE;
3883 : }
3884 : }
3885 :
3886 :
3887 : /* ----------------------------------------------------------- */
3888 : /* Convert pixel rectangle to georeferenced rectangle */
3889 : /* ----------------------------------------------------------- */
3890 :
3891 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3892 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3893 :
3894 0 : oNewGeorefExt.minx = Pix2Georef((int)poPixRect->minx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3895 0 : oNewGeorefExt.maxx = Pix2Georef((int)poPixRect->maxx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3896 0 : oNewGeorefExt.miny = Pix2Georef((int)poPixRect->miny, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3897 0 : oNewGeorefExt.maxy = Pix2Georef((int)poPixRect->maxy, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3898 :
3899 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3900 :
3901 : /* ------------------------------------------------------------ */
3902 : /* if the min and max scale are set in the map file, we will */
3903 : /* use them to test before setting extents. */
3904 : /* ------------------------------------------------------------ */
3905 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3906 :
3907 0 : if (self->web.maxscaledenom > 0 && dfNewScale > self->web.maxscaledenom)
3908 : return MS_FAILURE;
3909 :
3910 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom) {
3911 0 : dfMiddleX = oNewGeorefExt.minx + ((oNewGeorefExt.maxx - oNewGeorefExt.minx)/2);
3912 0 : dfMiddleY = oNewGeorefExt.miny + ((oNewGeorefExt.maxy - oNewGeorefExt.miny)/2);
3913 :
3914 : /* To be consistent in swig mapscript and PHP mapscript,
3915 : use the same function to calculate the delta extents. */
3916 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfMiddleY, self->width, self->resolution);
3917 :
3918 0 : if (dfDeltaExt > 0.0) {
3919 0 : oNewGeorefExt.minx = dfMiddleX - (dfDeltaExt/2);
3920 0 : oNewGeorefExt.miny = dfMiddleY - (dfDeltaExt/2);
3921 0 : oNewGeorefExt.maxx = dfMiddleX + (dfDeltaExt/2);
3922 0 : oNewGeorefExt.maxy = dfMiddleY + (dfDeltaExt/2);
3923 : } else
3924 : return MS_FAILURE;
3925 : }
3926 :
3927 : /* ------------------------------------------------------------ */
3928 : /* If the buffer is set, make sure that the extents do not go */
3929 : /* beyond the buffer. */
3930 : /* ------------------------------------------------------------ */
3931 0 : if (bMaxExtSet) {
3932 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3933 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3934 :
3935 : /* Make sure Current georef extents is not bigger
3936 : * than max extents */
3937 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3938 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3939 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3940 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3941 :
3942 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3943 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3944 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3945 : }
3946 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3947 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3948 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3949 : }
3950 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3951 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3952 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3953 : }
3954 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3955 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3956 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3957 : }
3958 : }
3959 :
3960 0 : self->extent.minx = oNewGeorefExt.minx;
3961 0 : self->extent.miny = oNewGeorefExt.miny;
3962 0 : self->extent.maxx = oNewGeorefExt.maxx;
3963 0 : self->extent.maxy = oNewGeorefExt.maxy;
3964 :
3965 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3966 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3967 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3968 :
3969 0 : if (bMaxExtSet) {
3970 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3971 0 : self->extent.minx = poMaxGeorefExt->minx;
3972 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3973 : }
3974 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3975 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3976 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3977 : }
3978 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3979 0 : self->extent.miny = poMaxGeorefExt->miny;
3980 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3981 : }
3982 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3983 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3984 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3985 : }
3986 : }
3987 :
3988 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3989 :
3990 0 : return MS_SUCCESS;
3991 : }
3992 0 : SWIGINTERN int mapObj_zoomScale(struct mapObj *self,double scale,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3993 : double dfGeoPosX, dfGeoPosY;
3994 : double dfDeltaX, dfDeltaY;
3995 : rectObj oNewGeorefExt;
3996 : double dfNewScale, dfCurrentScale;
3997 : int bMaxExtSet;
3998 : int nTmp;
3999 : double dfDeltaExt;
4000 : double dX, dY;
4001 :
4002 0 : dfNewScale = 0.0;
4003 0 : dfCurrentScale = 0.0;
4004 : nTmp = 0;
4005 : bMaxExtSet = 0;
4006 : dfDeltaExt = -1.0;
4007 :
4008 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
4009 :
4010 : /* ----------------------------------------------------------- */
4011 : /* check the validity of the parameters. */
4012 : /* ----------------------------------------------------------- */
4013 0 : if (scale <= 0.0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL ) {
4014 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomScale");
4015 0 : return MS_FAILURE;
4016 : }
4017 :
4018 : /* ----------------------------------------------------------- */
4019 : /* check if the values passed are consistent min > max. */
4020 : /* ----------------------------------------------------------- */
4021 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
4022 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4023 0 : return MS_FAILURE;
4024 : }
4025 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
4026 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4027 0 : return MS_FAILURE;
4028 : }
4029 :
4030 0 : if (bMaxExtSet == 1) {
4031 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
4032 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4033 0 : return MS_FAILURE;
4034 : }
4035 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
4036 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4037 : }
4038 : }
4039 :
4040 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
4041 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
4042 0 : dX = dfDeltaX/((double)width);
4043 0 : dY = dfDeltaY/((double)height);
4044 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
4045 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
4046 :
4047 0 : if (self->gt.rotation_angle != 0) {
4048 0 : dfGeoPosX = self->gt.geotransform[0] + self->gt.geotransform[1] * (double)poPixPos->x + self->gt.geotransform[2] * (double)poPixPos->y;
4049 0 : dfGeoPosY = self->gt.geotransform[3] + self->gt.geotransform[4] * (double)poPixPos->x + self->gt.geotransform[5] * (double)poPixPos->y;
4050 : }
4051 :
4052 : /* ------------------------------------------------------------ */
4053 : /* Calculate new extents based on the scale. */
4054 : /* ------------------------------------------------------------ */
4055 :
4056 : /* ============================================================ */
4057 : /* make sure to take the smallest size because this is the one */
4058 : /* that will be used to ajust the scale. */
4059 : /* ============================================================ */
4060 :
4061 0 : if (self->width < self->height)
4062 : nTmp = self->width;
4063 : else
4064 : nTmp = self->height;
4065 :
4066 : /* To be consistent in swig mapscript and PHP mapscript,
4067 : use the same function to calculate the delta extents. */
4068 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4069 :
4070 0 : if (dfDeltaExt > 0.0) {
4071 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4072 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4073 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4074 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4075 : } else
4076 : return MS_FAILURE;
4077 :
4078 : /* ------------------------------------------------------------ */
4079 : /* get current scale. */
4080 : /* ------------------------------------------------------------ */
4081 0 : msCalculateScale(*poGeorefExt, self->units, self->width, self->height, self->resolution, &dfCurrentScale);
4082 :
4083 : /* ------------------------------------------------------------ *
4084 : * if the min and max scale are set in the map file, we will *
4085 : * use them to test before zooming. *
4086 : * *
4087 : * This function has the same effect as zoomin or zoom out.
4088 : * If the current scale is > newscale we zoom in; else it is
4089 : * a zoom out.
4090 : * ------------------------------------------------------------ */
4091 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
4092 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
4093 :
4094 0 : if (self->web.maxscaledenom > 0) {
4095 0 : if (dfCurrentScale < dfNewScale && dfNewScale > self->web.maxscaledenom) {
4096 : return MS_FAILURE;
4097 : }
4098 : }
4099 :
4100 : /* ============================================================ */
4101 : /* we do a special case for zoom in : we try to zoom as much as */
4102 : /* possible using the mincale set in the .map. */
4103 : /* ============================================================ */
4104 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && dfCurrentScale > dfNewScale) {
4105 : /* To be consistent in swig mapscript and PHP mapscript,
4106 : use the same function to calculate the delta extents. */
4107 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4108 0 : if (dfDeltaExt > 0.0) {
4109 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4110 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4111 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4112 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4113 : } else
4114 : return MS_FAILURE;
4115 : }
4116 :
4117 : /* ------------------------------------------------------------ */
4118 : /* If the buffer is set, make sure that the extents do not go */
4119 : /* beyond the buffer. */
4120 : /* ------------------------------------------------------------ */
4121 0 : if (bMaxExtSet) {
4122 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
4123 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
4124 :
4125 : /* Make sure Current georef extents is not bigger
4126 : * than max extents */
4127 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
4128 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
4129 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
4130 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
4131 :
4132 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
4133 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
4134 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
4135 : }
4136 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
4137 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
4138 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4139 : }
4140 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
4141 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
4142 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
4143 : }
4144 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
4145 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
4146 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4147 : }
4148 : }
4149 :
4150 0 : self->extent.minx = oNewGeorefExt.minx;
4151 0 : self->extent.miny = oNewGeorefExt.miny;
4152 0 : self->extent.maxx = oNewGeorefExt.maxx;
4153 0 : self->extent.maxy = oNewGeorefExt.maxy;
4154 :
4155 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
4156 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
4157 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
4158 :
4159 0 : if (bMaxExtSet) {
4160 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
4161 0 : self->extent.minx = poMaxGeorefExt->minx;
4162 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
4163 : }
4164 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
4165 0 : self->extent.maxx = poMaxGeorefExt->maxx;
4166 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4167 : }
4168 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
4169 0 : self->extent.miny = poMaxGeorefExt->miny;
4170 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
4171 : }
4172 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
4173 0 : self->extent.maxy = poMaxGeorefExt->maxy;
4174 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4175 : }
4176 : }
4177 :
4178 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
4179 :
4180 0 : return MS_SUCCESS;
4181 : }
4182 0 : SWIGINTERN rectObj *new_rectObj(double minx,double miny,double maxx,double maxy,int imageunits){
4183 : rectObj *rect;
4184 :
4185 0 : if (imageunits == 0)
4186 : {
4187 0 : if (minx > maxx || miny > maxy)
4188 : {
4189 0 : msSetError(34,
4190 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4191 : "rectObj()", minx, miny, maxx, maxy);
4192 0 : return NULL;
4193 : }
4194 : }
4195 : else
4196 : {
4197 0 : if (minx > maxx || maxy > miny)
4198 : {
4199 0 : msSetError(34,
4200 : "image (pixel/line) units { 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4201 : "rectObj()", minx, miny, maxx, maxy);
4202 0 : return NULL;
4203 : }
4204 : }
4205 :
4206 0 : rect = (rectObj *)calloc(1, sizeof(rectObj));
4207 0 : if (!rect)
4208 : return(NULL);
4209 :
4210 0 : rect->minx = minx;
4211 0 : rect->miny = miny;
4212 0 : rect->maxx = maxx;
4213 0 : rect->maxy = maxy;
4214 :
4215 0 : return(rect);
4216 : }
4217 : SWIGINTERN void delete_rectObj(rectObj *self){
4218 0 : free(self);
4219 : }
4220 : SWIGINTERN int rectObj_project(rectObj *self,projectionObj *projin,projectionObj *projout){
4221 0 : return msProjectRect(projin, projout, self);
4222 : }
4223 : SWIGINTERN double rectObj_fit(rectObj *self,int width,int height){
4224 0 : return msAdjustExtent(self, width, height);
4225 : }
4226 0 : SWIGINTERN int rectObj_draw(rectObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4227 : shapeObj shape;
4228 : int ret;
4229 :
4230 0 : msInitShape(&shape);
4231 0 : msRectToPolygon(*self, &shape);
4232 0 : shape.classindex = classindex;
4233 0 : if(text && layer->class[classindex]->numlabels > 0) {
4234 0 : shape.text = msStrdup(text);
4235 : }
4236 :
4237 0 : ret = msDrawShape(map, layer, &shape, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4238 :
4239 0 : msFreeShape(&shape);
4240 :
4241 0 : return ret;
4242 : }
4243 0 : SWIGINTERN pointObj *rectObj_getCenter(rectObj *self){
4244 : pointObj *center;
4245 0 : center = (pointObj *)calloc(1, sizeof(pointObj));
4246 0 : if (!center) {
4247 0 : msSetError(2, "Failed to allocate memory for point", "getCenter()");
4248 0 : return NULL;
4249 : }
4250 0 : center->x = (self->minx + self->maxx)/2;
4251 0 : center->y = (self->miny + self->maxy)/2;
4252 :
4253 0 : return center;
4254 : }
4255 0 : SWIGINTERN shapeObj *rectObj_toPolygon(rectObj *self){
4256 0 : lineObj line = {0,NULL};
4257 : shapeObj *shape;
4258 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4259 0 : if (!shape)
4260 : return NULL;
4261 0 : msInitShape(shape);
4262 0 : shape->type = MS_SHAPE_POLYGON;
4263 :
4264 0 : line.point = (pointObj *)malloc(sizeof(pointObj)*5);
4265 0 : line.point[0].x = self->minx;
4266 0 : line.point[0].y = self->miny;
4267 0 : line.point[1].x = self->minx;
4268 0 : line.point[1].y = self->maxy;
4269 0 : line.point[2].x = self->maxx;
4270 0 : line.point[2].y = self->maxy;
4271 0 : line.point[3].x = self->maxx;
4272 0 : line.point[3].y = self->miny;
4273 0 : line.point[4].x = line.point[0].x;
4274 0 : line.point[4].y = line.point[0].y;
4275 :
4276 0 : line.numpoints = 5;
4277 :
4278 0 : msAddLine(shape, &line);
4279 0 : msComputeBounds(shape);
4280 :
4281 0 : free(line.point);
4282 :
4283 0 : return shape;
4284 : }
4285 0 : SWIGINTERN char *rectObj_toString(rectObj *self){
4286 : char buffer[256];
4287 0 : char fmt[]="{ 'minx': %.16g , 'miny': %.16g , 'maxx': %.16g , 'maxy': %.16g }";
4288 0 : msRectToFormattedString(self, (char *) &fmt, (char *) &buffer, 256);
4289 0 : return msStrdup(buffer);
4290 : }
4291 : SWIGINTERN pointObj *new_pointObj(double x,double y,double z,double m){
4292 : pointObj *p;
4293 0 : p = (pointObj *)calloc(1,sizeof(pointObj));
4294 0 : if (!p) return NULL;
4295 0 : p->x = x;
4296 0 : p->y = y;
4297 :
4298 :
4299 :
4300 :
4301 : return p;
4302 : }
4303 : SWIGINTERN void delete_pointObj(pointObj *self){
4304 0 : free(self);
4305 : }
4306 : SWIGINTERN int pointObj_project(pointObj *self,projectionObj *projin,projectionObj *projout){
4307 0 : return msProjectPoint(projin, projout, self);
4308 : }
4309 : SWIGINTERN int pointObj_draw(pointObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4310 0 : return msDrawPoint(map, layer, self, image, classindex, text);
4311 : }
4312 : SWIGINTERN double pointObj_distanceToPoint(pointObj *self,pointObj *point){
4313 0 : return msDistancePointToPoint(self, point);
4314 : }
4315 : SWIGINTERN double pointObj_distanceToSegment(pointObj *self,pointObj *a,pointObj *b){
4316 1 : return msDistancePointToSegment(self, a, b);
4317 : }
4318 : SWIGINTERN double pointObj_distanceToShape(pointObj *self,shapeObj *shape){
4319 0 : return msDistancePointToShape(self, shape);
4320 : }
4321 : SWIGINTERN int pointObj_setXY(pointObj *self,double x,double y,double m){
4322 0 : self->x = x;
4323 0 : self->y = y;
4324 :
4325 :
4326 :
4327 :
4328 : return MS_SUCCESS;
4329 : }
4330 : SWIGINTERN int pointObj_setXYZ(pointObj *self,double x,double y,double z,double m){
4331 0 : self->x = x;
4332 0 : self->y = y;
4333 :
4334 :
4335 :
4336 :
4337 : return MS_SUCCESS;
4338 : }
4339 : SWIGINTERN int pointObj_setXYZM(pointObj *self,double x,double y,double z,double m){
4340 0 : self->x = x;
4341 0 : self->y = y;
4342 :
4343 :
4344 :
4345 :
4346 : return MS_SUCCESS;
4347 : }
4348 0 : SWIGINTERN char *pointObj_toString(pointObj *self){
4349 : char buffer[256];
4350 : const char *fmt;
4351 :
4352 :
4353 :
4354 :
4355 :
4356 :
4357 :
4358 : fmt = "{ 'x': %.16g, 'y': %.16g }";
4359 :
4360 :
4361 0 : msPointToFormattedString(self, fmt, (char *) &buffer, 256);
4362 0 : return msStrdup(buffer);
4363 : }
4364 0 : SWIGINTERN shapeObj *pointObj_toShape(pointObj *self){
4365 : shapeObj *shape;
4366 :
4367 0 : shape = (shapeObj *) malloc(sizeof(shapeObj));
4368 0 : msInitShape(shape);
4369 :
4370 0 : shape->type = MS_SHAPE_POINT;
4371 0 : shape->line = (lineObj *) malloc(sizeof(lineObj));
4372 0 : shape->numlines = 1;
4373 0 : shape->line[0].point = (pointObj *) malloc(sizeof(pointObj));
4374 0 : shape->line[0].numpoints = 1;
4375 :
4376 0 : shape->line[0].point[0].x = self->x;
4377 0 : shape->line[0].point[0].y = self->y;
4378 :
4379 :
4380 :
4381 :
4382 :
4383 0 : return shape;
4384 : }
4385 : SWIGINTERN lineObj *new_lineObj(void){
4386 : lineObj *line;
4387 :
4388 1 : line = (lineObj *)malloc(sizeof(lineObj));
4389 1 : if (!line)
4390 : return(NULL);
4391 :
4392 1 : line->numpoints=0;
4393 1 : line->point=NULL;
4394 :
4395 : return line;
4396 : }
4397 : SWIGINTERN void delete_lineObj(lineObj *self){
4398 1 : free(self->point);
4399 1 : free(self);
4400 : }
4401 : SWIGINTERN int lineObj_project(lineObj *self,projectionObj *projin,projectionObj *projout){
4402 0 : return msProjectLine(projin, projout, self);
4403 : }
4404 : SWIGINTERN pointObj *lineObj_get(lineObj *self,int i){
4405 1 : if (i<0 || i>=self->numpoints)
4406 : return NULL;
4407 : else
4408 1 : return &(self->point[i]);
4409 : }
4410 1 : SWIGINTERN int lineObj_add(lineObj *self,pointObj *p){
4411 1 : if (self->numpoints == 0) { /* new */
4412 1 : self->point = (pointObj *)malloc(sizeof(pointObj));
4413 1 : if (!self->point)
4414 : return MS_FAILURE;
4415 : } else { /* extend array */
4416 1 : self->point = (pointObj *)realloc(self->point,
4417 1 : sizeof(pointObj)*(self->numpoints+1));
4418 1 : if (!self->point)
4419 : return MS_FAILURE;
4420 : }
4421 :
4422 1 : self->point[self->numpoints].x = p->x;
4423 1 : self->point[self->numpoints].y = p->y;
4424 1 : self->numpoints++;
4425 :
4426 : return MS_SUCCESS;
4427 : }
4428 : SWIGINTERN int lineObj_set(lineObj *self,int i,pointObj *p){
4429 0 : if (i<0 || i>=self->numpoints)
4430 : return MS_FAILURE;
4431 :
4432 0 : self->point[i].x = p->x;
4433 0 : self->point[i].y = p->y;
4434 : return MS_SUCCESS;
4435 : }
4436 1 : SWIGINTERN shapeObj *new_shapeObj(int type){
4437 : shapeObj *shape;
4438 :
4439 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4440 1 : if (!shape)
4441 : return NULL;
4442 :
4443 1 : msInitShape(shape);
4444 1 : if(type >= 0) shape->type = type;
4445 :
4446 : return shape;
4447 : }
4448 : SWIGINTERN void delete_shapeObj(shapeObj *self){
4449 1 : msFreeShape(self);
4450 1 : free(self);
4451 : }
4452 : SWIGINTERN shapeObj *shapeObj_fromWKT(char *wkt){
4453 : shapeObj *shape;
4454 :
4455 1 : if(!wkt) return NULL;
4456 :
4457 1 : shape = msShapeFromWKT(wkt);
4458 1 : if(!shape) return NULL;
4459 :
4460 : return shape;
4461 : }
4462 : SWIGINTERN int shapeObj_project(shapeObj *self,projectionObj *projin,projectionObj *projout){
4463 0 : return msProjectShape(projin, projout, self);
4464 : }
4465 : SWIGINTERN lineObj *shapeObj_get(shapeObj *self,int i){
4466 1 : if (i<0 || i>=self->numlines)
4467 : return NULL;
4468 : else
4469 1 : return &(self->line[i]);
4470 : }
4471 : SWIGINTERN int shapeObj_add(shapeObj *self,lineObj *line){
4472 1 : return msAddLine(self, line);
4473 : }
4474 : SWIGINTERN int shapeObj_draw(shapeObj *self,mapObj *map,layerObj *layer,imageObj *image){
4475 0 : return msDrawShape(map, layer, self, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4476 : }
4477 : SWIGINTERN void shapeObj_setBounds(shapeObj *self){
4478 0 : msComputeBounds(self);
4479 : return;
4480 : }
4481 0 : SWIGINTERN shapeObj *shapeObj_clone(shapeObj *self){
4482 : shapeObj *shape;
4483 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4484 0 : if (!shape)
4485 : return NULL;
4486 0 : msInitShape(shape);
4487 0 : shape->type = self->type;
4488 0 : msCopyShape(self, shape);
4489 0 : return shape;
4490 : }
4491 : SWIGINTERN int shapeObj_copy(shapeObj *self,shapeObj *dest){
4492 0 : return(msCopyShape(self, dest));
4493 : }
4494 : SWIGINTERN char *shapeObj_toWKT(shapeObj *self){
4495 1 : return msShapeToWKT(self);
4496 : }
4497 0 : SWIGINTERN shapeObj *shapeObj_buffer(shapeObj *self,double width){ return msGEOSBuffer(self, width); }
4498 0 : SWIGINTERN shapeObj *shapeObj_simplify(shapeObj *self,double tolerance){ return msGEOSSimplify(self, tolerance); }
4499 0 : SWIGINTERN shapeObj *shapeObj_topologyPreservingSimplify(shapeObj *self,double tolerance){ return msGEOSTopologyPreservingSimplify(self, tolerance); }
4500 0 : SWIGINTERN shapeObj *shapeObj_convexHull(shapeObj *self){ return msGEOSConvexHull(self); }
4501 0 : SWIGINTERN shapeObj *shapeObj_boundary(shapeObj *self){ return msGEOSBoundary(self); }
4502 0 : SWIGINTERN pointObj *shapeObj_getCentroid(shapeObj *self){ return msGEOSGetCentroid(self); }
4503 0 : SWIGINTERN shapeObj *shapeObj_Union(shapeObj *self,shapeObj *shape){ return msGEOSUnion(self, shape); }
4504 0 : SWIGINTERN shapeObj *shapeObj_intersection(shapeObj *self,shapeObj *shape){ return msGEOSIntersection(self, shape); }
4505 0 : SWIGINTERN shapeObj *shapeObj_difference(shapeObj *self,shapeObj *shape){ return msGEOSDifference(self, shape); }
4506 0 : SWIGINTERN shapeObj *shapeObj_symDifference(shapeObj *self,shapeObj *shape){ return msGEOSSymDifference(self, shape); }
4507 0 : SWIGINTERN int shapeObj_contains__SWIG_0(shapeObj *self,shapeObj *shape){ return msGEOSContains(self, shape); }
4508 0 : SWIGINTERN int shapeObj_overlaps(shapeObj *self,shapeObj *shape){ return msGEOSOverlaps(self, shape); }
4509 1 : SWIGINTERN int shapeObj_within(shapeObj *self,shapeObj *shape){ return msGEOSWithin(self, shape); }
4510 0 : SWIGINTERN int shapeObj_crosses(shapeObj *self,shapeObj *shape){ return msGEOSCrosses(self, shape); }
4511 0 : SWIGINTERN int shapeObj_intersects(shapeObj *self,shapeObj *shape){ return msGEOSIntersects(self, shape); }
4512 0 : SWIGINTERN int shapeObj_touches(shapeObj *self,shapeObj *shape){ return msGEOSTouches(self, shape); }
4513 0 : SWIGINTERN int shapeObj_equals(shapeObj *self,shapeObj *shape){ return msGEOSEquals(self, shape); }
4514 0 : SWIGINTERN int shapeObj_disjoint(shapeObj *self,shapeObj *shape){ return msGEOSDisjoint(self, shape); }
4515 0 : SWIGINTERN double shapeObj_getArea(shapeObj *self){ return msGEOSArea(self); }
4516 0 : SWIGINTERN double shapeObj_getLength(shapeObj *self){ return msGEOSLength(self); }
4517 : SWIGINTERN char *shapeObj_getValue(shapeObj *self,int i){
4518 0 : if (i >= 0 && i < self->numvalues && self->values)
4519 0 : return (self->values[i]);
4520 : else
4521 : return NULL;
4522 : }
4523 : SWIGINTERN int shapeObj_contains__SWIG_1(shapeObj *self,pointObj *point){
4524 0 : if (self->type == MS_SHAPE_POLYGON)
4525 0 : return msIntersectPointPolygon(point, self);
4526 :
4527 : return -1;
4528 : }
4529 : SWIGINTERN double shapeObj_distanceToPoint(shapeObj *self,pointObj *point){
4530 0 : return msDistancePointToShape(point, self); /* should there be a GEOS version of this? */
4531 : }
4532 : SWIGINTERN double shapeObj_distanceToShape(shapeObj *self,shapeObj *shape){
4533 0 : return msGEOSDistance(self, shape); /* note this calls msDistanceShapeToShape() if GEOS support is not present */
4534 : }
4535 0 : SWIGINTERN pointObj *shapeObj_getLabelPoint(shapeObj *self){
4536 0 : pointObj *point = (pointObj *)calloc(1, sizeof(pointObj));
4537 0 : if (point == NULL) {
4538 0 : msSetError(2, "Failed to allocate memory for point", "labelPoint()");
4539 0 : return NULL;
4540 : }
4541 :
4542 0 : if(self->type == MS_SHAPE_POLYGON && msPolygonLabelPoint(self, point, -1) == MS_SUCCESS)
4543 : return point;
4544 :
4545 0 : free(point);
4546 0 : return NULL;
4547 : }
4548 0 : SWIGINTERN int shapeObj_setValue(shapeObj *self,int i,char *value){
4549 0 : if (!self->values || !value)
4550 : {
4551 0 : msSetError(19, "Can't set value", "setValue()");
4552 : return MS_FAILURE;
4553 : }
4554 0 : if (i >= 0 && i < self->numvalues)
4555 : {
4556 0 : msFree(self->values[i]);
4557 0 : self->values[i] = msStrdup(value);
4558 0 : if (!self->values[i])
4559 : {
4560 : return MS_FAILURE;
4561 : }
4562 : else return MS_SUCCESS;
4563 : }
4564 : else
4565 : {
4566 0 : msSetError(19, "Invalid value index",
4567 : "setValue()");
4568 : return MS_FAILURE;
4569 : }
4570 : }
4571 0 : SWIGINTERN void shapeObj_initValues(shapeObj *self,int numvalues){
4572 : int i;
4573 :
4574 0 : if(self->values) msFreeCharArray(self->values, self->numvalues);
4575 0 : self->values = NULL;
4576 0 : self->numvalues = 0;
4577 :
4578 : /* Allocate memory for the values */
4579 0 : if (numvalues > 0) {
4580 0 : if ((self->values = (char **)malloc(sizeof(char *)*numvalues)) == NULL) {
4581 0 : msSetError(2, "Failed to allocate memory for values", "shapeObj()");
4582 : return;
4583 : } else {
4584 0 : for (i=0; i<numvalues; i++) self->values[i] = msStrdup("");
4585 : }
4586 0 : self->numvalues = numvalues;
4587 : }
4588 : }
4589 : SWIGINTERN struct errorObj *new_errorObj(void){
4590 0 : return msGetErrorObj();
4591 : }
4592 : SWIGINTERN void delete_errorObj(struct errorObj *self){}
4593 0 : SWIGINTERN errorObj *errorObj_next(struct errorObj *self){
4594 : errorObj *ep;
4595 :
4596 0 : if (self == NULL || self->next == NULL) return NULL;
4597 :
4598 0 : ep = msGetErrorObj();
4599 0 : while (ep != self) {
4600 : /* We reached end of list of active errorObj and
4601 : didn't find the errorObj... this is bad! */
4602 0 : if (ep->next == NULL) return NULL;
4603 : ep = ep->next;
4604 : }
4605 :
4606 0 : return ep->next;
4607 : }
4608 : SWIGINTERN char *DBFInfo_getFieldName(DBFInfo *self,int iField){
4609 : static char pszFieldName[1000];
4610 : int pnWidth;
4611 : int pnDecimals;
4612 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4613 : &pnDecimals);
4614 : return pszFieldName;
4615 : }
4616 0 : SWIGINTERN int DBFInfo_getFieldWidth(DBFInfo *self,int iField){
4617 : char pszFieldName[1000];
4618 : int pnWidth;
4619 : int pnDecimals;
4620 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4621 : &pnDecimals);
4622 0 : return pnWidth;
4623 : }
4624 0 : SWIGINTERN int DBFInfo_getFieldDecimals(DBFInfo *self,int iField){
4625 : char pszFieldName[1000];
4626 : int pnWidth;
4627 : int pnDecimals;
4628 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4629 : &pnDecimals);
4630 0 : return pnDecimals;
4631 : }
4632 : SWIGINTERN int DBFInfo_getFieldType(DBFInfo *self,int iField){
4633 0 : return msDBFGetFieldInfo(self, iField, NULL, NULL, NULL);
4634 : }
4635 1 : SWIGINTERN shapefileObj *new_shapefileObj(char *filename,int type){
4636 : shapefileObj *shapefile;
4637 : int status;
4638 :
4639 1 : shapefile = (shapefileObj *)malloc(sizeof(shapefileObj));
4640 1 : if (!shapefile)
4641 : return NULL;
4642 :
4643 1 : if (type == -1)
4644 1 : status = msShapefileOpen(shapefile, "rb", filename, 1);
4645 1 : else if (type == -2)
4646 0 : status = msShapefileOpen(shapefile, "rb+", filename, 1);
4647 : else
4648 1 : status = msShapefileCreate(shapefile, filename, type);
4649 :
4650 1 : if (status == -1) {
4651 0 : msShapefileClose(shapefile);
4652 0 : free(shapefile);
4653 0 : return NULL;
4654 : }
4655 :
4656 : return(shapefile);
4657 : }
4658 : SWIGINTERN void delete_shapefileObj(shapefileObj *self){
4659 1 : msShapefileClose(self);
4660 1 : free(self);
4661 : }
4662 1 : SWIGINTERN int shapefileObj_get(shapefileObj *self,int i,shapeObj *shape){
4663 1 : if (i<0 || i>=self->numshapes)
4664 : return MS_FAILURE;
4665 :
4666 1 : msFreeShape(shape); /* frees all lines and points before re-filling */
4667 1 : msSHPReadShape(self->hSHP, i, shape);
4668 :
4669 : return MS_SUCCESS;
4670 : }
4671 1 : SWIGINTERN shapeObj *shapefileObj_getShape(shapefileObj *self,int i){
4672 : shapeObj *shape;
4673 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4674 1 : if (!shape)
4675 : return NULL;
4676 1 : msInitShape(shape);
4677 1 : shape->type = self->type;
4678 1 : msSHPReadShape(self->hSHP, i, shape);
4679 : return shape;
4680 :
4681 : }
4682 : SWIGINTERN int shapefileObj_getPoint(shapefileObj *self,int i,pointObj *point){
4683 0 : if (i<0 || i>=self->numshapes)
4684 : return MS_FAILURE;
4685 :
4686 0 : msSHPReadPoint(self->hSHP, i, point);
4687 : return MS_SUCCESS;
4688 : }
4689 0 : SWIGINTERN int shapefileObj_getTransformed(shapefileObj *self,mapObj *map,int i,shapeObj *shape){
4690 0 : if (i<0 || i>=self->numshapes)
4691 : return MS_FAILURE;
4692 :
4693 0 : msFreeShape(shape); /* frees all lines and points before re-filling */
4694 0 : msSHPReadShape(self->hSHP, i, shape);
4695 0 : msTransformShapeSimplify(shape, map->extent, map->cellsize);
4696 :
4697 : return MS_SUCCESS;
4698 : }
4699 : SWIGINTERN void shapefileObj_getExtent(shapefileObj *self,int i,rectObj *rect){
4700 0 : msSHPReadBounds(self->hSHP, i, rect);
4701 : }
4702 1 : SWIGINTERN int shapefileObj_add(shapefileObj *self,shapeObj *shape){
4703 : /* Trap NULL or empty shapes -- bug 1201 */
4704 1 : if (!shape)
4705 : {
4706 0 : msSetError(19, "Can't add NULL shape", "shapefileObj::add");
4707 : return MS_FAILURE;
4708 : }
4709 1 : else if (!shape->line)
4710 : {
4711 0 : msSetError(19, "Can't add empty shape", "shapefileObj::add");
4712 : return MS_FAILURE;
4713 : }
4714 :
4715 1 : return msSHPWriteShape(self->hSHP, shape);
4716 : }
4717 : SWIGINTERN int shapefileObj_addPoint(shapefileObj *self,pointObj *point){
4718 0 : return msSHPWritePoint(self->hSHP, point);
4719 : }
4720 : SWIGINTERN DBFInfo *shapefileObj_getDBF(shapefileObj *self){
4721 : return self->hDBF;
4722 : }
4723 0 : SWIGINTERN projectionObj *new_projectionObj(char *proj4){
4724 : int status;
4725 : projectionObj *proj=NULL;
4726 :
4727 0 : proj = (projectionObj *)malloc(sizeof(projectionObj));
4728 0 : if (!proj) return NULL;
4729 0 : msInitProjection(proj);
4730 :
4731 0 : status = msLoadProjectionString(proj, proj4);
4732 0 : if (status == -1) {
4733 0 : msFreeProjection(proj);
4734 0 : free(proj);
4735 0 : return NULL;
4736 : }
4737 :
4738 : return proj;
4739 : }
4740 : SWIGINTERN void delete_projectionObj(projectionObj *self){
4741 0 : msFreeProjection(self);
4742 0 : free(self);
4743 : }
4744 : SWIGINTERN int projectionObj_setWKTProjection(projectionObj *self,char *wkt){
4745 : /* no debug output here */
4746 0 : return msOGCWKT2ProjectionObj(wkt, self, 0);
4747 : }
4748 : SWIGINTERN int projectionObj_getUnits(projectionObj *self){
4749 0 : return GetMapserverUnitUsingProj(self);
4750 : }
4751 0 : SWIGINTERN colorObj *new_colorObj(int red,int green,int blue,int alpha){
4752 : colorObj *color;
4753 :
4754 : /* Check colors */
4755 0 : if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
4756 0 : red<-1 || green<-1 || blue<-1 || alpha<0 ) {
4757 0 : msSetError(12, "Invalid color", "colorObj()");
4758 0 : return NULL;
4759 : }
4760 :
4761 0 : color = (colorObj *)calloc(1, sizeof(colorObj));
4762 0 : if (!color)
4763 : return(NULL);
4764 :
4765 0 : MS_INIT_COLOR(*color, red, green, blue, alpha);
4766 :
4767 0 : return(color);
4768 : }
4769 : SWIGINTERN void delete_colorObj(colorObj *self){
4770 0 : free(self);
4771 : }
4772 0 : SWIGINTERN int colorObj_setRGB(colorObj *self,int red,int green,int blue,int alpha){
4773 : /* Check colors */
4774 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4775 0 : msSetError(12, "Invalid color index.", "setRGB()");
4776 0 : return MS_FAILURE;
4777 : }
4778 :
4779 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4780 0 : return MS_SUCCESS;
4781 : }
4782 0 : SWIGINTERN int colorObj_setHex(colorObj *self,char *psHexColor){
4783 : int red, green, blue, alpha = 255;
4784 0 : if (psHexColor && (strlen(psHexColor) == 7 || strlen(psHexColor) == 9) && psHexColor[0] == '#') {
4785 0 : red = msHexToInt(psHexColor+1);
4786 0 : green = msHexToInt(psHexColor+3);
4787 0 : blue= msHexToInt(psHexColor+5);
4788 0 : if (strlen(psHexColor) == 9) {
4789 0 : alpha = msHexToInt(psHexColor+7);
4790 : }
4791 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4792 0 : msSetError(12, "Invalid color index.", "setHex()");
4793 0 : return MS_FAILURE;
4794 : }
4795 :
4796 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4797 0 : return MS_SUCCESS;
4798 : }
4799 : else {
4800 0 : msSetError(12, "Invalid hex color.", "setHex()");
4801 0 : return MS_FAILURE;
4802 : }
4803 : }
4804 0 : SWIGINTERN char *colorObj_toHex(colorObj *self){
4805 : char *hexcolor;
4806 :
4807 0 : if (!self)
4808 : {
4809 0 : msSetError(12, "Can't express NULL color as hex",
4810 : "toHex()");
4811 0 : return NULL;
4812 : }
4813 0 : if (self->red < 0 || self->green < 0 || self->blue < 0)
4814 : {
4815 0 : msSetError(12, "Can't express invalid color as hex",
4816 : "toHex()");
4817 0 : return NULL;
4818 : }
4819 0 : if (self->alpha == 255) {
4820 0 : hexcolor = msSmallMalloc(8);
4821 0 : snprintf(hexcolor, 8, "#%02x%02x%02x",
4822 : self->red, self->green, self->blue);
4823 0 : } else if (self->alpha >= 0) {
4824 0 : hexcolor = msSmallMalloc(10);
4825 0 : snprintf(hexcolor, 10, "#%02x%02x%02x%02x",
4826 : self->red, self->green, self->blue, self->alpha);
4827 : } else {
4828 0 : msSetError(12, "Can't express color with invalid alpha as hex",
4829 : "toHex()");
4830 0 : return NULL;
4831 : }
4832 : return hexcolor;
4833 : }
4834 0 : SWIGINTERN struct symbolObj *new_symbolObj(char *symbolname,char const *imagefile){
4835 : symbolObj *symbol;
4836 0 : symbol = (symbolObj *) malloc(sizeof(symbolObj));
4837 0 : initSymbol(symbol);
4838 0 : symbol->name = msStrdup(symbolname);
4839 0 : if (imagefile) {
4840 0 : msLoadImageSymbol(symbol, imagefile);
4841 : }
4842 0 : return symbol;
4843 : }
4844 0 : SWIGINTERN void delete_symbolObj(struct symbolObj *self){
4845 0 : if (self) {
4846 0 : if (msFreeSymbol(self)==MS_SUCCESS) {
4847 0 : free(self);
4848 : self=NULL;
4849 : }
4850 : }
4851 0 : }
4852 : SWIGINTERN int symbolObj_setImagepath(struct symbolObj *self,char const *imagefile){
4853 0 : return msLoadImageSymbol(self, imagefile);
4854 : }
4855 0 : SWIGINTERN int symbolObj_setPoints(struct symbolObj *self,lineObj *line){
4856 : int i;
4857 0 : self->sizex = 0;
4858 0 : self->sizey = 0;
4859 0 : for (i=0; i<line->numpoints; i++) {
4860 0 : MS_COPYPOINT(&(self->points[i]), &(line->point[i]));
4861 0 : self->sizex = MS_MAX(self->sizex, self->points[i].x);
4862 0 : self->sizey = MS_MAX(self->sizey, self->points[i].y);
4863 : }
4864 0 : self->numpoints = line->numpoints;
4865 0 : return self->numpoints;
4866 : }
4867 0 : SWIGINTERN lineObj *symbolObj_getPoints(struct symbolObj *self){
4868 : int i;
4869 : lineObj *line;
4870 0 : line = (lineObj *) malloc(sizeof(lineObj));
4871 0 : line->point = (pointObj *) malloc(sizeof(pointObj)*(self->numpoints));
4872 0 : for (i=0; i<self->numpoints; i++) {
4873 0 : line->point[i].x = self->points[i].x;
4874 0 : line->point[i].y = self->points[i].y;
4875 : }
4876 0 : line->numpoints = self->numpoints;
4877 0 : return line;
4878 : }
4879 0 : SWIGINTERN imageObj *symbolObj_getImage(struct symbolObj *self,outputFormatObj *input_format){
4880 : imageObj *image = NULL;
4881 : outputFormatObj *format = NULL;
4882 : rendererVTableObj *renderer = NULL;
4883 :
4884 0 : if (input_format)
4885 : {
4886 : format = input_format;
4887 : }
4888 : else
4889 : {
4890 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
4891 0 : if (format)
4892 0 : msInitializeRendererVTable(format);
4893 : }
4894 :
4895 0 : if (format == NULL)
4896 : {
4897 0 : msSetError(15, "Could not create output format",
4898 : "getImage()");
4899 0 : return NULL;
4900 : }
4901 :
4902 0 : renderer = format->vtable;
4903 0 : msPreloadImageSymbol(renderer, self);
4904 0 : if (self->pixmap_buffer)
4905 : {
4906 0 : image = msImageCreate(self->pixmap_buffer->width, self->pixmap_buffer->height, format, NULL, NULL,
4907 : MS_DEFAULT_RESOLUTION, MS_DEFAULT_RESOLUTION, NULL);
4908 0 : if(!image) {
4909 0 : msSetError(15, "Could not create image",
4910 : "getImage()");
4911 0 : return NULL;
4912 : }
4913 0 : if(MS_SUCCESS != renderer->mergeRasterBuffer(image, self->pixmap_buffer, 1.0, 0, 0, 0, 0,
4914 0 : self->pixmap_buffer->width, self->pixmap_buffer->height)) {
4915 0 : msSetError(15, "Could not merge symbol image",
4916 : "getImage()");
4917 0 : msFreeImage(image);
4918 0 : return NULL;
4919 : }
4920 : }
4921 :
4922 : return image;
4923 : }
4924 0 : SWIGINTERN int symbolObj_setImage(struct symbolObj *self,imageObj *image){
4925 : rendererVTableObj *renderer = NULL;
4926 :
4927 0 : renderer = image->format->vtable;
4928 :
4929 0 : if (self->pixmap_buffer) {
4930 0 : msFreeRasterBuffer(self->pixmap_buffer);
4931 0 : free(self->pixmap_buffer);
4932 : }
4933 :
4934 0 : self->pixmap_buffer = (rasterBufferObj*)malloc(sizeof(rasterBufferObj));
4935 0 : if (!self->pixmap_buffer) {
4936 0 : msSetError(2, NULL, "setImage()");
4937 : return MS_FAILURE;
4938 : }
4939 0 : self->type = MS_SYMBOL_PIXMAP;
4940 0 : return renderer->getRasterBufferCopy(image, self->pixmap_buffer);
4941 : }
4942 : SWIGINTERN hashTableObj *new_hashTableObj(void){
4943 :
4944 0 : return msCreateHashTable();
4945 : }
4946 : SWIGINTERN void delete_hashTableObj(hashTableObj *self){
4947 1 : msFreeHashTable(self);
4948 : }
4949 : SWIGINTERN int hashTableObj_set(hashTableObj *self,char *key,char *value){
4950 0 : if (msInsertHashTable(self, key, value) == NULL) {
4951 : return MS_FAILURE;
4952 : }
4953 : return MS_SUCCESS;
4954 : }
4955 1 : SWIGINTERN char *hashTableObj_get(hashTableObj *self,char *key,char *default_value){
4956 : char *value = NULL;
4957 1 : if (!key) {
4958 0 : msSetError(16, "NULL key", "get");
4959 : }
4960 :
4961 1 : value = (char *) msLookupHashTable(self, key);
4962 1 : if (!value) {
4963 : return default_value;
4964 : }
4965 1 : return value;
4966 : }
4967 : SWIGINTERN int hashTableObj_remove(hashTableObj *self,char *key){
4968 0 : return msRemoveHashTable(self, key);
4969 : }
4970 : SWIGINTERN void hashTableObj_clear(hashTableObj *self){
4971 0 : msFreeHashItems(self);
4972 0 : initHashTable(self);
4973 : }
4974 : SWIGINTERN char const *hashTableObj_nextKey(hashTableObj *self,char *prevkey){
4975 0 : return msNextKeyFromHashTable(self, (const char *) prevkey);
4976 : }
4977 :
4978 1 : static char *msGetEnvURL( const char *key, void *thread_context )
4979 : {
4980 1 : if( strcmp(key,"REQUEST_METHOD") == 0 )
4981 : return "GET";
4982 :
4983 1 : if( strcmp(key,"QUERY_STRING") == 0 )
4984 : return (char *) thread_context;
4985 :
4986 1 : return NULL;
4987 : }
4988 :
4989 1 : SWIGINTERN cgiRequestObj *new_cgiRequestObj(void){
4990 : cgiRequestObj *request;
4991 :
4992 1 : request = msAllocCgiObj();
4993 1 : if (!request) {
4994 0 : msSetError(13, "Failed to initialize object","OWSRequest()");
4995 0 : return NULL;
4996 : }
4997 :
4998 : return request;
4999 : }
5000 : SWIGINTERN void delete_cgiRequestObj(cgiRequestObj *self){
5001 1 : msFreeCgiObj(self);
5002 : }
5003 : SWIGINTERN int cgiRequestObj_loadParams(cgiRequestObj *self){
5004 0 : self->NumParams = loadParams( self, NULL, NULL, 0, NULL);
5005 : return self->NumParams;
5006 : }
5007 : SWIGINTERN int cgiRequestObj_loadParamsFromURL(cgiRequestObj *self,char const *url){
5008 1 : self->NumParams = loadParams( self, msGetEnvURL, NULL, 0, (void*)url );
5009 : return self->NumParams;
5010 : }
5011 0 : SWIGINTERN void cgiRequestObj_setParameter(cgiRequestObj *self,char *name,char *value){
5012 : int i;
5013 :
5014 0 : if (self->NumParams == 100) {
5015 0 : msSetError(31, "Maximum number of items, %d, has been reached", "setItem()", 100);
5016 : }
5017 :
5018 0 : for (i=0; i<self->NumParams; i++) {
5019 0 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5020 0 : free(self->ParamValues[i]);
5021 0 : self->ParamValues[i] = msStrdup(value);
5022 0 : break;
5023 : }
5024 : }
5025 0 : if (i == self->NumParams) {
5026 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5027 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5028 0 : self->NumParams++;
5029 : }
5030 0 : }
5031 0 : SWIGINTERN void cgiRequestObj_addParameter(cgiRequestObj *self,char *name,char *value){
5032 0 : if (self->NumParams == 100) {
5033 0 : msSetError(31, "Maximum number of items, %d, has been reached", "addParameter()", 100);
5034 : }
5035 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5036 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5037 0 : self->NumParams++;
5038 0 : }
5039 1 : SWIGINTERN char *cgiRequestObj_getName(cgiRequestObj *self,int index){
5040 1 : if (index < 0 || index >= self->NumParams) {
5041 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getName()", self->NumParams-1);
5042 : return NULL;
5043 : }
5044 1 : return self->ParamNames[index];
5045 : }
5046 1 : SWIGINTERN char *cgiRequestObj_getValue(cgiRequestObj *self,int index){
5047 1 : if (index < 0 || index >= self->NumParams) {
5048 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getValue()", self->NumParams-1);
5049 : return NULL;
5050 : }
5051 1 : return self->ParamValues[index];
5052 : }
5053 1 : SWIGINTERN char *cgiRequestObj_getValueByName(cgiRequestObj *self,char const *name){
5054 : int i;
5055 1 : for (i=0; i<self->NumParams; i++) {
5056 1 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5057 1 : return self->ParamValues[i];
5058 : }
5059 : }
5060 : return NULL;
5061 : }
5062 :
5063 :
5064 0 : const char *msIO_getStdoutBufferString() {
5065 0 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5066 : msIOBuffer *buf;
5067 :
5068 0 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5069 0 : || strcmp(ctx->label,"buffer") != 0 )
5070 : {
5071 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5072 : "msIO_getStdoutBufferString" );
5073 0 : return "";
5074 : }
5075 :
5076 0 : buf = (msIOBuffer *) ctx->cbData;
5077 :
5078 : /* write one zero byte and backtrack if it isn't already there */
5079 0 : if( buf->data_len == 0 || buf->data[buf->data_offset] != '\0' ) {
5080 0 : msIO_bufferWrite( buf, "", 1 );
5081 0 : buf->data_offset--;
5082 : }
5083 :
5084 0 : return (const char *) (buf->data);
5085 : }
5086 :
5087 1 : gdBuffer msIO_getStdoutBufferBytes() {
5088 1 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5089 : msIOBuffer *buf;
5090 : gdBuffer gdBuf;
5091 :
5092 1 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5093 1 : || strcmp(ctx->label,"buffer") != 0 )
5094 : {
5095 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5096 : "msIO_getStdoutBufferString" );
5097 : gdBuf.data = (unsigned char*)"";
5098 : gdBuf.size = 0;
5099 : gdBuf.owns_data = MS_FALSE;
5100 0 : return gdBuf;
5101 : }
5102 :
5103 1 : buf = (msIOBuffer *) ctx->cbData;
5104 :
5105 1 : gdBuf.data = buf->data;
5106 1 : gdBuf.size = buf->data_offset;
5107 : gdBuf.owns_data = MS_TRUE;
5108 :
5109 : /* we are seizing ownership of the buffer contents */
5110 1 : buf->data_offset = 0;
5111 1 : buf->data_len = 0;
5112 1 : buf->data = NULL;
5113 :
5114 1 : return gdBuf;
5115 : }
5116 :
5117 :
5118 : #ifdef __cplusplus
5119 : extern "C" {
5120 : #endif
5121 :
5122 : #ifdef PERL_OBJECT
5123 : #define MAGIC_CLASS _wrap_mapscript_var::
5124 : class _wrap_mapscript_var : public CPerlObj {
5125 : public:
5126 : #else
5127 : #define MAGIC_CLASS
5128 : #endif
5129 : SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
5130 : MAGIC_PPERL
5131 : croak("Value is read-only.");
5132 : return 0;
5133 : }
5134 :
5135 :
5136 : #ifdef PERL_OBJECT
5137 : };
5138 : #endif
5139 :
5140 : #ifdef __cplusplus
5141 : }
5142 : #endif
5143 :
5144 : #ifdef __cplusplus
5145 : extern "C" {
5146 : #endif
5147 0 : XS(_wrap_new_intarray) {
5148 : {
5149 : size_t arg1 ;
5150 : size_t val1 ;
5151 : int ecode1 = 0 ;
5152 : int argvi = 0;
5153 : intarray *result = 0 ;
5154 0 : dXSARGS;
5155 :
5156 0 : if ((items < 1) || (items > 1)) {
5157 0 : SWIG_croak("Usage: new_intarray(nelements);");
5158 : }
5159 0 : ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5160 0 : if (!SWIG_IsOK(ecode1)) {
5161 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intarray" "', argument " "1"" of type '" "size_t""'");
5162 : }
5163 : arg1 = (size_t)(val1);
5164 : result = (intarray *)new_intarray(arg1);
5165 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5166 :
5167 0 : XSRETURN(argvi);
5168 0 : fail:
5169 :
5170 0 : SWIG_croak_null();
5171 : }
5172 : }
5173 :
5174 :
5175 0 : XS(_wrap_delete_intarray) {
5176 : {
5177 : intarray *arg1 = (intarray *) 0 ;
5178 0 : void *argp1 = 0 ;
5179 : int res1 = 0 ;
5180 : int argvi = 0;
5181 0 : dXSARGS;
5182 :
5183 0 : if ((items < 1) || (items > 1)) {
5184 0 : SWIG_croak("Usage: delete_intarray(self);");
5185 : }
5186 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, SWIG_POINTER_DISOWN | 0 );
5187 0 : if (!SWIG_IsOK(res1)) {
5188 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intarray" "', argument " "1"" of type '" "intarray *""'");
5189 : }
5190 0 : arg1 = (intarray *)(argp1);
5191 : delete_intarray(arg1);
5192 0 : ST(argvi) = sv_newmortal();
5193 :
5194 0 : XSRETURN(argvi);
5195 0 : fail:
5196 :
5197 0 : SWIG_croak_null();
5198 : }
5199 : }
5200 :
5201 :
5202 0 : XS(_wrap_intarray_getitem) {
5203 : {
5204 : intarray *arg1 = (intarray *) 0 ;
5205 : size_t arg2 ;
5206 0 : void *argp1 = 0 ;
5207 : int res1 = 0 ;
5208 : size_t val2 ;
5209 : int ecode2 = 0 ;
5210 : int argvi = 0;
5211 : int result;
5212 0 : dXSARGS;
5213 :
5214 0 : if ((items < 2) || (items > 2)) {
5215 0 : SWIG_croak("Usage: intarray_getitem(self,index);");
5216 : }
5217 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5218 0 : if (!SWIG_IsOK(res1)) {
5219 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_getitem" "', argument " "1"" of type '" "intarray *""'");
5220 : }
5221 0 : arg1 = (intarray *)(argp1);
5222 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5223 0 : if (!SWIG_IsOK(ecode2)) {
5224 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_getitem" "', argument " "2"" of type '" "size_t""'");
5225 : }
5226 : arg2 = (size_t)(val2);
5227 : result = (int)intarray_getitem(arg1,arg2);
5228 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5229 :
5230 :
5231 0 : XSRETURN(argvi);
5232 0 : fail:
5233 :
5234 :
5235 0 : SWIG_croak_null();
5236 : }
5237 : }
5238 :
5239 :
5240 0 : XS(_wrap_intarray_setitem) {
5241 : {
5242 : intarray *arg1 = (intarray *) 0 ;
5243 : size_t arg2 ;
5244 : int arg3 ;
5245 0 : void *argp1 = 0 ;
5246 : int res1 = 0 ;
5247 : size_t val2 ;
5248 : int ecode2 = 0 ;
5249 : int val3 ;
5250 : int ecode3 = 0 ;
5251 : int argvi = 0;
5252 0 : dXSARGS;
5253 :
5254 0 : if ((items < 3) || (items > 3)) {
5255 0 : SWIG_croak("Usage: intarray_setitem(self,index,value);");
5256 : }
5257 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5258 0 : if (!SWIG_IsOK(res1)) {
5259 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_setitem" "', argument " "1"" of type '" "intarray *""'");
5260 : }
5261 0 : arg1 = (intarray *)(argp1);
5262 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5263 0 : if (!SWIG_IsOK(ecode2)) {
5264 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_setitem" "', argument " "2"" of type '" "size_t""'");
5265 : }
5266 : arg2 = (size_t)(val2);
5267 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5268 0 : if (!SWIG_IsOK(ecode3)) {
5269 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intarray_setitem" "', argument " "3"" of type '" "int""'");
5270 : }
5271 : arg3 = (int)(val3);
5272 : intarray_setitem(arg1,arg2,arg3);
5273 0 : ST(argvi) = sv_newmortal();
5274 :
5275 :
5276 :
5277 0 : XSRETURN(argvi);
5278 0 : fail:
5279 :
5280 :
5281 :
5282 0 : SWIG_croak_null();
5283 : }
5284 : }
5285 :
5286 :
5287 0 : XS(_wrap_intarray_cast) {
5288 : {
5289 : intarray *arg1 = (intarray *) 0 ;
5290 0 : void *argp1 = 0 ;
5291 : int res1 = 0 ;
5292 : int argvi = 0;
5293 : int *result = 0 ;
5294 0 : dXSARGS;
5295 :
5296 0 : if ((items < 1) || (items > 1)) {
5297 0 : SWIG_croak("Usage: intarray_cast(self);");
5298 : }
5299 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5300 0 : if (!SWIG_IsOK(res1)) {
5301 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_cast" "', argument " "1"" of type '" "intarray *""'");
5302 : }
5303 0 : arg1 = (intarray *)(argp1);
5304 : result = (int *)intarray_cast(arg1);
5305 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
5306 :
5307 0 : XSRETURN(argvi);
5308 0 : fail:
5309 :
5310 0 : SWIG_croak_null();
5311 : }
5312 : }
5313 :
5314 :
5315 0 : XS(_wrap_intarray_frompointer) {
5316 : {
5317 : int *arg1 = (int *) 0 ;
5318 0 : void *argp1 = 0 ;
5319 : int res1 = 0 ;
5320 : int argvi = 0;
5321 : intarray *result = 0 ;
5322 0 : dXSARGS;
5323 :
5324 0 : if ((items < 1) || (items > 1)) {
5325 0 : SWIG_croak("Usage: intarray_frompointer(t);");
5326 : }
5327 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
5328 0 : if (!SWIG_IsOK(res1)) {
5329 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_frompointer" "', argument " "1"" of type '" "int *""'");
5330 : }
5331 0 : arg1 = (int *)(argp1);
5332 : result = (intarray *)intarray_frompointer(arg1);
5333 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, 0 | SWIG_SHADOW); argvi++ ;
5334 :
5335 0 : XSRETURN(argvi);
5336 0 : fail:
5337 :
5338 0 : SWIG_croak_null();
5339 : }
5340 : }
5341 :
5342 :
5343 0 : XS(_wrap_CompositingFilter_filter_set) {
5344 : {
5345 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5346 : char *arg2 = (char *) 0 ;
5347 0 : void *argp1 = 0 ;
5348 : int res1 = 0 ;
5349 : int res2 ;
5350 0 : char *buf2 = 0 ;
5351 0 : int alloc2 = 0 ;
5352 : int argvi = 0;
5353 0 : dXSARGS;
5354 :
5355 0 : if ((items < 2) || (items > 2)) {
5356 0 : SWIG_croak("Usage: CompositingFilter_filter_set(self,filter);");
5357 : }
5358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5359 0 : if (!SWIG_IsOK(res1)) {
5360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5361 : }
5362 0 : arg1 = (struct _CompositingFilter *)(argp1);
5363 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
5364 0 : if (!SWIG_IsOK(res2)) {
5365 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_filter_set" "', argument " "2"" of type '" "char *""'");
5366 : }
5367 0 : arg2 = (char *)(buf2);
5368 : {
5369 0 : if (arg1->filter) free((char*)arg1->filter);
5370 0 : if (arg2) {
5371 0 : arg1->filter = (char *) malloc(strlen(arg2)+1);
5372 : strcpy((char*)arg1->filter,arg2);
5373 : } else {
5374 0 : arg1->filter = 0;
5375 : }
5376 : }
5377 0 : ST(argvi) = sv_newmortal();
5378 :
5379 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5380 0 : XSRETURN(argvi);
5381 0 : fail:
5382 :
5383 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5384 0 : SWIG_croak_null();
5385 : }
5386 : }
5387 :
5388 :
5389 0 : XS(_wrap_CompositingFilter_filter_get) {
5390 : {
5391 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5392 0 : void *argp1 = 0 ;
5393 : int res1 = 0 ;
5394 : int argvi = 0;
5395 : char *result = 0 ;
5396 0 : dXSARGS;
5397 :
5398 0 : if ((items < 1) || (items > 1)) {
5399 0 : SWIG_croak("Usage: CompositingFilter_filter_get(self);");
5400 : }
5401 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5402 0 : if (!SWIG_IsOK(res1)) {
5403 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5404 : }
5405 0 : arg1 = (struct _CompositingFilter *)(argp1);
5406 0 : result = (char *) ((arg1)->filter);
5407 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5408 :
5409 0 : XSRETURN(argvi);
5410 0 : fail:
5411 :
5412 0 : SWIG_croak_null();
5413 : }
5414 : }
5415 :
5416 :
5417 0 : XS(_wrap_CompositingFilter_next_set) {
5418 : {
5419 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5420 : struct _CompositingFilter *arg2 = (struct _CompositingFilter *) 0 ;
5421 0 : void *argp1 = 0 ;
5422 : int res1 = 0 ;
5423 0 : void *argp2 = 0 ;
5424 : int res2 = 0 ;
5425 : int argvi = 0;
5426 0 : dXSARGS;
5427 :
5428 0 : if ((items < 2) || (items > 2)) {
5429 0 : SWIG_croak("Usage: CompositingFilter_next_set(self,next);");
5430 : }
5431 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5432 0 : if (!SWIG_IsOK(res1)) {
5433 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5434 : }
5435 0 : arg1 = (struct _CompositingFilter *)(argp1);
5436 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5437 0 : if (!SWIG_IsOK(res2)) {
5438 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_next_set" "', argument " "2"" of type '" "struct _CompositingFilter *""'");
5439 : }
5440 0 : arg2 = (struct _CompositingFilter *)(argp2);
5441 0 : if (arg1) (arg1)->next = arg2;
5442 0 : ST(argvi) = sv_newmortal();
5443 :
5444 :
5445 0 : XSRETURN(argvi);
5446 0 : fail:
5447 :
5448 :
5449 0 : SWIG_croak_null();
5450 : }
5451 : }
5452 :
5453 :
5454 0 : XS(_wrap_CompositingFilter_next_get) {
5455 : {
5456 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5457 0 : void *argp1 = 0 ;
5458 : int res1 = 0 ;
5459 : int argvi = 0;
5460 : struct _CompositingFilter *result = 0 ;
5461 0 : dXSARGS;
5462 :
5463 0 : if ((items < 1) || (items > 1)) {
5464 0 : SWIG_croak("Usage: CompositingFilter_next_get(self);");
5465 : }
5466 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5467 0 : if (!SWIG_IsOK(res1)) {
5468 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5469 : }
5470 0 : arg1 = (struct _CompositingFilter *)(argp1);
5471 0 : result = (struct _CompositingFilter *) ((arg1)->next);
5472 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5473 :
5474 0 : XSRETURN(argvi);
5475 0 : fail:
5476 :
5477 0 : SWIG_croak_null();
5478 : }
5479 : }
5480 :
5481 :
5482 0 : XS(_wrap_new_CompositingFilter) {
5483 : {
5484 : int argvi = 0;
5485 : struct _CompositingFilter *result = 0 ;
5486 0 : dXSARGS;
5487 :
5488 0 : if ((items < 0) || (items > 0)) {
5489 0 : SWIG_croak("Usage: new_CompositingFilter();");
5490 : }
5491 0 : result = (struct _CompositingFilter *)calloc(1, sizeof(struct _CompositingFilter));
5492 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5493 0 : XSRETURN(argvi);
5494 : fail:
5495 0 : SWIG_croak_null();
5496 : }
5497 : }
5498 :
5499 :
5500 0 : XS(_wrap_delete_CompositingFilter) {
5501 : {
5502 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5503 0 : void *argp1 = 0 ;
5504 : int res1 = 0 ;
5505 : int argvi = 0;
5506 0 : dXSARGS;
5507 :
5508 0 : if ((items < 1) || (items > 1)) {
5509 0 : SWIG_croak("Usage: delete_CompositingFilter(self);");
5510 : }
5511 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5512 0 : if (!SWIG_IsOK(res1)) {
5513 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositingFilter" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5514 : }
5515 0 : arg1 = (struct _CompositingFilter *)(argp1);
5516 0 : free((char *) arg1);
5517 0 : ST(argvi) = sv_newmortal();
5518 :
5519 0 : XSRETURN(argvi);
5520 0 : fail:
5521 :
5522 0 : SWIG_croak_null();
5523 : }
5524 : }
5525 :
5526 :
5527 0 : XS(_wrap_LayerCompositer_comp_op_set) {
5528 : {
5529 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5530 : CompositingOperation arg2 ;
5531 0 : void *argp1 = 0 ;
5532 : int res1 = 0 ;
5533 : int val2 ;
5534 : int ecode2 = 0 ;
5535 : int argvi = 0;
5536 0 : dXSARGS;
5537 :
5538 0 : if ((items < 2) || (items > 2)) {
5539 0 : SWIG_croak("Usage: LayerCompositer_comp_op_set(self,comp_op);");
5540 : }
5541 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5542 0 : if (!SWIG_IsOK(res1)) {
5543 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5544 : }
5545 0 : arg1 = (struct _LayerCompositer *)(argp1);
5546 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5547 0 : if (!SWIG_IsOK(ecode2)) {
5548 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_comp_op_set" "', argument " "2"" of type '" "CompositingOperation""'");
5549 : }
5550 0 : arg2 = (CompositingOperation)(val2);
5551 0 : if (arg1) (arg1)->comp_op = arg2;
5552 0 : ST(argvi) = sv_newmortal();
5553 :
5554 :
5555 0 : XSRETURN(argvi);
5556 0 : fail:
5557 :
5558 :
5559 0 : SWIG_croak_null();
5560 : }
5561 : }
5562 :
5563 :
5564 0 : XS(_wrap_LayerCompositer_comp_op_get) {
5565 : {
5566 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5567 0 : void *argp1 = 0 ;
5568 : int res1 = 0 ;
5569 : int argvi = 0;
5570 : CompositingOperation result;
5571 0 : dXSARGS;
5572 :
5573 0 : if ((items < 1) || (items > 1)) {
5574 0 : SWIG_croak("Usage: LayerCompositer_comp_op_get(self);");
5575 : }
5576 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5577 0 : if (!SWIG_IsOK(res1)) {
5578 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5579 : }
5580 0 : arg1 = (struct _LayerCompositer *)(argp1);
5581 0 : result = (CompositingOperation) ((arg1)->comp_op);
5582 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5583 :
5584 0 : XSRETURN(argvi);
5585 0 : fail:
5586 :
5587 0 : SWIG_croak_null();
5588 : }
5589 : }
5590 :
5591 :
5592 0 : XS(_wrap_LayerCompositer_opacity_set) {
5593 : {
5594 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5595 : int arg2 ;
5596 0 : void *argp1 = 0 ;
5597 : int res1 = 0 ;
5598 : int val2 ;
5599 : int ecode2 = 0 ;
5600 : int argvi = 0;
5601 0 : dXSARGS;
5602 :
5603 0 : if ((items < 2) || (items > 2)) {
5604 0 : SWIG_croak("Usage: LayerCompositer_opacity_set(self,opacity);");
5605 : }
5606 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5607 0 : if (!SWIG_IsOK(res1)) {
5608 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5609 : }
5610 0 : arg1 = (struct _LayerCompositer *)(argp1);
5611 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5612 0 : if (!SWIG_IsOK(ecode2)) {
5613 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_opacity_set" "', argument " "2"" of type '" "int""'");
5614 : }
5615 : arg2 = (int)(val2);
5616 0 : if (arg1) (arg1)->opacity = arg2;
5617 0 : ST(argvi) = sv_newmortal();
5618 :
5619 :
5620 0 : XSRETURN(argvi);
5621 0 : fail:
5622 :
5623 :
5624 0 : SWIG_croak_null();
5625 : }
5626 : }
5627 :
5628 :
5629 0 : XS(_wrap_LayerCompositer_opacity_get) {
5630 : {
5631 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5632 0 : void *argp1 = 0 ;
5633 : int res1 = 0 ;
5634 : int argvi = 0;
5635 : int result;
5636 0 : dXSARGS;
5637 :
5638 0 : if ((items < 1) || (items > 1)) {
5639 0 : SWIG_croak("Usage: LayerCompositer_opacity_get(self);");
5640 : }
5641 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5642 0 : if (!SWIG_IsOK(res1)) {
5643 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5644 : }
5645 0 : arg1 = (struct _LayerCompositer *)(argp1);
5646 0 : result = (int) ((arg1)->opacity);
5647 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5648 :
5649 0 : XSRETURN(argvi);
5650 0 : fail:
5651 :
5652 0 : SWIG_croak_null();
5653 : }
5654 : }
5655 :
5656 :
5657 0 : XS(_wrap_LayerCompositer_filter_set) {
5658 : {
5659 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5660 : CompositingFilter *arg2 = (CompositingFilter *) 0 ;
5661 0 : void *argp1 = 0 ;
5662 : int res1 = 0 ;
5663 0 : void *argp2 = 0 ;
5664 : int res2 = 0 ;
5665 : int argvi = 0;
5666 0 : dXSARGS;
5667 :
5668 0 : if ((items < 2) || (items > 2)) {
5669 0 : SWIG_croak("Usage: LayerCompositer_filter_set(self,filter);");
5670 : }
5671 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5672 0 : if (!SWIG_IsOK(res1)) {
5673 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5674 : }
5675 0 : arg1 = (struct _LayerCompositer *)(argp1);
5676 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5677 0 : if (!SWIG_IsOK(res2)) {
5678 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_filter_set" "', argument " "2"" of type '" "CompositingFilter *""'");
5679 : }
5680 0 : arg2 = (CompositingFilter *)(argp2);
5681 0 : if (arg1) (arg1)->filter = arg2;
5682 0 : ST(argvi) = sv_newmortal();
5683 :
5684 :
5685 0 : XSRETURN(argvi);
5686 0 : fail:
5687 :
5688 :
5689 0 : SWIG_croak_null();
5690 : }
5691 : }
5692 :
5693 :
5694 0 : XS(_wrap_LayerCompositer_filter_get) {
5695 : {
5696 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5697 0 : void *argp1 = 0 ;
5698 : int res1 = 0 ;
5699 : int argvi = 0;
5700 : CompositingFilter *result = 0 ;
5701 0 : dXSARGS;
5702 :
5703 0 : if ((items < 1) || (items > 1)) {
5704 0 : SWIG_croak("Usage: LayerCompositer_filter_get(self);");
5705 : }
5706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5707 0 : if (!SWIG_IsOK(res1)) {
5708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5709 : }
5710 0 : arg1 = (struct _LayerCompositer *)(argp1);
5711 0 : result = (CompositingFilter *) ((arg1)->filter);
5712 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5713 :
5714 0 : XSRETURN(argvi);
5715 0 : fail:
5716 :
5717 0 : SWIG_croak_null();
5718 : }
5719 : }
5720 :
5721 :
5722 0 : XS(_wrap_LayerCompositer_next_set) {
5723 : {
5724 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5725 : struct _LayerCompositer *arg2 = (struct _LayerCompositer *) 0 ;
5726 0 : void *argp1 = 0 ;
5727 : int res1 = 0 ;
5728 0 : void *argp2 = 0 ;
5729 : int res2 = 0 ;
5730 : int argvi = 0;
5731 0 : dXSARGS;
5732 :
5733 0 : if ((items < 2) || (items > 2)) {
5734 0 : SWIG_croak("Usage: LayerCompositer_next_set(self,next);");
5735 : }
5736 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5737 0 : if (!SWIG_IsOK(res1)) {
5738 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5739 : }
5740 0 : arg1 = (struct _LayerCompositer *)(argp1);
5741 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5742 0 : if (!SWIG_IsOK(res2)) {
5743 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_next_set" "', argument " "2"" of type '" "struct _LayerCompositer *""'");
5744 : }
5745 0 : arg2 = (struct _LayerCompositer *)(argp2);
5746 0 : if (arg1) (arg1)->next = arg2;
5747 0 : ST(argvi) = sv_newmortal();
5748 :
5749 :
5750 0 : XSRETURN(argvi);
5751 0 : fail:
5752 :
5753 :
5754 0 : SWIG_croak_null();
5755 : }
5756 : }
5757 :
5758 :
5759 0 : XS(_wrap_LayerCompositer_next_get) {
5760 : {
5761 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5762 0 : void *argp1 = 0 ;
5763 : int res1 = 0 ;
5764 : int argvi = 0;
5765 : struct _LayerCompositer *result = 0 ;
5766 0 : dXSARGS;
5767 :
5768 0 : if ((items < 1) || (items > 1)) {
5769 0 : SWIG_croak("Usage: LayerCompositer_next_get(self);");
5770 : }
5771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5772 0 : if (!SWIG_IsOK(res1)) {
5773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5774 : }
5775 0 : arg1 = (struct _LayerCompositer *)(argp1);
5776 0 : result = (struct _LayerCompositer *) ((arg1)->next);
5777 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
5778 :
5779 0 : XSRETURN(argvi);
5780 0 : fail:
5781 :
5782 0 : SWIG_croak_null();
5783 : }
5784 : }
5785 :
5786 :
5787 0 : XS(_wrap_new_LayerCompositer) {
5788 : {
5789 : int argvi = 0;
5790 : struct _LayerCompositer *result = 0 ;
5791 0 : dXSARGS;
5792 :
5793 0 : if ((items < 0) || (items > 0)) {
5794 0 : SWIG_croak("Usage: new_LayerCompositer();");
5795 : }
5796 0 : result = (struct _LayerCompositer *)calloc(1, sizeof(struct _LayerCompositer));
5797 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5798 0 : XSRETURN(argvi);
5799 : fail:
5800 0 : SWIG_croak_null();
5801 : }
5802 : }
5803 :
5804 :
5805 0 : XS(_wrap_delete_LayerCompositer) {
5806 : {
5807 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5808 0 : void *argp1 = 0 ;
5809 : int res1 = 0 ;
5810 : int argvi = 0;
5811 0 : dXSARGS;
5812 :
5813 0 : if ((items < 1) || (items > 1)) {
5814 0 : SWIG_croak("Usage: delete_LayerCompositer(self);");
5815 : }
5816 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5817 0 : if (!SWIG_IsOK(res1)) {
5818 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayerCompositer" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5819 : }
5820 0 : arg1 = (struct _LayerCompositer *)(argp1);
5821 0 : free((char *) arg1);
5822 0 : ST(argvi) = sv_newmortal();
5823 :
5824 0 : XSRETURN(argvi);
5825 0 : fail:
5826 :
5827 0 : SWIG_croak_null();
5828 : }
5829 : }
5830 :
5831 :
5832 0 : XS(_wrap_fontSetObj_filename_get) {
5833 : {
5834 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5835 0 : void *argp1 = 0 ;
5836 : int res1 = 0 ;
5837 : int argvi = 0;
5838 : char *result = 0 ;
5839 0 : dXSARGS;
5840 :
5841 0 : if ((items < 1) || (items > 1)) {
5842 0 : SWIG_croak("Usage: fontSetObj_filename_get(self);");
5843 : }
5844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5845 0 : if (!SWIG_IsOK(res1)) {
5846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_filename_get" "', argument " "1"" of type '" "fontSetObj *""'");
5847 : }
5848 0 : arg1 = (fontSetObj *)(argp1);
5849 0 : result = (char *) ((arg1)->filename);
5850 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5851 :
5852 0 : XSRETURN(argvi);
5853 0 : fail:
5854 :
5855 0 : SWIG_croak_null();
5856 : }
5857 : }
5858 :
5859 :
5860 0 : XS(_wrap_fontSetObj_numfonts_get) {
5861 : {
5862 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5863 0 : void *argp1 = 0 ;
5864 : int res1 = 0 ;
5865 : int argvi = 0;
5866 : int result;
5867 0 : dXSARGS;
5868 :
5869 0 : if ((items < 1) || (items > 1)) {
5870 0 : SWIG_croak("Usage: fontSetObj_numfonts_get(self);");
5871 : }
5872 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5873 0 : if (!SWIG_IsOK(res1)) {
5874 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_numfonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5875 : }
5876 0 : arg1 = (fontSetObj *)(argp1);
5877 0 : result = (int) ((arg1)->numfonts);
5878 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5879 :
5880 0 : XSRETURN(argvi);
5881 0 : fail:
5882 :
5883 0 : SWIG_croak_null();
5884 : }
5885 : }
5886 :
5887 :
5888 0 : XS(_wrap_fontSetObj_fonts_get) {
5889 : {
5890 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5891 0 : void *argp1 = 0 ;
5892 : int res1 = 0 ;
5893 : int argvi = 0;
5894 : hashTableObj *result = 0 ;
5895 0 : dXSARGS;
5896 :
5897 0 : if ((items < 1) || (items > 1)) {
5898 0 : SWIG_croak("Usage: fontSetObj_fonts_get(self);");
5899 : }
5900 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5901 0 : if (!SWIG_IsOK(res1)) {
5902 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_fonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5903 : }
5904 0 : arg1 = (fontSetObj *)(argp1);
5905 0 : result = (hashTableObj *)& ((arg1)->fonts);
5906 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
5907 :
5908 0 : XSRETURN(argvi);
5909 0 : fail:
5910 :
5911 0 : SWIG_croak_null();
5912 : }
5913 : }
5914 :
5915 :
5916 0 : XS(_wrap_new_fontSetObj) {
5917 : {
5918 : int argvi = 0;
5919 : fontSetObj *result = 0 ;
5920 0 : dXSARGS;
5921 :
5922 0 : if ((items < 0) || (items > 0)) {
5923 0 : SWIG_croak("Usage: new_fontSetObj();");
5924 : }
5925 0 : result = (fontSetObj *)calloc(1, sizeof(fontSetObj));
5926 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5927 0 : XSRETURN(argvi);
5928 : fail:
5929 0 : SWIG_croak_null();
5930 : }
5931 : }
5932 :
5933 :
5934 0 : XS(_wrap_delete_fontSetObj) {
5935 : {
5936 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5937 0 : void *argp1 = 0 ;
5938 : int res1 = 0 ;
5939 : int argvi = 0;
5940 0 : dXSARGS;
5941 :
5942 0 : if ((items < 1) || (items > 1)) {
5943 0 : SWIG_croak("Usage: delete_fontSetObj(self);");
5944 : }
5945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, SWIG_POINTER_DISOWN | 0 );
5946 0 : if (!SWIG_IsOK(res1)) {
5947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fontSetObj" "', argument " "1"" of type '" "fontSetObj *""'");
5948 : }
5949 0 : arg1 = (fontSetObj *)(argp1);
5950 0 : free((char *) arg1);
5951 0 : ST(argvi) = sv_newmortal();
5952 :
5953 0 : XSRETURN(argvi);
5954 0 : fail:
5955 :
5956 0 : SWIG_croak_null();
5957 : }
5958 : }
5959 :
5960 :
5961 0 : XS(_wrap_clusterObj_maxdistance_set) {
5962 : {
5963 : clusterObj *arg1 = (clusterObj *) 0 ;
5964 : double arg2 ;
5965 0 : void *argp1 = 0 ;
5966 : int res1 = 0 ;
5967 : double val2 ;
5968 : int ecode2 = 0 ;
5969 : int argvi = 0;
5970 0 : dXSARGS;
5971 :
5972 0 : if ((items < 2) || (items > 2)) {
5973 0 : SWIG_croak("Usage: clusterObj_maxdistance_set(self,maxdistance);");
5974 : }
5975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
5976 0 : if (!SWIG_IsOK(res1)) {
5977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_set" "', argument " "1"" of type '" "clusterObj *""'");
5978 : }
5979 0 : arg1 = (clusterObj *)(argp1);
5980 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5981 0 : if (!SWIG_IsOK(ecode2)) {
5982 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_maxdistance_set" "', argument " "2"" of type '" "double""'");
5983 : }
5984 0 : arg2 = (double)(val2);
5985 0 : if (arg1) (arg1)->maxdistance = arg2;
5986 0 : ST(argvi) = sv_newmortal();
5987 :
5988 :
5989 0 : XSRETURN(argvi);
5990 0 : fail:
5991 :
5992 :
5993 0 : SWIG_croak_null();
5994 : }
5995 : }
5996 :
5997 :
5998 0 : XS(_wrap_clusterObj_maxdistance_get) {
5999 : {
6000 : clusterObj *arg1 = (clusterObj *) 0 ;
6001 0 : void *argp1 = 0 ;
6002 : int res1 = 0 ;
6003 : int argvi = 0;
6004 : double result;
6005 0 : dXSARGS;
6006 :
6007 0 : if ((items < 1) || (items > 1)) {
6008 0 : SWIG_croak("Usage: clusterObj_maxdistance_get(self);");
6009 : }
6010 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6011 0 : if (!SWIG_IsOK(res1)) {
6012 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_get" "', argument " "1"" of type '" "clusterObj *""'");
6013 : }
6014 0 : arg1 = (clusterObj *)(argp1);
6015 0 : result = (double) ((arg1)->maxdistance);
6016 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6017 :
6018 0 : XSRETURN(argvi);
6019 0 : fail:
6020 :
6021 0 : SWIG_croak_null();
6022 : }
6023 : }
6024 :
6025 :
6026 0 : XS(_wrap_clusterObj_buffer_set) {
6027 : {
6028 : clusterObj *arg1 = (clusterObj *) 0 ;
6029 : double arg2 ;
6030 0 : void *argp1 = 0 ;
6031 : int res1 = 0 ;
6032 : double val2 ;
6033 : int ecode2 = 0 ;
6034 : int argvi = 0;
6035 0 : dXSARGS;
6036 :
6037 0 : if ((items < 2) || (items > 2)) {
6038 0 : SWIG_croak("Usage: clusterObj_buffer_set(self,buffer);");
6039 : }
6040 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6041 0 : if (!SWIG_IsOK(res1)) {
6042 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_set" "', argument " "1"" of type '" "clusterObj *""'");
6043 : }
6044 0 : arg1 = (clusterObj *)(argp1);
6045 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6046 0 : if (!SWIG_IsOK(ecode2)) {
6047 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_buffer_set" "', argument " "2"" of type '" "double""'");
6048 : }
6049 0 : arg2 = (double)(val2);
6050 0 : if (arg1) (arg1)->buffer = arg2;
6051 0 : ST(argvi) = sv_newmortal();
6052 :
6053 :
6054 0 : XSRETURN(argvi);
6055 0 : fail:
6056 :
6057 :
6058 0 : SWIG_croak_null();
6059 : }
6060 : }
6061 :
6062 :
6063 0 : XS(_wrap_clusterObj_buffer_get) {
6064 : {
6065 : clusterObj *arg1 = (clusterObj *) 0 ;
6066 0 : void *argp1 = 0 ;
6067 : int res1 = 0 ;
6068 : int argvi = 0;
6069 : double result;
6070 0 : dXSARGS;
6071 :
6072 0 : if ((items < 1) || (items > 1)) {
6073 0 : SWIG_croak("Usage: clusterObj_buffer_get(self);");
6074 : }
6075 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6076 0 : if (!SWIG_IsOK(res1)) {
6077 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_get" "', argument " "1"" of type '" "clusterObj *""'");
6078 : }
6079 0 : arg1 = (clusterObj *)(argp1);
6080 0 : result = (double) ((arg1)->buffer);
6081 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6082 :
6083 0 : XSRETURN(argvi);
6084 0 : fail:
6085 :
6086 0 : SWIG_croak_null();
6087 : }
6088 : }
6089 :
6090 :
6091 0 : XS(_wrap_clusterObj_region_set) {
6092 : {
6093 : clusterObj *arg1 = (clusterObj *) 0 ;
6094 : char *arg2 = (char *) 0 ;
6095 0 : void *argp1 = 0 ;
6096 : int res1 = 0 ;
6097 : int res2 ;
6098 0 : char *buf2 = 0 ;
6099 0 : int alloc2 = 0 ;
6100 : int argvi = 0;
6101 0 : dXSARGS;
6102 :
6103 0 : if ((items < 2) || (items > 2)) {
6104 0 : SWIG_croak("Usage: clusterObj_region_set(self,region);");
6105 : }
6106 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6107 0 : if (!SWIG_IsOK(res1)) {
6108 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_set" "', argument " "1"" of type '" "clusterObj *""'");
6109 : }
6110 0 : arg1 = (clusterObj *)(argp1);
6111 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6112 0 : if (!SWIG_IsOK(res2)) {
6113 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_region_set" "', argument " "2"" of type '" "char *""'");
6114 : }
6115 0 : arg2 = (char *)(buf2);
6116 : {
6117 0 : if (arg1->region) free((char*)arg1->region);
6118 0 : if (arg2) {
6119 0 : arg1->region = (char *) malloc(strlen(arg2)+1);
6120 : strcpy((char*)arg1->region,arg2);
6121 : } else {
6122 0 : arg1->region = 0;
6123 : }
6124 : }
6125 0 : ST(argvi) = sv_newmortal();
6126 :
6127 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6128 0 : XSRETURN(argvi);
6129 0 : fail:
6130 :
6131 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6132 0 : SWIG_croak_null();
6133 : }
6134 : }
6135 :
6136 :
6137 0 : XS(_wrap_clusterObj_region_get) {
6138 : {
6139 : clusterObj *arg1 = (clusterObj *) 0 ;
6140 0 : void *argp1 = 0 ;
6141 : int res1 = 0 ;
6142 : int argvi = 0;
6143 : char *result = 0 ;
6144 0 : dXSARGS;
6145 :
6146 0 : if ((items < 1) || (items > 1)) {
6147 0 : SWIG_croak("Usage: clusterObj_region_get(self);");
6148 : }
6149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6150 0 : if (!SWIG_IsOK(res1)) {
6151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_get" "', argument " "1"" of type '" "clusterObj *""'");
6152 : }
6153 0 : arg1 = (clusterObj *)(argp1);
6154 0 : result = (char *) ((arg1)->region);
6155 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6156 :
6157 0 : XSRETURN(argvi);
6158 0 : fail:
6159 :
6160 0 : SWIG_croak_null();
6161 : }
6162 : }
6163 :
6164 :
6165 0 : XS(_wrap_clusterObj_updateFromString) {
6166 : {
6167 : clusterObj *arg1 = (clusterObj *) 0 ;
6168 : char *arg2 = (char *) 0 ;
6169 0 : void *argp1 = 0 ;
6170 : int res1 = 0 ;
6171 : int res2 ;
6172 0 : char *buf2 = 0 ;
6173 0 : int alloc2 = 0 ;
6174 : int argvi = 0;
6175 : int result;
6176 0 : dXSARGS;
6177 :
6178 0 : if ((items < 2) || (items > 2)) {
6179 0 : SWIG_croak("Usage: clusterObj_updateFromString(self,snippet);");
6180 : }
6181 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6182 0 : if (!SWIG_IsOK(res1)) {
6183 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_updateFromString" "', argument " "1"" of type '" "clusterObj *""'");
6184 : }
6185 0 : arg1 = (clusterObj *)(argp1);
6186 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6187 0 : if (!SWIG_IsOK(res2)) {
6188 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_updateFromString" "', argument " "2"" of type '" "char *""'");
6189 : }
6190 0 : arg2 = (char *)(buf2);
6191 : result = (int)clusterObj_updateFromString(arg1,arg2);
6192 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6193 :
6194 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6195 0 : XSRETURN(argvi);
6196 0 : fail:
6197 :
6198 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6199 0 : SWIG_croak_null();
6200 : }
6201 : }
6202 :
6203 :
6204 0 : XS(_wrap_clusterObj_convertToString) {
6205 : {
6206 : clusterObj *arg1 = (clusterObj *) 0 ;
6207 0 : void *argp1 = 0 ;
6208 : int res1 = 0 ;
6209 : int argvi = 0;
6210 : char *result = 0 ;
6211 0 : dXSARGS;
6212 :
6213 0 : if ((items < 1) || (items > 1)) {
6214 0 : SWIG_croak("Usage: clusterObj_convertToString(self);");
6215 : }
6216 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6217 0 : if (!SWIG_IsOK(res1)) {
6218 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_convertToString" "', argument " "1"" of type '" "clusterObj *""'");
6219 : }
6220 0 : arg1 = (clusterObj *)(argp1);
6221 : result = (char *)clusterObj_convertToString(arg1);
6222 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6223 :
6224 0 : free((char*)result);
6225 0 : XSRETURN(argvi);
6226 0 : fail:
6227 :
6228 0 : SWIG_croak_null();
6229 : }
6230 : }
6231 :
6232 :
6233 0 : XS(_wrap_clusterObj_setGroup) {
6234 : {
6235 : clusterObj *arg1 = (clusterObj *) 0 ;
6236 : char *arg2 = (char *) 0 ;
6237 0 : void *argp1 = 0 ;
6238 : int res1 = 0 ;
6239 : int res2 ;
6240 0 : char *buf2 = 0 ;
6241 0 : int alloc2 = 0 ;
6242 : int argvi = 0;
6243 : int result;
6244 0 : dXSARGS;
6245 :
6246 0 : if ((items < 2) || (items > 2)) {
6247 0 : SWIG_croak("Usage: clusterObj_setGroup(self,group);");
6248 : }
6249 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6250 0 : if (!SWIG_IsOK(res1)) {
6251 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setGroup" "', argument " "1"" of type '" "clusterObj *""'");
6252 : }
6253 0 : arg1 = (clusterObj *)(argp1);
6254 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6255 0 : if (!SWIG_IsOK(res2)) {
6256 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setGroup" "', argument " "2"" of type '" "char *""'");
6257 : }
6258 0 : arg2 = (char *)(buf2);
6259 0 : result = (int)clusterObj_setGroup(arg1,arg2);
6260 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6261 :
6262 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6263 0 : XSRETURN(argvi);
6264 0 : fail:
6265 :
6266 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6267 0 : SWIG_croak_null();
6268 : }
6269 : }
6270 :
6271 :
6272 0 : XS(_wrap_clusterObj_getGroupString) {
6273 : {
6274 : clusterObj *arg1 = (clusterObj *) 0 ;
6275 0 : void *argp1 = 0 ;
6276 : int res1 = 0 ;
6277 : int argvi = 0;
6278 : char *result = 0 ;
6279 0 : dXSARGS;
6280 :
6281 0 : if ((items < 1) || (items > 1)) {
6282 0 : SWIG_croak("Usage: clusterObj_getGroupString(self);");
6283 : }
6284 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6285 0 : if (!SWIG_IsOK(res1)) {
6286 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getGroupString" "', argument " "1"" of type '" "clusterObj *""'");
6287 : }
6288 0 : arg1 = (clusterObj *)(argp1);
6289 : result = (char *)clusterObj_getGroupString(arg1);
6290 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6291 :
6292 0 : free((char*)result);
6293 0 : XSRETURN(argvi);
6294 0 : fail:
6295 :
6296 0 : SWIG_croak_null();
6297 : }
6298 : }
6299 :
6300 :
6301 0 : XS(_wrap_clusterObj_setFilter) {
6302 : {
6303 : clusterObj *arg1 = (clusterObj *) 0 ;
6304 : char *arg2 = (char *) 0 ;
6305 0 : void *argp1 = 0 ;
6306 : int res1 = 0 ;
6307 : int res2 ;
6308 0 : char *buf2 = 0 ;
6309 0 : int alloc2 = 0 ;
6310 : int argvi = 0;
6311 : int result;
6312 0 : dXSARGS;
6313 :
6314 0 : if ((items < 2) || (items > 2)) {
6315 0 : SWIG_croak("Usage: clusterObj_setFilter(self,filter);");
6316 : }
6317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6318 0 : if (!SWIG_IsOK(res1)) {
6319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setFilter" "', argument " "1"" of type '" "clusterObj *""'");
6320 : }
6321 0 : arg1 = (clusterObj *)(argp1);
6322 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6323 0 : if (!SWIG_IsOK(res2)) {
6324 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setFilter" "', argument " "2"" of type '" "char *""'");
6325 : }
6326 0 : arg2 = (char *)(buf2);
6327 0 : result = (int)clusterObj_setFilter(arg1,arg2);
6328 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6329 :
6330 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6331 0 : XSRETURN(argvi);
6332 0 : fail:
6333 :
6334 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6335 0 : SWIG_croak_null();
6336 : }
6337 : }
6338 :
6339 :
6340 0 : XS(_wrap_clusterObj_getFilterString) {
6341 : {
6342 : clusterObj *arg1 = (clusterObj *) 0 ;
6343 0 : void *argp1 = 0 ;
6344 : int res1 = 0 ;
6345 : int argvi = 0;
6346 : char *result = 0 ;
6347 0 : dXSARGS;
6348 :
6349 0 : if ((items < 1) || (items > 1)) {
6350 0 : SWIG_croak("Usage: clusterObj_getFilterString(self);");
6351 : }
6352 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6353 0 : if (!SWIG_IsOK(res1)) {
6354 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getFilterString" "', argument " "1"" of type '" "clusterObj *""'");
6355 : }
6356 0 : arg1 = (clusterObj *)(argp1);
6357 : result = (char *)clusterObj_getFilterString(arg1);
6358 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6359 :
6360 0 : free((char*)result);
6361 0 : XSRETURN(argvi);
6362 0 : fail:
6363 :
6364 0 : SWIG_croak_null();
6365 : }
6366 : }
6367 :
6368 :
6369 0 : XS(_wrap_new_clusterObj) {
6370 : {
6371 : int argvi = 0;
6372 : clusterObj *result = 0 ;
6373 0 : dXSARGS;
6374 :
6375 0 : if ((items < 0) || (items > 0)) {
6376 0 : SWIG_croak("Usage: new_clusterObj();");
6377 : }
6378 0 : result = (clusterObj *)calloc(1, sizeof(clusterObj));
6379 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6380 0 : XSRETURN(argvi);
6381 : fail:
6382 0 : SWIG_croak_null();
6383 : }
6384 : }
6385 :
6386 :
6387 0 : XS(_wrap_delete_clusterObj) {
6388 : {
6389 : clusterObj *arg1 = (clusterObj *) 0 ;
6390 0 : void *argp1 = 0 ;
6391 : int res1 = 0 ;
6392 : int argvi = 0;
6393 0 : dXSARGS;
6394 :
6395 0 : if ((items < 1) || (items > 1)) {
6396 0 : SWIG_croak("Usage: delete_clusterObj(self);");
6397 : }
6398 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, SWIG_POINTER_DISOWN | 0 );
6399 0 : if (!SWIG_IsOK(res1)) {
6400 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_clusterObj" "', argument " "1"" of type '" "clusterObj *""'");
6401 : }
6402 0 : arg1 = (clusterObj *)(argp1);
6403 0 : free((char *) arg1);
6404 0 : ST(argvi) = sv_newmortal();
6405 :
6406 0 : XSRETURN(argvi);
6407 0 : fail:
6408 :
6409 0 : SWIG_croak_null();
6410 : }
6411 : }
6412 :
6413 :
6414 0 : XS(_wrap_outputFormatObj_numformatoptions_get) {
6415 : {
6416 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6417 0 : void *argp1 = 0 ;
6418 : int res1 = 0 ;
6419 : int argvi = 0;
6420 : int result;
6421 0 : dXSARGS;
6422 :
6423 0 : if ((items < 1) || (items > 1)) {
6424 0 : SWIG_croak("Usage: outputFormatObj_numformatoptions_get(self);");
6425 : }
6426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6427 0 : if (!SWIG_IsOK(res1)) {
6428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_numformatoptions_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6429 : }
6430 0 : arg1 = (outputFormatObj *)(argp1);
6431 0 : result = (int) ((arg1)->numformatoptions);
6432 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6433 :
6434 0 : XSRETURN(argvi);
6435 0 : fail:
6436 :
6437 0 : SWIG_croak_null();
6438 : }
6439 : }
6440 :
6441 :
6442 0 : XS(_wrap_outputFormatObj_name_set) {
6443 : {
6444 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6445 : char *arg2 = (char *) 0 ;
6446 0 : void *argp1 = 0 ;
6447 : int res1 = 0 ;
6448 : int res2 ;
6449 0 : char *buf2 = 0 ;
6450 0 : int alloc2 = 0 ;
6451 : int argvi = 0;
6452 0 : dXSARGS;
6453 :
6454 0 : if ((items < 2) || (items > 2)) {
6455 0 : SWIG_croak("Usage: outputFormatObj_name_set(self,name);");
6456 : }
6457 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6458 0 : if (!SWIG_IsOK(res1)) {
6459 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6460 : }
6461 0 : arg1 = (outputFormatObj *)(argp1);
6462 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6463 0 : if (!SWIG_IsOK(res2)) {
6464 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_name_set" "', argument " "2"" of type '" "char *""'");
6465 : }
6466 0 : arg2 = (char *)(buf2);
6467 : {
6468 0 : if (arg1->name) free((char*)arg1->name);
6469 0 : if (arg2) {
6470 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
6471 : strcpy((char*)arg1->name,arg2);
6472 : } else {
6473 0 : arg1->name = 0;
6474 : }
6475 : }
6476 0 : ST(argvi) = sv_newmortal();
6477 :
6478 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6479 0 : XSRETURN(argvi);
6480 0 : fail:
6481 :
6482 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6483 0 : SWIG_croak_null();
6484 : }
6485 : }
6486 :
6487 :
6488 0 : XS(_wrap_outputFormatObj_name_get) {
6489 : {
6490 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6491 0 : void *argp1 = 0 ;
6492 : int res1 = 0 ;
6493 : int argvi = 0;
6494 : char *result = 0 ;
6495 0 : dXSARGS;
6496 :
6497 0 : if ((items < 1) || (items > 1)) {
6498 0 : SWIG_croak("Usage: outputFormatObj_name_get(self);");
6499 : }
6500 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6501 0 : if (!SWIG_IsOK(res1)) {
6502 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6503 : }
6504 0 : arg1 = (outputFormatObj *)(argp1);
6505 0 : result = (char *) ((arg1)->name);
6506 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6507 :
6508 0 : XSRETURN(argvi);
6509 0 : fail:
6510 :
6511 0 : SWIG_croak_null();
6512 : }
6513 : }
6514 :
6515 :
6516 0 : XS(_wrap_outputFormatObj_mimetype_set) {
6517 : {
6518 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6519 : char *arg2 = (char *) 0 ;
6520 0 : void *argp1 = 0 ;
6521 : int res1 = 0 ;
6522 : int res2 ;
6523 0 : char *buf2 = 0 ;
6524 0 : int alloc2 = 0 ;
6525 : int argvi = 0;
6526 0 : dXSARGS;
6527 :
6528 0 : if ((items < 2) || (items > 2)) {
6529 0 : SWIG_croak("Usage: outputFormatObj_mimetype_set(self,mimetype);");
6530 : }
6531 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6532 0 : if (!SWIG_IsOK(res1)) {
6533 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6534 : }
6535 0 : arg1 = (outputFormatObj *)(argp1);
6536 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6537 0 : if (!SWIG_IsOK(res2)) {
6538 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_mimetype_set" "', argument " "2"" of type '" "char *""'");
6539 : }
6540 0 : arg2 = (char *)(buf2);
6541 : {
6542 0 : if (arg1->mimetype) free((char*)arg1->mimetype);
6543 0 : if (arg2) {
6544 0 : arg1->mimetype = (char *) malloc(strlen(arg2)+1);
6545 : strcpy((char*)arg1->mimetype,arg2);
6546 : } else {
6547 0 : arg1->mimetype = 0;
6548 : }
6549 : }
6550 0 : ST(argvi) = sv_newmortal();
6551 :
6552 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6553 0 : XSRETURN(argvi);
6554 0 : fail:
6555 :
6556 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6557 0 : SWIG_croak_null();
6558 : }
6559 : }
6560 :
6561 :
6562 0 : XS(_wrap_outputFormatObj_mimetype_get) {
6563 : {
6564 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6565 0 : void *argp1 = 0 ;
6566 : int res1 = 0 ;
6567 : int argvi = 0;
6568 : char *result = 0 ;
6569 0 : dXSARGS;
6570 :
6571 0 : if ((items < 1) || (items > 1)) {
6572 0 : SWIG_croak("Usage: outputFormatObj_mimetype_get(self);");
6573 : }
6574 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6575 0 : if (!SWIG_IsOK(res1)) {
6576 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6577 : }
6578 0 : arg1 = (outputFormatObj *)(argp1);
6579 0 : result = (char *) ((arg1)->mimetype);
6580 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6581 :
6582 0 : XSRETURN(argvi);
6583 0 : fail:
6584 :
6585 0 : SWIG_croak_null();
6586 : }
6587 : }
6588 :
6589 :
6590 0 : XS(_wrap_outputFormatObj_driver_set) {
6591 : {
6592 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6593 : char *arg2 = (char *) 0 ;
6594 0 : void *argp1 = 0 ;
6595 : int res1 = 0 ;
6596 : int res2 ;
6597 0 : char *buf2 = 0 ;
6598 0 : int alloc2 = 0 ;
6599 : int argvi = 0;
6600 0 : dXSARGS;
6601 :
6602 0 : if ((items < 2) || (items > 2)) {
6603 0 : SWIG_croak("Usage: outputFormatObj_driver_set(self,driver);");
6604 : }
6605 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6606 0 : if (!SWIG_IsOK(res1)) {
6607 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6608 : }
6609 0 : arg1 = (outputFormatObj *)(argp1);
6610 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6611 0 : if (!SWIG_IsOK(res2)) {
6612 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_driver_set" "', argument " "2"" of type '" "char *""'");
6613 : }
6614 0 : arg2 = (char *)(buf2);
6615 : {
6616 0 : if (arg1->driver) free((char*)arg1->driver);
6617 0 : if (arg2) {
6618 0 : arg1->driver = (char *) malloc(strlen(arg2)+1);
6619 : strcpy((char*)arg1->driver,arg2);
6620 : } else {
6621 0 : arg1->driver = 0;
6622 : }
6623 : }
6624 0 : ST(argvi) = sv_newmortal();
6625 :
6626 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6627 0 : XSRETURN(argvi);
6628 0 : fail:
6629 :
6630 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6631 0 : SWIG_croak_null();
6632 : }
6633 : }
6634 :
6635 :
6636 0 : XS(_wrap_outputFormatObj_driver_get) {
6637 : {
6638 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6639 0 : void *argp1 = 0 ;
6640 : int res1 = 0 ;
6641 : int argvi = 0;
6642 : char *result = 0 ;
6643 0 : dXSARGS;
6644 :
6645 0 : if ((items < 1) || (items > 1)) {
6646 0 : SWIG_croak("Usage: outputFormatObj_driver_get(self);");
6647 : }
6648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6649 0 : if (!SWIG_IsOK(res1)) {
6650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6651 : }
6652 0 : arg1 = (outputFormatObj *)(argp1);
6653 0 : result = (char *) ((arg1)->driver);
6654 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6655 :
6656 0 : XSRETURN(argvi);
6657 0 : fail:
6658 :
6659 0 : SWIG_croak_null();
6660 : }
6661 : }
6662 :
6663 :
6664 0 : XS(_wrap_outputFormatObj_extension_set) {
6665 : {
6666 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6667 : char *arg2 = (char *) 0 ;
6668 0 : void *argp1 = 0 ;
6669 : int res1 = 0 ;
6670 : int res2 ;
6671 0 : char *buf2 = 0 ;
6672 0 : int alloc2 = 0 ;
6673 : int argvi = 0;
6674 0 : dXSARGS;
6675 :
6676 0 : if ((items < 2) || (items > 2)) {
6677 0 : SWIG_croak("Usage: outputFormatObj_extension_set(self,extension);");
6678 : }
6679 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6680 0 : if (!SWIG_IsOK(res1)) {
6681 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6682 : }
6683 0 : arg1 = (outputFormatObj *)(argp1);
6684 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6685 0 : if (!SWIG_IsOK(res2)) {
6686 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_extension_set" "', argument " "2"" of type '" "char *""'");
6687 : }
6688 0 : arg2 = (char *)(buf2);
6689 : {
6690 0 : if (arg1->extension) free((char*)arg1->extension);
6691 0 : if (arg2) {
6692 0 : arg1->extension = (char *) malloc(strlen(arg2)+1);
6693 : strcpy((char*)arg1->extension,arg2);
6694 : } else {
6695 0 : arg1->extension = 0;
6696 : }
6697 : }
6698 0 : ST(argvi) = sv_newmortal();
6699 :
6700 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6701 0 : XSRETURN(argvi);
6702 0 : fail:
6703 :
6704 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6705 0 : SWIG_croak_null();
6706 : }
6707 : }
6708 :
6709 :
6710 0 : XS(_wrap_outputFormatObj_extension_get) {
6711 : {
6712 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6713 0 : void *argp1 = 0 ;
6714 : int res1 = 0 ;
6715 : int argvi = 0;
6716 : char *result = 0 ;
6717 0 : dXSARGS;
6718 :
6719 0 : if ((items < 1) || (items > 1)) {
6720 0 : SWIG_croak("Usage: outputFormatObj_extension_get(self);");
6721 : }
6722 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6723 0 : if (!SWIG_IsOK(res1)) {
6724 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6725 : }
6726 0 : arg1 = (outputFormatObj *)(argp1);
6727 0 : result = (char *) ((arg1)->extension);
6728 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6729 :
6730 0 : XSRETURN(argvi);
6731 0 : fail:
6732 :
6733 0 : SWIG_croak_null();
6734 : }
6735 : }
6736 :
6737 :
6738 0 : XS(_wrap_outputFormatObj_renderer_set) {
6739 : {
6740 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6741 : int arg2 ;
6742 0 : void *argp1 = 0 ;
6743 : int res1 = 0 ;
6744 : int val2 ;
6745 : int ecode2 = 0 ;
6746 : int argvi = 0;
6747 0 : dXSARGS;
6748 :
6749 0 : if ((items < 2) || (items > 2)) {
6750 0 : SWIG_croak("Usage: outputFormatObj_renderer_set(self,renderer);");
6751 : }
6752 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6753 0 : if (!SWIG_IsOK(res1)) {
6754 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6755 : }
6756 0 : arg1 = (outputFormatObj *)(argp1);
6757 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6758 0 : if (!SWIG_IsOK(ecode2)) {
6759 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_renderer_set" "', argument " "2"" of type '" "int""'");
6760 : }
6761 : arg2 = (int)(val2);
6762 0 : if (arg1) (arg1)->renderer = arg2;
6763 0 : ST(argvi) = sv_newmortal();
6764 :
6765 :
6766 0 : XSRETURN(argvi);
6767 0 : fail:
6768 :
6769 :
6770 0 : SWIG_croak_null();
6771 : }
6772 : }
6773 :
6774 :
6775 0 : XS(_wrap_outputFormatObj_renderer_get) {
6776 : {
6777 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6778 0 : void *argp1 = 0 ;
6779 : int res1 = 0 ;
6780 : int argvi = 0;
6781 : int result;
6782 0 : dXSARGS;
6783 :
6784 0 : if ((items < 1) || (items > 1)) {
6785 0 : SWIG_croak("Usage: outputFormatObj_renderer_get(self);");
6786 : }
6787 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6788 0 : if (!SWIG_IsOK(res1)) {
6789 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6790 : }
6791 0 : arg1 = (outputFormatObj *)(argp1);
6792 0 : result = (int) ((arg1)->renderer);
6793 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6794 :
6795 0 : XSRETURN(argvi);
6796 0 : fail:
6797 :
6798 0 : SWIG_croak_null();
6799 : }
6800 : }
6801 :
6802 :
6803 0 : XS(_wrap_outputFormatObj_imagemode_set) {
6804 : {
6805 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6806 : int arg2 ;
6807 0 : void *argp1 = 0 ;
6808 : int res1 = 0 ;
6809 : int val2 ;
6810 : int ecode2 = 0 ;
6811 : int argvi = 0;
6812 0 : dXSARGS;
6813 :
6814 0 : if ((items < 2) || (items > 2)) {
6815 0 : SWIG_croak("Usage: outputFormatObj_imagemode_set(self,imagemode);");
6816 : }
6817 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6818 0 : if (!SWIG_IsOK(res1)) {
6819 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6820 : }
6821 0 : arg1 = (outputFormatObj *)(argp1);
6822 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6823 0 : if (!SWIG_IsOK(ecode2)) {
6824 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_imagemode_set" "', argument " "2"" of type '" "int""'");
6825 : }
6826 : arg2 = (int)(val2);
6827 0 : if (arg1) (arg1)->imagemode = arg2;
6828 0 : ST(argvi) = sv_newmortal();
6829 :
6830 :
6831 0 : XSRETURN(argvi);
6832 0 : fail:
6833 :
6834 :
6835 0 : SWIG_croak_null();
6836 : }
6837 : }
6838 :
6839 :
6840 0 : XS(_wrap_outputFormatObj_imagemode_get) {
6841 : {
6842 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6843 0 : void *argp1 = 0 ;
6844 : int res1 = 0 ;
6845 : int argvi = 0;
6846 : int result;
6847 0 : dXSARGS;
6848 :
6849 0 : if ((items < 1) || (items > 1)) {
6850 0 : SWIG_croak("Usage: outputFormatObj_imagemode_get(self);");
6851 : }
6852 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6853 0 : if (!SWIG_IsOK(res1)) {
6854 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6855 : }
6856 0 : arg1 = (outputFormatObj *)(argp1);
6857 0 : result = (int) ((arg1)->imagemode);
6858 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6859 :
6860 0 : XSRETURN(argvi);
6861 0 : fail:
6862 :
6863 0 : SWIG_croak_null();
6864 : }
6865 : }
6866 :
6867 :
6868 0 : XS(_wrap_outputFormatObj_transparent_set) {
6869 : {
6870 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6871 : int arg2 ;
6872 0 : void *argp1 = 0 ;
6873 : int res1 = 0 ;
6874 : int val2 ;
6875 : int ecode2 = 0 ;
6876 : int argvi = 0;
6877 0 : dXSARGS;
6878 :
6879 0 : if ((items < 2) || (items > 2)) {
6880 0 : SWIG_croak("Usage: outputFormatObj_transparent_set(self,transparent);");
6881 : }
6882 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6883 0 : if (!SWIG_IsOK(res1)) {
6884 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6885 : }
6886 0 : arg1 = (outputFormatObj *)(argp1);
6887 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6888 0 : if (!SWIG_IsOK(ecode2)) {
6889 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_transparent_set" "', argument " "2"" of type '" "int""'");
6890 : }
6891 : arg2 = (int)(val2);
6892 0 : if (arg1) (arg1)->transparent = arg2;
6893 0 : ST(argvi) = sv_newmortal();
6894 :
6895 :
6896 0 : XSRETURN(argvi);
6897 0 : fail:
6898 :
6899 :
6900 0 : SWIG_croak_null();
6901 : }
6902 : }
6903 :
6904 :
6905 0 : XS(_wrap_outputFormatObj_transparent_get) {
6906 : {
6907 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6908 0 : void *argp1 = 0 ;
6909 : int res1 = 0 ;
6910 : int argvi = 0;
6911 : int result;
6912 0 : dXSARGS;
6913 :
6914 0 : if ((items < 1) || (items > 1)) {
6915 0 : SWIG_croak("Usage: outputFormatObj_transparent_get(self);");
6916 : }
6917 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6918 0 : if (!SWIG_IsOK(res1)) {
6919 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6920 : }
6921 0 : arg1 = (outputFormatObj *)(argp1);
6922 0 : result = (int) ((arg1)->transparent);
6923 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6924 :
6925 0 : XSRETURN(argvi);
6926 0 : fail:
6927 :
6928 0 : SWIG_croak_null();
6929 : }
6930 : }
6931 :
6932 :
6933 0 : XS(_wrap_outputFormatObj_bands_set) {
6934 : {
6935 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6936 : int arg2 ;
6937 0 : void *argp1 = 0 ;
6938 : int res1 = 0 ;
6939 : int val2 ;
6940 : int ecode2 = 0 ;
6941 : int argvi = 0;
6942 0 : dXSARGS;
6943 :
6944 0 : if ((items < 2) || (items > 2)) {
6945 0 : SWIG_croak("Usage: outputFormatObj_bands_set(self,bands);");
6946 : }
6947 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6948 0 : if (!SWIG_IsOK(res1)) {
6949 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6950 : }
6951 0 : arg1 = (outputFormatObj *)(argp1);
6952 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6953 0 : if (!SWIG_IsOK(ecode2)) {
6954 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_bands_set" "', argument " "2"" of type '" "int""'");
6955 : }
6956 : arg2 = (int)(val2);
6957 0 : if (arg1) (arg1)->bands = arg2;
6958 0 : ST(argvi) = sv_newmortal();
6959 :
6960 :
6961 0 : XSRETURN(argvi);
6962 0 : fail:
6963 :
6964 :
6965 0 : SWIG_croak_null();
6966 : }
6967 : }
6968 :
6969 :
6970 0 : XS(_wrap_outputFormatObj_bands_get) {
6971 : {
6972 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6973 0 : void *argp1 = 0 ;
6974 : int res1 = 0 ;
6975 : int argvi = 0;
6976 : int result;
6977 0 : dXSARGS;
6978 :
6979 0 : if ((items < 1) || (items > 1)) {
6980 0 : SWIG_croak("Usage: outputFormatObj_bands_get(self);");
6981 : }
6982 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6983 0 : if (!SWIG_IsOK(res1)) {
6984 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6985 : }
6986 0 : arg1 = (outputFormatObj *)(argp1);
6987 0 : result = (int) ((arg1)->bands);
6988 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6989 :
6990 0 : XSRETURN(argvi);
6991 0 : fail:
6992 :
6993 0 : SWIG_croak_null();
6994 : }
6995 : }
6996 :
6997 :
6998 0 : XS(_wrap_outputFormatObj_inmapfile_set) {
6999 : {
7000 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7001 : int arg2 ;
7002 0 : void *argp1 = 0 ;
7003 : int res1 = 0 ;
7004 : int val2 ;
7005 : int ecode2 = 0 ;
7006 : int argvi = 0;
7007 0 : dXSARGS;
7008 :
7009 0 : if ((items < 2) || (items > 2)) {
7010 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_set(self,inmapfile);");
7011 : }
7012 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7013 0 : if (!SWIG_IsOK(res1)) {
7014 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_set" "', argument " "1"" of type '" "outputFormatObj *""'");
7015 : }
7016 0 : arg1 = (outputFormatObj *)(argp1);
7017 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7018 0 : if (!SWIG_IsOK(ecode2)) {
7019 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
7020 : }
7021 : arg2 = (int)(val2);
7022 0 : if (arg1) (arg1)->inmapfile = arg2;
7023 0 : ST(argvi) = sv_newmortal();
7024 :
7025 :
7026 0 : XSRETURN(argvi);
7027 0 : fail:
7028 :
7029 :
7030 0 : SWIG_croak_null();
7031 : }
7032 : }
7033 :
7034 :
7035 0 : XS(_wrap_outputFormatObj_inmapfile_get) {
7036 : {
7037 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7038 0 : void *argp1 = 0 ;
7039 : int res1 = 0 ;
7040 : int argvi = 0;
7041 : int result;
7042 0 : dXSARGS;
7043 :
7044 0 : if ((items < 1) || (items > 1)) {
7045 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_get(self);");
7046 : }
7047 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7048 0 : if (!SWIG_IsOK(res1)) {
7049 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_get" "', argument " "1"" of type '" "outputFormatObj *""'");
7050 : }
7051 0 : arg1 = (outputFormatObj *)(argp1);
7052 0 : result = (int) ((arg1)->inmapfile);
7053 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7054 :
7055 0 : XSRETURN(argvi);
7056 0 : fail:
7057 :
7058 0 : SWIG_croak_null();
7059 : }
7060 : }
7061 :
7062 :
7063 0 : XS(_wrap_new_outputFormatObj) {
7064 : {
7065 : char *arg1 = (char *) 0 ;
7066 : char *arg2 = (char *) NULL ;
7067 : int res1 ;
7068 0 : char *buf1 = 0 ;
7069 0 : int alloc1 = 0 ;
7070 : int res2 ;
7071 0 : char *buf2 = 0 ;
7072 0 : int alloc2 = 0 ;
7073 : int argvi = 0;
7074 : outputFormatObj *result = 0 ;
7075 0 : dXSARGS;
7076 :
7077 0 : if ((items < 1) || (items > 2)) {
7078 0 : SWIG_croak("Usage: new_outputFormatObj(driver,name);");
7079 : }
7080 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
7081 0 : if (!SWIG_IsOK(res1)) {
7082 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_outputFormatObj" "', argument " "1"" of type '" "char const *""'");
7083 : }
7084 0 : arg1 = (char *)(buf1);
7085 0 : if (items > 1) {
7086 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7087 0 : if (!SWIG_IsOK(res2)) {
7088 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_outputFormatObj" "', argument " "2"" of type '" "char *""'");
7089 : }
7090 0 : arg2 = (char *)(buf2);
7091 : }
7092 0 : result = (outputFormatObj *)new_outputFormatObj((char const *)arg1,arg2);
7093 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7094 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7095 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7096 0 : XSRETURN(argvi);
7097 0 : fail:
7098 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7099 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7100 0 : SWIG_croak_null();
7101 : }
7102 : }
7103 :
7104 :
7105 0 : XS(_wrap_delete_outputFormatObj) {
7106 : {
7107 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7108 0 : void *argp1 = 0 ;
7109 : int res1 = 0 ;
7110 : int argvi = 0;
7111 0 : dXSARGS;
7112 :
7113 0 : if ((items < 1) || (items > 1)) {
7114 0 : SWIG_croak("Usage: delete_outputFormatObj(self);");
7115 : }
7116 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, SWIG_POINTER_DISOWN | 0 );
7117 0 : if (!SWIG_IsOK(res1)) {
7118 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_outputFormatObj" "', argument " "1"" of type '" "outputFormatObj *""'");
7119 : }
7120 0 : arg1 = (outputFormatObj *)(argp1);
7121 : delete_outputFormatObj(arg1);
7122 0 : ST(argvi) = sv_newmortal();
7123 :
7124 0 : XSRETURN(argvi);
7125 0 : fail:
7126 :
7127 0 : SWIG_croak_null();
7128 : }
7129 : }
7130 :
7131 :
7132 0 : XS(_wrap_outputFormatObj_setExtension) {
7133 : {
7134 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7135 : char *arg2 = (char *) 0 ;
7136 0 : void *argp1 = 0 ;
7137 : int res1 = 0 ;
7138 : int res2 ;
7139 0 : char *buf2 = 0 ;
7140 0 : int alloc2 = 0 ;
7141 : int argvi = 0;
7142 0 : dXSARGS;
7143 :
7144 0 : if ((items < 2) || (items > 2)) {
7145 0 : SWIG_croak("Usage: outputFormatObj_setExtension(self,extension);");
7146 : }
7147 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7148 0 : if (!SWIG_IsOK(res1)) {
7149 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setExtension" "', argument " "1"" of type '" "outputFormatObj *""'");
7150 : }
7151 0 : arg1 = (outputFormatObj *)(argp1);
7152 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7153 0 : if (!SWIG_IsOK(res2)) {
7154 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setExtension" "', argument " "2"" of type '" "char const *""'");
7155 : }
7156 0 : arg2 = (char *)(buf2);
7157 : outputFormatObj_setExtension(arg1,(char const *)arg2);
7158 0 : ST(argvi) = sv_newmortal();
7159 :
7160 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7161 0 : XSRETURN(argvi);
7162 0 : fail:
7163 :
7164 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7165 0 : SWIG_croak_null();
7166 : }
7167 : }
7168 :
7169 :
7170 0 : XS(_wrap_outputFormatObj_setMimetype) {
7171 : {
7172 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7173 : char *arg2 = (char *) 0 ;
7174 0 : void *argp1 = 0 ;
7175 : int res1 = 0 ;
7176 : int res2 ;
7177 0 : char *buf2 = 0 ;
7178 0 : int alloc2 = 0 ;
7179 : int argvi = 0;
7180 0 : dXSARGS;
7181 :
7182 0 : if ((items < 2) || (items > 2)) {
7183 0 : SWIG_croak("Usage: outputFormatObj_setMimetype(self,mimetype);");
7184 : }
7185 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7186 0 : if (!SWIG_IsOK(res1)) {
7187 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setMimetype" "', argument " "1"" of type '" "outputFormatObj *""'");
7188 : }
7189 0 : arg1 = (outputFormatObj *)(argp1);
7190 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7191 0 : if (!SWIG_IsOK(res2)) {
7192 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setMimetype" "', argument " "2"" of type '" "char const *""'");
7193 : }
7194 0 : arg2 = (char *)(buf2);
7195 : outputFormatObj_setMimetype(arg1,(char const *)arg2);
7196 0 : ST(argvi) = sv_newmortal();
7197 :
7198 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7199 0 : XSRETURN(argvi);
7200 0 : fail:
7201 :
7202 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7203 0 : SWIG_croak_null();
7204 : }
7205 : }
7206 :
7207 :
7208 0 : XS(_wrap_outputFormatObj_setOption) {
7209 : {
7210 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7211 : char *arg2 = (char *) 0 ;
7212 : char *arg3 = (char *) 0 ;
7213 0 : void *argp1 = 0 ;
7214 : int res1 = 0 ;
7215 : int res2 ;
7216 0 : char *buf2 = 0 ;
7217 0 : int alloc2 = 0 ;
7218 : int res3 ;
7219 0 : char *buf3 = 0 ;
7220 0 : int alloc3 = 0 ;
7221 : int argvi = 0;
7222 0 : dXSARGS;
7223 :
7224 0 : if ((items < 3) || (items > 3)) {
7225 0 : SWIG_croak("Usage: outputFormatObj_setOption(self,key,value);");
7226 : }
7227 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7228 0 : if (!SWIG_IsOK(res1)) {
7229 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7230 : }
7231 0 : arg1 = (outputFormatObj *)(argp1);
7232 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7233 0 : if (!SWIG_IsOK(res2)) {
7234 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setOption" "', argument " "2"" of type '" "char const *""'");
7235 : }
7236 0 : arg2 = (char *)(buf2);
7237 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7238 0 : if (!SWIG_IsOK(res3)) {
7239 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_setOption" "', argument " "3"" of type '" "char const *""'");
7240 : }
7241 0 : arg3 = (char *)(buf3);
7242 : outputFormatObj_setOption(arg1,(char const *)arg2,(char const *)arg3);
7243 0 : ST(argvi) = sv_newmortal();
7244 :
7245 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7246 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7247 0 : XSRETURN(argvi);
7248 0 : fail:
7249 :
7250 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7251 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7252 0 : SWIG_croak_null();
7253 : }
7254 : }
7255 :
7256 :
7257 0 : XS(_wrap_outputFormatObj_validate) {
7258 : {
7259 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7260 0 : void *argp1 = 0 ;
7261 : int res1 = 0 ;
7262 : int argvi = 0;
7263 : int result;
7264 0 : dXSARGS;
7265 :
7266 0 : if ((items < 1) || (items > 1)) {
7267 0 : SWIG_croak("Usage: outputFormatObj_validate(self);");
7268 : }
7269 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7270 0 : if (!SWIG_IsOK(res1)) {
7271 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_validate" "', argument " "1"" of type '" "outputFormatObj *""'");
7272 : }
7273 0 : arg1 = (outputFormatObj *)(argp1);
7274 : result = (int)outputFormatObj_validate(arg1);
7275 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7276 :
7277 0 : XSRETURN(argvi);
7278 0 : fail:
7279 :
7280 0 : SWIG_croak_null();
7281 : }
7282 : }
7283 :
7284 :
7285 0 : XS(_wrap_outputFormatObj_getOption) {
7286 : {
7287 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7288 : char *arg2 = (char *) 0 ;
7289 : char *arg3 = (char *) "" ;
7290 0 : void *argp1 = 0 ;
7291 : int res1 = 0 ;
7292 : int res2 ;
7293 0 : char *buf2 = 0 ;
7294 0 : int alloc2 = 0 ;
7295 : int res3 ;
7296 0 : char *buf3 = 0 ;
7297 0 : int alloc3 = 0 ;
7298 : int argvi = 0;
7299 : char *result = 0 ;
7300 0 : dXSARGS;
7301 :
7302 0 : if ((items < 2) || (items > 3)) {
7303 0 : SWIG_croak("Usage: outputFormatObj_getOption(self,key,value);");
7304 : }
7305 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7306 0 : if (!SWIG_IsOK(res1)) {
7307 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7308 : }
7309 0 : arg1 = (outputFormatObj *)(argp1);
7310 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7311 0 : if (!SWIG_IsOK(res2)) {
7312 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_getOption" "', argument " "2"" of type '" "char const *""'");
7313 : }
7314 0 : arg2 = (char *)(buf2);
7315 0 : if (items > 2) {
7316 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7317 0 : if (!SWIG_IsOK(res3)) {
7318 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_getOption" "', argument " "3"" of type '" "char const *""'");
7319 : }
7320 0 : arg3 = (char *)(buf3);
7321 : }
7322 : result = (char *)outputFormatObj_getOption(arg1,(char const *)arg2,(char const *)arg3);
7323 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7324 :
7325 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7326 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7327 0 : free((char*)result);
7328 0 : XSRETURN(argvi);
7329 0 : fail:
7330 :
7331 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7332 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7333 0 : SWIG_croak_null();
7334 : }
7335 : }
7336 :
7337 :
7338 0 : XS(_wrap_outputFormatObj_getOptionAt) {
7339 : {
7340 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7341 : int arg2 ;
7342 0 : void *argp1 = 0 ;
7343 : int res1 = 0 ;
7344 : int val2 ;
7345 : int ecode2 = 0 ;
7346 : int argvi = 0;
7347 : char *result = 0 ;
7348 0 : dXSARGS;
7349 :
7350 0 : if ((items < 2) || (items > 2)) {
7351 0 : SWIG_croak("Usage: outputFormatObj_getOptionAt(self,i);");
7352 : }
7353 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7354 0 : if (!SWIG_IsOK(res1)) {
7355 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOptionAt" "', argument " "1"" of type '" "outputFormatObj *""'");
7356 : }
7357 0 : arg1 = (outputFormatObj *)(argp1);
7358 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7359 0 : if (!SWIG_IsOK(ecode2)) {
7360 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_getOptionAt" "', argument " "2"" of type '" "int""'");
7361 : }
7362 : arg2 = (int)(val2);
7363 : result = (char *)outputFormatObj_getOptionAt(arg1,arg2);
7364 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7365 :
7366 :
7367 0 : free((char*)result);
7368 0 : XSRETURN(argvi);
7369 0 : fail:
7370 :
7371 :
7372 0 : SWIG_croak_null();
7373 : }
7374 : }
7375 :
7376 :
7377 0 : XS(_wrap_outputFormatObj_attachDevice) {
7378 : {
7379 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7380 0 : void *arg2 = (void *) 0 ;
7381 0 : void *argp1 = 0 ;
7382 : int res1 = 0 ;
7383 : int res2 ;
7384 : int argvi = 0;
7385 0 : dXSARGS;
7386 :
7387 0 : if ((items < 2) || (items > 2)) {
7388 0 : SWIG_croak("Usage: outputFormatObj_attachDevice(self,device);");
7389 : }
7390 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7391 0 : if (!SWIG_IsOK(res1)) {
7392 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_attachDevice" "', argument " "1"" of type '" "outputFormatObj *""'");
7393 : }
7394 0 : arg1 = (outputFormatObj *)(argp1);
7395 0 : res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
7396 0 : if (!SWIG_IsOK(res2)) {
7397 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_attachDevice" "', argument " "2"" of type '" "void *""'");
7398 : }
7399 0 : outputFormatObj_attachDevice(arg1,arg2);
7400 0 : ST(argvi) = sv_newmortal();
7401 :
7402 :
7403 0 : XSRETURN(argvi);
7404 0 : fail:
7405 :
7406 :
7407 0 : SWIG_croak_null();
7408 : }
7409 : }
7410 :
7411 :
7412 0 : XS(_wrap_queryMapObj_height_set) {
7413 : {
7414 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7415 : int arg2 ;
7416 0 : void *argp1 = 0 ;
7417 : int res1 = 0 ;
7418 : int val2 ;
7419 : int ecode2 = 0 ;
7420 : int argvi = 0;
7421 0 : dXSARGS;
7422 :
7423 0 : if ((items < 2) || (items > 2)) {
7424 0 : SWIG_croak("Usage: queryMapObj_height_set(self,height);");
7425 : }
7426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7427 0 : if (!SWIG_IsOK(res1)) {
7428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_set" "', argument " "1"" of type '" "queryMapObj *""'");
7429 : }
7430 0 : arg1 = (queryMapObj *)(argp1);
7431 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7432 0 : if (!SWIG_IsOK(ecode2)) {
7433 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_height_set" "', argument " "2"" of type '" "int""'");
7434 : }
7435 : arg2 = (int)(val2);
7436 0 : if (arg1) (arg1)->height = arg2;
7437 0 : ST(argvi) = sv_newmortal();
7438 :
7439 :
7440 0 : XSRETURN(argvi);
7441 0 : fail:
7442 :
7443 :
7444 0 : SWIG_croak_null();
7445 : }
7446 : }
7447 :
7448 :
7449 0 : XS(_wrap_queryMapObj_height_get) {
7450 : {
7451 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7452 0 : void *argp1 = 0 ;
7453 : int res1 = 0 ;
7454 : int argvi = 0;
7455 : int result;
7456 0 : dXSARGS;
7457 :
7458 0 : if ((items < 1) || (items > 1)) {
7459 0 : SWIG_croak("Usage: queryMapObj_height_get(self);");
7460 : }
7461 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7462 0 : if (!SWIG_IsOK(res1)) {
7463 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_get" "', argument " "1"" of type '" "queryMapObj *""'");
7464 : }
7465 0 : arg1 = (queryMapObj *)(argp1);
7466 0 : result = (int) ((arg1)->height);
7467 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7468 :
7469 0 : XSRETURN(argvi);
7470 0 : fail:
7471 :
7472 0 : SWIG_croak_null();
7473 : }
7474 : }
7475 :
7476 :
7477 0 : XS(_wrap_queryMapObj_width_set) {
7478 : {
7479 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7480 : int arg2 ;
7481 0 : void *argp1 = 0 ;
7482 : int res1 = 0 ;
7483 : int val2 ;
7484 : int ecode2 = 0 ;
7485 : int argvi = 0;
7486 0 : dXSARGS;
7487 :
7488 0 : if ((items < 2) || (items > 2)) {
7489 0 : SWIG_croak("Usage: queryMapObj_width_set(self,width);");
7490 : }
7491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7492 0 : if (!SWIG_IsOK(res1)) {
7493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_set" "', argument " "1"" of type '" "queryMapObj *""'");
7494 : }
7495 0 : arg1 = (queryMapObj *)(argp1);
7496 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7497 0 : if (!SWIG_IsOK(ecode2)) {
7498 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_width_set" "', argument " "2"" of type '" "int""'");
7499 : }
7500 : arg2 = (int)(val2);
7501 0 : if (arg1) (arg1)->width = arg2;
7502 0 : ST(argvi) = sv_newmortal();
7503 :
7504 :
7505 0 : XSRETURN(argvi);
7506 0 : fail:
7507 :
7508 :
7509 0 : SWIG_croak_null();
7510 : }
7511 : }
7512 :
7513 :
7514 0 : XS(_wrap_queryMapObj_width_get) {
7515 : {
7516 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7517 0 : void *argp1 = 0 ;
7518 : int res1 = 0 ;
7519 : int argvi = 0;
7520 : int result;
7521 0 : dXSARGS;
7522 :
7523 0 : if ((items < 1) || (items > 1)) {
7524 0 : SWIG_croak("Usage: queryMapObj_width_get(self);");
7525 : }
7526 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7527 0 : if (!SWIG_IsOK(res1)) {
7528 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_get" "', argument " "1"" of type '" "queryMapObj *""'");
7529 : }
7530 0 : arg1 = (queryMapObj *)(argp1);
7531 0 : result = (int) ((arg1)->width);
7532 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7533 :
7534 0 : XSRETURN(argvi);
7535 0 : fail:
7536 :
7537 0 : SWIG_croak_null();
7538 : }
7539 : }
7540 :
7541 :
7542 0 : XS(_wrap_queryMapObj_status_set) {
7543 : {
7544 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7545 : int arg2 ;
7546 0 : void *argp1 = 0 ;
7547 : int res1 = 0 ;
7548 : int val2 ;
7549 : int ecode2 = 0 ;
7550 : int argvi = 0;
7551 0 : dXSARGS;
7552 :
7553 0 : if ((items < 2) || (items > 2)) {
7554 0 : SWIG_croak("Usage: queryMapObj_status_set(self,status);");
7555 : }
7556 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7557 0 : if (!SWIG_IsOK(res1)) {
7558 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_set" "', argument " "1"" of type '" "queryMapObj *""'");
7559 : }
7560 0 : arg1 = (queryMapObj *)(argp1);
7561 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7562 0 : if (!SWIG_IsOK(ecode2)) {
7563 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_status_set" "', argument " "2"" of type '" "int""'");
7564 : }
7565 : arg2 = (int)(val2);
7566 0 : if (arg1) (arg1)->status = arg2;
7567 0 : ST(argvi) = sv_newmortal();
7568 :
7569 :
7570 0 : XSRETURN(argvi);
7571 0 : fail:
7572 :
7573 :
7574 0 : SWIG_croak_null();
7575 : }
7576 : }
7577 :
7578 :
7579 0 : XS(_wrap_queryMapObj_status_get) {
7580 : {
7581 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7582 0 : void *argp1 = 0 ;
7583 : int res1 = 0 ;
7584 : int argvi = 0;
7585 : int result;
7586 0 : dXSARGS;
7587 :
7588 0 : if ((items < 1) || (items > 1)) {
7589 0 : SWIG_croak("Usage: queryMapObj_status_get(self);");
7590 : }
7591 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7592 0 : if (!SWIG_IsOK(res1)) {
7593 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_get" "', argument " "1"" of type '" "queryMapObj *""'");
7594 : }
7595 0 : arg1 = (queryMapObj *)(argp1);
7596 0 : result = (int) ((arg1)->status);
7597 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7598 :
7599 0 : XSRETURN(argvi);
7600 0 : fail:
7601 :
7602 0 : SWIG_croak_null();
7603 : }
7604 : }
7605 :
7606 :
7607 0 : XS(_wrap_queryMapObj_style_set) {
7608 : {
7609 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7610 : int arg2 ;
7611 0 : void *argp1 = 0 ;
7612 : int res1 = 0 ;
7613 : int val2 ;
7614 : int ecode2 = 0 ;
7615 : int argvi = 0;
7616 0 : dXSARGS;
7617 :
7618 0 : if ((items < 2) || (items > 2)) {
7619 0 : SWIG_croak("Usage: queryMapObj_style_set(self,style);");
7620 : }
7621 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7622 0 : if (!SWIG_IsOK(res1)) {
7623 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_set" "', argument " "1"" of type '" "queryMapObj *""'");
7624 : }
7625 0 : arg1 = (queryMapObj *)(argp1);
7626 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7627 0 : if (!SWIG_IsOK(ecode2)) {
7628 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_style_set" "', argument " "2"" of type '" "int""'");
7629 : }
7630 : arg2 = (int)(val2);
7631 0 : if (arg1) (arg1)->style = arg2;
7632 0 : ST(argvi) = sv_newmortal();
7633 :
7634 :
7635 0 : XSRETURN(argvi);
7636 0 : fail:
7637 :
7638 :
7639 0 : SWIG_croak_null();
7640 : }
7641 : }
7642 :
7643 :
7644 0 : XS(_wrap_queryMapObj_style_get) {
7645 : {
7646 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7647 0 : void *argp1 = 0 ;
7648 : int res1 = 0 ;
7649 : int argvi = 0;
7650 : int result;
7651 0 : dXSARGS;
7652 :
7653 0 : if ((items < 1) || (items > 1)) {
7654 0 : SWIG_croak("Usage: queryMapObj_style_get(self);");
7655 : }
7656 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7657 0 : if (!SWIG_IsOK(res1)) {
7658 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_get" "', argument " "1"" of type '" "queryMapObj *""'");
7659 : }
7660 0 : arg1 = (queryMapObj *)(argp1);
7661 0 : result = (int) ((arg1)->style);
7662 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7663 :
7664 0 : XSRETURN(argvi);
7665 0 : fail:
7666 :
7667 0 : SWIG_croak_null();
7668 : }
7669 : }
7670 :
7671 :
7672 0 : XS(_wrap_queryMapObj_color_set) {
7673 : {
7674 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7675 : colorObj *arg2 = (colorObj *) 0 ;
7676 0 : void *argp1 = 0 ;
7677 : int res1 = 0 ;
7678 0 : void *argp2 = 0 ;
7679 : int res2 = 0 ;
7680 : int argvi = 0;
7681 0 : dXSARGS;
7682 :
7683 0 : if ((items < 2) || (items > 2)) {
7684 0 : SWIG_croak("Usage: queryMapObj_color_set(self,color);");
7685 : }
7686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7687 0 : if (!SWIG_IsOK(res1)) {
7688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_set" "', argument " "1"" of type '" "queryMapObj *""'");
7689 : }
7690 0 : arg1 = (queryMapObj *)(argp1);
7691 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
7692 0 : if (!SWIG_IsOK(res2)) {
7693 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
7694 : }
7695 0 : arg2 = (colorObj *)(argp2);
7696 0 : if (arg1) (arg1)->color = *arg2;
7697 0 : ST(argvi) = sv_newmortal();
7698 :
7699 :
7700 0 : XSRETURN(argvi);
7701 0 : fail:
7702 :
7703 :
7704 0 : SWIG_croak_null();
7705 : }
7706 : }
7707 :
7708 :
7709 0 : XS(_wrap_queryMapObj_color_get) {
7710 : {
7711 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7712 0 : void *argp1 = 0 ;
7713 : int res1 = 0 ;
7714 : int argvi = 0;
7715 : colorObj *result = 0 ;
7716 0 : dXSARGS;
7717 :
7718 0 : if ((items < 1) || (items > 1)) {
7719 0 : SWIG_croak("Usage: queryMapObj_color_get(self);");
7720 : }
7721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7722 0 : if (!SWIG_IsOK(res1)) {
7723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_get" "', argument " "1"" of type '" "queryMapObj *""'");
7724 : }
7725 0 : arg1 = (queryMapObj *)(argp1);
7726 0 : result = (colorObj *)& ((arg1)->color);
7727 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
7728 :
7729 0 : XSRETURN(argvi);
7730 0 : fail:
7731 :
7732 0 : SWIG_croak_null();
7733 : }
7734 : }
7735 :
7736 :
7737 0 : XS(_wrap_queryMapObj_updateFromString) {
7738 : {
7739 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7740 : char *arg2 = (char *) 0 ;
7741 0 : void *argp1 = 0 ;
7742 : int res1 = 0 ;
7743 : int res2 ;
7744 0 : char *buf2 = 0 ;
7745 0 : int alloc2 = 0 ;
7746 : int argvi = 0;
7747 : int result;
7748 0 : dXSARGS;
7749 :
7750 0 : if ((items < 2) || (items > 2)) {
7751 0 : SWIG_croak("Usage: queryMapObj_updateFromString(self,snippet);");
7752 : }
7753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7754 0 : if (!SWIG_IsOK(res1)) {
7755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_updateFromString" "', argument " "1"" of type '" "queryMapObj *""'");
7756 : }
7757 0 : arg1 = (queryMapObj *)(argp1);
7758 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7759 0 : if (!SWIG_IsOK(res2)) {
7760 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
7761 : }
7762 0 : arg2 = (char *)(buf2);
7763 : result = (int)queryMapObj_updateFromString(arg1,arg2);
7764 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7765 :
7766 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7767 0 : XSRETURN(argvi);
7768 0 : fail:
7769 :
7770 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7771 0 : SWIG_croak_null();
7772 : }
7773 : }
7774 :
7775 :
7776 0 : XS(_wrap_queryMapObj_convertToString) {
7777 : {
7778 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7779 0 : void *argp1 = 0 ;
7780 : int res1 = 0 ;
7781 : int argvi = 0;
7782 : char *result = 0 ;
7783 0 : dXSARGS;
7784 :
7785 0 : if ((items < 1) || (items > 1)) {
7786 0 : SWIG_croak("Usage: queryMapObj_convertToString(self);");
7787 : }
7788 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7789 0 : if (!SWIG_IsOK(res1)) {
7790 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_convertToString" "', argument " "1"" of type '" "queryMapObj *""'");
7791 : }
7792 0 : arg1 = (queryMapObj *)(argp1);
7793 : result = (char *)queryMapObj_convertToString(arg1);
7794 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7795 :
7796 0 : free((char*)result);
7797 0 : XSRETURN(argvi);
7798 0 : fail:
7799 :
7800 0 : SWIG_croak_null();
7801 : }
7802 : }
7803 :
7804 :
7805 0 : XS(_wrap_new_queryMapObj) {
7806 : {
7807 : int argvi = 0;
7808 : queryMapObj *result = 0 ;
7809 0 : dXSARGS;
7810 :
7811 0 : if ((items < 0) || (items > 0)) {
7812 0 : SWIG_croak("Usage: new_queryMapObj();");
7813 : }
7814 0 : result = (queryMapObj *)calloc(1, sizeof(queryMapObj));
7815 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7816 0 : XSRETURN(argvi);
7817 : fail:
7818 0 : SWIG_croak_null();
7819 : }
7820 : }
7821 :
7822 :
7823 0 : XS(_wrap_delete_queryMapObj) {
7824 : {
7825 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7826 0 : void *argp1 = 0 ;
7827 : int res1 = 0 ;
7828 : int argvi = 0;
7829 0 : dXSARGS;
7830 :
7831 0 : if ((items < 1) || (items > 1)) {
7832 0 : SWIG_croak("Usage: delete_queryMapObj(self);");
7833 : }
7834 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, SWIG_POINTER_DISOWN | 0 );
7835 0 : if (!SWIG_IsOK(res1)) {
7836 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_queryMapObj" "', argument " "1"" of type '" "queryMapObj *""'");
7837 : }
7838 0 : arg1 = (queryMapObj *)(argp1);
7839 0 : free((char *) arg1);
7840 0 : ST(argvi) = sv_newmortal();
7841 :
7842 0 : XSRETURN(argvi);
7843 0 : fail:
7844 :
7845 0 : SWIG_croak_null();
7846 : }
7847 : }
7848 :
7849 :
7850 0 : XS(_wrap_webObj_log_set) {
7851 : {
7852 : webObj *arg1 = (webObj *) 0 ;
7853 : char *arg2 = (char *) 0 ;
7854 0 : void *argp1 = 0 ;
7855 : int res1 = 0 ;
7856 : int res2 ;
7857 0 : char *buf2 = 0 ;
7858 0 : int alloc2 = 0 ;
7859 : int argvi = 0;
7860 0 : dXSARGS;
7861 :
7862 0 : if ((items < 2) || (items > 2)) {
7863 0 : SWIG_croak("Usage: webObj_log_set(self,log);");
7864 : }
7865 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7866 0 : if (!SWIG_IsOK(res1)) {
7867 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_set" "', argument " "1"" of type '" "webObj *""'");
7868 : }
7869 0 : arg1 = (webObj *)(argp1);
7870 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7871 0 : if (!SWIG_IsOK(res2)) {
7872 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_log_set" "', argument " "2"" of type '" "char *""'");
7873 : }
7874 0 : arg2 = (char *)(buf2);
7875 : {
7876 0 : if (arg1->log) free((char*)arg1->log);
7877 0 : if (arg2) {
7878 0 : arg1->log = (char *) malloc(strlen(arg2)+1);
7879 : strcpy((char*)arg1->log,arg2);
7880 : } else {
7881 0 : arg1->log = 0;
7882 : }
7883 : }
7884 0 : ST(argvi) = sv_newmortal();
7885 :
7886 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7887 0 : XSRETURN(argvi);
7888 0 : fail:
7889 :
7890 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7891 0 : SWIG_croak_null();
7892 : }
7893 : }
7894 :
7895 :
7896 0 : XS(_wrap_webObj_log_get) {
7897 : {
7898 : webObj *arg1 = (webObj *) 0 ;
7899 0 : void *argp1 = 0 ;
7900 : int res1 = 0 ;
7901 : int argvi = 0;
7902 : char *result = 0 ;
7903 0 : dXSARGS;
7904 :
7905 0 : if ((items < 1) || (items > 1)) {
7906 0 : SWIG_croak("Usage: webObj_log_get(self);");
7907 : }
7908 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7909 0 : if (!SWIG_IsOK(res1)) {
7910 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_get" "', argument " "1"" of type '" "webObj *""'");
7911 : }
7912 0 : arg1 = (webObj *)(argp1);
7913 0 : result = (char *) ((arg1)->log);
7914 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7915 :
7916 0 : XSRETURN(argvi);
7917 0 : fail:
7918 :
7919 0 : SWIG_croak_null();
7920 : }
7921 : }
7922 :
7923 :
7924 0 : XS(_wrap_webObj_imagepath_set) {
7925 : {
7926 : webObj *arg1 = (webObj *) 0 ;
7927 : char *arg2 = (char *) 0 ;
7928 0 : void *argp1 = 0 ;
7929 : int res1 = 0 ;
7930 : int res2 ;
7931 0 : char *buf2 = 0 ;
7932 0 : int alloc2 = 0 ;
7933 : int argvi = 0;
7934 0 : dXSARGS;
7935 :
7936 0 : if ((items < 2) || (items > 2)) {
7937 0 : SWIG_croak("Usage: webObj_imagepath_set(self,imagepath);");
7938 : }
7939 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7940 0 : if (!SWIG_IsOK(res1)) {
7941 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_set" "', argument " "1"" of type '" "webObj *""'");
7942 : }
7943 0 : arg1 = (webObj *)(argp1);
7944 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7945 0 : if (!SWIG_IsOK(res2)) {
7946 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imagepath_set" "', argument " "2"" of type '" "char *""'");
7947 : }
7948 0 : arg2 = (char *)(buf2);
7949 : {
7950 0 : if (arg1->imagepath) free((char*)arg1->imagepath);
7951 0 : if (arg2) {
7952 0 : arg1->imagepath = (char *) malloc(strlen(arg2)+1);
7953 : strcpy((char*)arg1->imagepath,arg2);
7954 : } else {
7955 0 : arg1->imagepath = 0;
7956 : }
7957 : }
7958 0 : ST(argvi) = sv_newmortal();
7959 :
7960 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7961 0 : XSRETURN(argvi);
7962 0 : fail:
7963 :
7964 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7965 0 : SWIG_croak_null();
7966 : }
7967 : }
7968 :
7969 :
7970 0 : XS(_wrap_webObj_imagepath_get) {
7971 : {
7972 : webObj *arg1 = (webObj *) 0 ;
7973 0 : void *argp1 = 0 ;
7974 : int res1 = 0 ;
7975 : int argvi = 0;
7976 : char *result = 0 ;
7977 0 : dXSARGS;
7978 :
7979 0 : if ((items < 1) || (items > 1)) {
7980 0 : SWIG_croak("Usage: webObj_imagepath_get(self);");
7981 : }
7982 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7983 0 : if (!SWIG_IsOK(res1)) {
7984 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_get" "', argument " "1"" of type '" "webObj *""'");
7985 : }
7986 0 : arg1 = (webObj *)(argp1);
7987 0 : result = (char *) ((arg1)->imagepath);
7988 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7989 :
7990 0 : XSRETURN(argvi);
7991 0 : fail:
7992 :
7993 0 : SWIG_croak_null();
7994 : }
7995 : }
7996 :
7997 :
7998 0 : XS(_wrap_webObj_imageurl_set) {
7999 : {
8000 : webObj *arg1 = (webObj *) 0 ;
8001 : char *arg2 = (char *) 0 ;
8002 0 : void *argp1 = 0 ;
8003 : int res1 = 0 ;
8004 : int res2 ;
8005 0 : char *buf2 = 0 ;
8006 0 : int alloc2 = 0 ;
8007 : int argvi = 0;
8008 0 : dXSARGS;
8009 :
8010 0 : if ((items < 2) || (items > 2)) {
8011 0 : SWIG_croak("Usage: webObj_imageurl_set(self,imageurl);");
8012 : }
8013 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8014 0 : if (!SWIG_IsOK(res1)) {
8015 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_set" "', argument " "1"" of type '" "webObj *""'");
8016 : }
8017 0 : arg1 = (webObj *)(argp1);
8018 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8019 0 : if (!SWIG_IsOK(res2)) {
8020 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imageurl_set" "', argument " "2"" of type '" "char *""'");
8021 : }
8022 0 : arg2 = (char *)(buf2);
8023 : {
8024 0 : if (arg1->imageurl) free((char*)arg1->imageurl);
8025 0 : if (arg2) {
8026 0 : arg1->imageurl = (char *) malloc(strlen(arg2)+1);
8027 : strcpy((char*)arg1->imageurl,arg2);
8028 : } else {
8029 0 : arg1->imageurl = 0;
8030 : }
8031 : }
8032 0 : ST(argvi) = sv_newmortal();
8033 :
8034 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8035 0 : XSRETURN(argvi);
8036 0 : fail:
8037 :
8038 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8039 0 : SWIG_croak_null();
8040 : }
8041 : }
8042 :
8043 :
8044 0 : XS(_wrap_webObj_imageurl_get) {
8045 : {
8046 : webObj *arg1 = (webObj *) 0 ;
8047 0 : void *argp1 = 0 ;
8048 : int res1 = 0 ;
8049 : int argvi = 0;
8050 : char *result = 0 ;
8051 0 : dXSARGS;
8052 :
8053 0 : if ((items < 1) || (items > 1)) {
8054 0 : SWIG_croak("Usage: webObj_imageurl_get(self);");
8055 : }
8056 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8057 0 : if (!SWIG_IsOK(res1)) {
8058 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_get" "', argument " "1"" of type '" "webObj *""'");
8059 : }
8060 0 : arg1 = (webObj *)(argp1);
8061 0 : result = (char *) ((arg1)->imageurl);
8062 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8063 :
8064 0 : XSRETURN(argvi);
8065 0 : fail:
8066 :
8067 0 : SWIG_croak_null();
8068 : }
8069 : }
8070 :
8071 :
8072 0 : XS(_wrap_webObj_temppath_set) {
8073 : {
8074 : webObj *arg1 = (webObj *) 0 ;
8075 : char *arg2 = (char *) 0 ;
8076 0 : void *argp1 = 0 ;
8077 : int res1 = 0 ;
8078 : int res2 ;
8079 0 : char *buf2 = 0 ;
8080 0 : int alloc2 = 0 ;
8081 : int argvi = 0;
8082 0 : dXSARGS;
8083 :
8084 0 : if ((items < 2) || (items > 2)) {
8085 0 : SWIG_croak("Usage: webObj_temppath_set(self,temppath);");
8086 : }
8087 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8088 0 : if (!SWIG_IsOK(res1)) {
8089 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_set" "', argument " "1"" of type '" "webObj *""'");
8090 : }
8091 0 : arg1 = (webObj *)(argp1);
8092 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8093 0 : if (!SWIG_IsOK(res2)) {
8094 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_temppath_set" "', argument " "2"" of type '" "char *""'");
8095 : }
8096 0 : arg2 = (char *)(buf2);
8097 : {
8098 0 : if (arg1->temppath) free((char*)arg1->temppath);
8099 0 : if (arg2) {
8100 0 : arg1->temppath = (char *) malloc(strlen(arg2)+1);
8101 : strcpy((char*)arg1->temppath,arg2);
8102 : } else {
8103 0 : arg1->temppath = 0;
8104 : }
8105 : }
8106 0 : ST(argvi) = sv_newmortal();
8107 :
8108 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8109 0 : XSRETURN(argvi);
8110 0 : fail:
8111 :
8112 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8113 0 : SWIG_croak_null();
8114 : }
8115 : }
8116 :
8117 :
8118 0 : XS(_wrap_webObj_temppath_get) {
8119 : {
8120 : webObj *arg1 = (webObj *) 0 ;
8121 0 : void *argp1 = 0 ;
8122 : int res1 = 0 ;
8123 : int argvi = 0;
8124 : char *result = 0 ;
8125 0 : dXSARGS;
8126 :
8127 0 : if ((items < 1) || (items > 1)) {
8128 0 : SWIG_croak("Usage: webObj_temppath_get(self);");
8129 : }
8130 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8131 0 : if (!SWIG_IsOK(res1)) {
8132 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_get" "', argument " "1"" of type '" "webObj *""'");
8133 : }
8134 0 : arg1 = (webObj *)(argp1);
8135 0 : result = (char *) ((arg1)->temppath);
8136 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8137 :
8138 0 : XSRETURN(argvi);
8139 0 : fail:
8140 :
8141 0 : SWIG_croak_null();
8142 : }
8143 : }
8144 :
8145 :
8146 0 : XS(_wrap_webObj_map_get) {
8147 : {
8148 : webObj *arg1 = (webObj *) 0 ;
8149 0 : void *argp1 = 0 ;
8150 : int res1 = 0 ;
8151 : int argvi = 0;
8152 : struct mapObj *result = 0 ;
8153 0 : dXSARGS;
8154 :
8155 0 : if ((items < 1) || (items > 1)) {
8156 0 : SWIG_croak("Usage: webObj_map_get(self);");
8157 : }
8158 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8159 0 : if (!SWIG_IsOK(res1)) {
8160 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_map_get" "', argument " "1"" of type '" "webObj *""'");
8161 : }
8162 0 : arg1 = (webObj *)(argp1);
8163 : {
8164 : /* Accessing map */
8165 0 : result = (struct mapObj *) ((arg1)->map);;
8166 0 : MS_REFCNT_INCR(result);
8167 : }
8168 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
8169 :
8170 0 : XSRETURN(argvi);
8171 0 : fail:
8172 :
8173 0 : SWIG_croak_null();
8174 : }
8175 : }
8176 :
8177 :
8178 0 : XS(_wrap_webObj_template_set) {
8179 : {
8180 : webObj *arg1 = (webObj *) 0 ;
8181 : char *arg2 = (char *) 0 ;
8182 0 : void *argp1 = 0 ;
8183 : int res1 = 0 ;
8184 : int res2 ;
8185 0 : char *buf2 = 0 ;
8186 0 : int alloc2 = 0 ;
8187 : int argvi = 0;
8188 0 : dXSARGS;
8189 :
8190 0 : if ((items < 2) || (items > 2)) {
8191 0 : SWIG_croak("Usage: webObj_template_set(self,template);");
8192 : }
8193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8194 0 : if (!SWIG_IsOK(res1)) {
8195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_set" "', argument " "1"" of type '" "webObj *""'");
8196 : }
8197 0 : arg1 = (webObj *)(argp1);
8198 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8199 0 : if (!SWIG_IsOK(res2)) {
8200 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_template_set" "', argument " "2"" of type '" "char *""'");
8201 : }
8202 0 : arg2 = (char *)(buf2);
8203 : {
8204 0 : if (arg1->template) free((char*)arg1->template);
8205 0 : if (arg2) {
8206 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
8207 : strcpy((char*)arg1->template,arg2);
8208 : } else {
8209 0 : arg1->template = 0;
8210 : }
8211 : }
8212 0 : ST(argvi) = sv_newmortal();
8213 :
8214 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8215 0 : XSRETURN(argvi);
8216 0 : fail:
8217 :
8218 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8219 0 : SWIG_croak_null();
8220 : }
8221 : }
8222 :
8223 :
8224 0 : XS(_wrap_webObj_template_get) {
8225 : {
8226 : webObj *arg1 = (webObj *) 0 ;
8227 0 : void *argp1 = 0 ;
8228 : int res1 = 0 ;
8229 : int argvi = 0;
8230 : char *result = 0 ;
8231 0 : dXSARGS;
8232 :
8233 0 : if ((items < 1) || (items > 1)) {
8234 0 : SWIG_croak("Usage: webObj_template_get(self);");
8235 : }
8236 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8237 0 : if (!SWIG_IsOK(res1)) {
8238 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_get" "', argument " "1"" of type '" "webObj *""'");
8239 : }
8240 0 : arg1 = (webObj *)(argp1);
8241 0 : result = (char *) ((arg1)->template);
8242 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8243 :
8244 0 : XSRETURN(argvi);
8245 0 : fail:
8246 :
8247 0 : SWIG_croak_null();
8248 : }
8249 : }
8250 :
8251 :
8252 0 : XS(_wrap_webObj_header_set) {
8253 : {
8254 : webObj *arg1 = (webObj *) 0 ;
8255 : char *arg2 = (char *) 0 ;
8256 0 : void *argp1 = 0 ;
8257 : int res1 = 0 ;
8258 : int res2 ;
8259 0 : char *buf2 = 0 ;
8260 0 : int alloc2 = 0 ;
8261 : int argvi = 0;
8262 0 : dXSARGS;
8263 :
8264 0 : if ((items < 2) || (items > 2)) {
8265 0 : SWIG_croak("Usage: webObj_header_set(self,header);");
8266 : }
8267 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8268 0 : if (!SWIG_IsOK(res1)) {
8269 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_set" "', argument " "1"" of type '" "webObj *""'");
8270 : }
8271 0 : arg1 = (webObj *)(argp1);
8272 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8273 0 : if (!SWIG_IsOK(res2)) {
8274 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_header_set" "', argument " "2"" of type '" "char *""'");
8275 : }
8276 0 : arg2 = (char *)(buf2);
8277 : {
8278 0 : if (arg1->header) free((char*)arg1->header);
8279 0 : if (arg2) {
8280 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
8281 : strcpy((char*)arg1->header,arg2);
8282 : } else {
8283 0 : arg1->header = 0;
8284 : }
8285 : }
8286 0 : ST(argvi) = sv_newmortal();
8287 :
8288 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8289 0 : XSRETURN(argvi);
8290 0 : fail:
8291 :
8292 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8293 0 : SWIG_croak_null();
8294 : }
8295 : }
8296 :
8297 :
8298 0 : XS(_wrap_webObj_header_get) {
8299 : {
8300 : webObj *arg1 = (webObj *) 0 ;
8301 0 : void *argp1 = 0 ;
8302 : int res1 = 0 ;
8303 : int argvi = 0;
8304 : char *result = 0 ;
8305 0 : dXSARGS;
8306 :
8307 0 : if ((items < 1) || (items > 1)) {
8308 0 : SWIG_croak("Usage: webObj_header_get(self);");
8309 : }
8310 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8311 0 : if (!SWIG_IsOK(res1)) {
8312 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_get" "', argument " "1"" of type '" "webObj *""'");
8313 : }
8314 0 : arg1 = (webObj *)(argp1);
8315 0 : result = (char *) ((arg1)->header);
8316 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8317 :
8318 0 : XSRETURN(argvi);
8319 0 : fail:
8320 :
8321 0 : SWIG_croak_null();
8322 : }
8323 : }
8324 :
8325 :
8326 0 : XS(_wrap_webObj_footer_set) {
8327 : {
8328 : webObj *arg1 = (webObj *) 0 ;
8329 : char *arg2 = (char *) 0 ;
8330 0 : void *argp1 = 0 ;
8331 : int res1 = 0 ;
8332 : int res2 ;
8333 0 : char *buf2 = 0 ;
8334 0 : int alloc2 = 0 ;
8335 : int argvi = 0;
8336 0 : dXSARGS;
8337 :
8338 0 : if ((items < 2) || (items > 2)) {
8339 0 : SWIG_croak("Usage: webObj_footer_set(self,footer);");
8340 : }
8341 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8342 0 : if (!SWIG_IsOK(res1)) {
8343 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_set" "', argument " "1"" of type '" "webObj *""'");
8344 : }
8345 0 : arg1 = (webObj *)(argp1);
8346 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8347 0 : if (!SWIG_IsOK(res2)) {
8348 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_footer_set" "', argument " "2"" of type '" "char *""'");
8349 : }
8350 0 : arg2 = (char *)(buf2);
8351 : {
8352 0 : if (arg1->footer) free((char*)arg1->footer);
8353 0 : if (arg2) {
8354 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
8355 : strcpy((char*)arg1->footer,arg2);
8356 : } else {
8357 0 : arg1->footer = 0;
8358 : }
8359 : }
8360 0 : ST(argvi) = sv_newmortal();
8361 :
8362 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8363 0 : XSRETURN(argvi);
8364 0 : fail:
8365 :
8366 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8367 0 : SWIG_croak_null();
8368 : }
8369 : }
8370 :
8371 :
8372 0 : XS(_wrap_webObj_footer_get) {
8373 : {
8374 : webObj *arg1 = (webObj *) 0 ;
8375 0 : void *argp1 = 0 ;
8376 : int res1 = 0 ;
8377 : int argvi = 0;
8378 : char *result = 0 ;
8379 0 : dXSARGS;
8380 :
8381 0 : if ((items < 1) || (items > 1)) {
8382 0 : SWIG_croak("Usage: webObj_footer_get(self);");
8383 : }
8384 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8385 0 : if (!SWIG_IsOK(res1)) {
8386 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_get" "', argument " "1"" of type '" "webObj *""'");
8387 : }
8388 0 : arg1 = (webObj *)(argp1);
8389 0 : result = (char *) ((arg1)->footer);
8390 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8391 :
8392 0 : XSRETURN(argvi);
8393 0 : fail:
8394 :
8395 0 : SWIG_croak_null();
8396 : }
8397 : }
8398 :
8399 :
8400 0 : XS(_wrap_webObj_empty_set) {
8401 : {
8402 : webObj *arg1 = (webObj *) 0 ;
8403 : char *arg2 = (char *) 0 ;
8404 0 : void *argp1 = 0 ;
8405 : int res1 = 0 ;
8406 : int res2 ;
8407 0 : char *buf2 = 0 ;
8408 0 : int alloc2 = 0 ;
8409 : int argvi = 0;
8410 0 : dXSARGS;
8411 :
8412 0 : if ((items < 2) || (items > 2)) {
8413 0 : SWIG_croak("Usage: webObj_empty_set(self,empty);");
8414 : }
8415 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8416 0 : if (!SWIG_IsOK(res1)) {
8417 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_set" "', argument " "1"" of type '" "webObj *""'");
8418 : }
8419 0 : arg1 = (webObj *)(argp1);
8420 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8421 0 : if (!SWIG_IsOK(res2)) {
8422 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_empty_set" "', argument " "2"" of type '" "char *""'");
8423 : }
8424 0 : arg2 = (char *)(buf2);
8425 : {
8426 0 : if (arg1->empty) free((char*)arg1->empty);
8427 0 : if (arg2) {
8428 0 : arg1->empty = (char *) malloc(strlen(arg2)+1);
8429 : strcpy((char*)arg1->empty,arg2);
8430 : } else {
8431 0 : arg1->empty = 0;
8432 : }
8433 : }
8434 0 : ST(argvi) = sv_newmortal();
8435 :
8436 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8437 0 : XSRETURN(argvi);
8438 0 : fail:
8439 :
8440 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8441 0 : SWIG_croak_null();
8442 : }
8443 : }
8444 :
8445 :
8446 0 : XS(_wrap_webObj_empty_get) {
8447 : {
8448 : webObj *arg1 = (webObj *) 0 ;
8449 0 : void *argp1 = 0 ;
8450 : int res1 = 0 ;
8451 : int argvi = 0;
8452 : char *result = 0 ;
8453 0 : dXSARGS;
8454 :
8455 0 : if ((items < 1) || (items > 1)) {
8456 0 : SWIG_croak("Usage: webObj_empty_get(self);");
8457 : }
8458 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8459 0 : if (!SWIG_IsOK(res1)) {
8460 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_get" "', argument " "1"" of type '" "webObj *""'");
8461 : }
8462 0 : arg1 = (webObj *)(argp1);
8463 0 : result = (char *) ((arg1)->empty);
8464 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8465 :
8466 0 : XSRETURN(argvi);
8467 0 : fail:
8468 :
8469 0 : SWIG_croak_null();
8470 : }
8471 : }
8472 :
8473 :
8474 0 : XS(_wrap_webObj_error_set) {
8475 : {
8476 : webObj *arg1 = (webObj *) 0 ;
8477 : char *arg2 = (char *) 0 ;
8478 0 : void *argp1 = 0 ;
8479 : int res1 = 0 ;
8480 : int res2 ;
8481 0 : char *buf2 = 0 ;
8482 0 : int alloc2 = 0 ;
8483 : int argvi = 0;
8484 0 : dXSARGS;
8485 :
8486 0 : if ((items < 2) || (items > 2)) {
8487 0 : SWIG_croak("Usage: webObj_error_set(self,error);");
8488 : }
8489 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8490 0 : if (!SWIG_IsOK(res1)) {
8491 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_set" "', argument " "1"" of type '" "webObj *""'");
8492 : }
8493 0 : arg1 = (webObj *)(argp1);
8494 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8495 0 : if (!SWIG_IsOK(res2)) {
8496 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_error_set" "', argument " "2"" of type '" "char *""'");
8497 : }
8498 0 : arg2 = (char *)(buf2);
8499 : {
8500 0 : if (arg1->error) free((char*)arg1->error);
8501 0 : if (arg2) {
8502 0 : arg1->error = (char *) malloc(strlen(arg2)+1);
8503 : strcpy((char*)arg1->error,arg2);
8504 : } else {
8505 0 : arg1->error = 0;
8506 : }
8507 : }
8508 0 : ST(argvi) = sv_newmortal();
8509 :
8510 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8511 0 : XSRETURN(argvi);
8512 0 : fail:
8513 :
8514 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8515 0 : SWIG_croak_null();
8516 : }
8517 : }
8518 :
8519 :
8520 0 : XS(_wrap_webObj_error_get) {
8521 : {
8522 : webObj *arg1 = (webObj *) 0 ;
8523 0 : void *argp1 = 0 ;
8524 : int res1 = 0 ;
8525 : int argvi = 0;
8526 : char *result = 0 ;
8527 0 : dXSARGS;
8528 :
8529 0 : if ((items < 1) || (items > 1)) {
8530 0 : SWIG_croak("Usage: webObj_error_get(self);");
8531 : }
8532 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8533 0 : if (!SWIG_IsOK(res1)) {
8534 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_get" "', argument " "1"" of type '" "webObj *""'");
8535 : }
8536 0 : arg1 = (webObj *)(argp1);
8537 0 : result = (char *) ((arg1)->error);
8538 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8539 :
8540 0 : XSRETURN(argvi);
8541 0 : fail:
8542 :
8543 0 : SWIG_croak_null();
8544 : }
8545 : }
8546 :
8547 :
8548 0 : XS(_wrap_webObj_extent_set) {
8549 : {
8550 : webObj *arg1 = (webObj *) 0 ;
8551 : rectObj *arg2 = (rectObj *) 0 ;
8552 0 : void *argp1 = 0 ;
8553 : int res1 = 0 ;
8554 0 : void *argp2 = 0 ;
8555 : int res2 = 0 ;
8556 : int argvi = 0;
8557 0 : dXSARGS;
8558 :
8559 0 : if ((items < 2) || (items > 2)) {
8560 0 : SWIG_croak("Usage: webObj_extent_set(self,extent);");
8561 : }
8562 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8563 0 : if (!SWIG_IsOK(res1)) {
8564 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_set" "', argument " "1"" of type '" "webObj *""'");
8565 : }
8566 0 : arg1 = (webObj *)(argp1);
8567 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
8568 0 : if (!SWIG_IsOK(res2)) {
8569 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
8570 : }
8571 0 : arg2 = (rectObj *)(argp2);
8572 0 : if (arg1) (arg1)->extent = *arg2;
8573 0 : ST(argvi) = sv_newmortal();
8574 :
8575 :
8576 0 : XSRETURN(argvi);
8577 0 : fail:
8578 :
8579 :
8580 0 : SWIG_croak_null();
8581 : }
8582 : }
8583 :
8584 :
8585 0 : XS(_wrap_webObj_extent_get) {
8586 : {
8587 : webObj *arg1 = (webObj *) 0 ;
8588 0 : void *argp1 = 0 ;
8589 : int res1 = 0 ;
8590 : int argvi = 0;
8591 : rectObj *result = 0 ;
8592 0 : dXSARGS;
8593 :
8594 0 : if ((items < 1) || (items > 1)) {
8595 0 : SWIG_croak("Usage: webObj_extent_get(self);");
8596 : }
8597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8598 0 : if (!SWIG_IsOK(res1)) {
8599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_get" "', argument " "1"" of type '" "webObj *""'");
8600 : }
8601 0 : arg1 = (webObj *)(argp1);
8602 0 : result = (rectObj *)& ((arg1)->extent);
8603 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
8604 :
8605 0 : XSRETURN(argvi);
8606 0 : fail:
8607 :
8608 0 : SWIG_croak_null();
8609 : }
8610 : }
8611 :
8612 :
8613 0 : XS(_wrap_webObj_minscaledenom_set) {
8614 : {
8615 : webObj *arg1 = (webObj *) 0 ;
8616 : double arg2 ;
8617 0 : void *argp1 = 0 ;
8618 : int res1 = 0 ;
8619 : double val2 ;
8620 : int ecode2 = 0 ;
8621 : int argvi = 0;
8622 0 : dXSARGS;
8623 :
8624 0 : if ((items < 2) || (items > 2)) {
8625 0 : SWIG_croak("Usage: webObj_minscaledenom_set(self,minscaledenom);");
8626 : }
8627 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8628 0 : if (!SWIG_IsOK(res1)) {
8629 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8630 : }
8631 0 : arg1 = (webObj *)(argp1);
8632 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8633 0 : if (!SWIG_IsOK(ecode2)) {
8634 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
8635 : }
8636 0 : arg2 = (double)(val2);
8637 0 : if (arg1) (arg1)->minscaledenom = arg2;
8638 0 : ST(argvi) = sv_newmortal();
8639 :
8640 :
8641 0 : XSRETURN(argvi);
8642 0 : fail:
8643 :
8644 :
8645 0 : SWIG_croak_null();
8646 : }
8647 : }
8648 :
8649 :
8650 0 : XS(_wrap_webObj_minscaledenom_get) {
8651 : {
8652 : webObj *arg1 = (webObj *) 0 ;
8653 0 : void *argp1 = 0 ;
8654 : int res1 = 0 ;
8655 : int argvi = 0;
8656 : double result;
8657 0 : dXSARGS;
8658 :
8659 0 : if ((items < 1) || (items > 1)) {
8660 0 : SWIG_croak("Usage: webObj_minscaledenom_get(self);");
8661 : }
8662 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8663 0 : if (!SWIG_IsOK(res1)) {
8664 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8665 : }
8666 0 : arg1 = (webObj *)(argp1);
8667 0 : result = (double) ((arg1)->minscaledenom);
8668 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8669 :
8670 0 : XSRETURN(argvi);
8671 0 : fail:
8672 :
8673 0 : SWIG_croak_null();
8674 : }
8675 : }
8676 :
8677 :
8678 0 : XS(_wrap_webObj_maxscaledenom_set) {
8679 : {
8680 : webObj *arg1 = (webObj *) 0 ;
8681 : double arg2 ;
8682 0 : void *argp1 = 0 ;
8683 : int res1 = 0 ;
8684 : double val2 ;
8685 : int ecode2 = 0 ;
8686 : int argvi = 0;
8687 0 : dXSARGS;
8688 :
8689 0 : if ((items < 2) || (items > 2)) {
8690 0 : SWIG_croak("Usage: webObj_maxscaledenom_set(self,maxscaledenom);");
8691 : }
8692 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8693 0 : if (!SWIG_IsOK(res1)) {
8694 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8695 : }
8696 0 : arg1 = (webObj *)(argp1);
8697 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8698 0 : if (!SWIG_IsOK(ecode2)) {
8699 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
8700 : }
8701 0 : arg2 = (double)(val2);
8702 0 : if (arg1) (arg1)->maxscaledenom = arg2;
8703 0 : ST(argvi) = sv_newmortal();
8704 :
8705 :
8706 0 : XSRETURN(argvi);
8707 0 : fail:
8708 :
8709 :
8710 0 : SWIG_croak_null();
8711 : }
8712 : }
8713 :
8714 :
8715 0 : XS(_wrap_webObj_maxscaledenom_get) {
8716 : {
8717 : webObj *arg1 = (webObj *) 0 ;
8718 0 : void *argp1 = 0 ;
8719 : int res1 = 0 ;
8720 : int argvi = 0;
8721 : double result;
8722 0 : dXSARGS;
8723 :
8724 0 : if ((items < 1) || (items > 1)) {
8725 0 : SWIG_croak("Usage: webObj_maxscaledenom_get(self);");
8726 : }
8727 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8728 0 : if (!SWIG_IsOK(res1)) {
8729 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8730 : }
8731 0 : arg1 = (webObj *)(argp1);
8732 0 : result = (double) ((arg1)->maxscaledenom);
8733 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8734 :
8735 0 : XSRETURN(argvi);
8736 0 : fail:
8737 :
8738 0 : SWIG_croak_null();
8739 : }
8740 : }
8741 :
8742 :
8743 0 : XS(_wrap_webObj_mintemplate_set) {
8744 : {
8745 : webObj *arg1 = (webObj *) 0 ;
8746 : char *arg2 = (char *) 0 ;
8747 0 : void *argp1 = 0 ;
8748 : int res1 = 0 ;
8749 : int res2 ;
8750 0 : char *buf2 = 0 ;
8751 0 : int alloc2 = 0 ;
8752 : int argvi = 0;
8753 0 : dXSARGS;
8754 :
8755 0 : if ((items < 2) || (items > 2)) {
8756 0 : SWIG_croak("Usage: webObj_mintemplate_set(self,mintemplate);");
8757 : }
8758 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8759 0 : if (!SWIG_IsOK(res1)) {
8760 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_set" "', argument " "1"" of type '" "webObj *""'");
8761 : }
8762 0 : arg1 = (webObj *)(argp1);
8763 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8764 0 : if (!SWIG_IsOK(res2)) {
8765 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_mintemplate_set" "', argument " "2"" of type '" "char *""'");
8766 : }
8767 0 : arg2 = (char *)(buf2);
8768 : {
8769 0 : if (arg1->mintemplate) free((char*)arg1->mintemplate);
8770 0 : if (arg2) {
8771 0 : arg1->mintemplate = (char *) malloc(strlen(arg2)+1);
8772 : strcpy((char*)arg1->mintemplate,arg2);
8773 : } else {
8774 0 : arg1->mintemplate = 0;
8775 : }
8776 : }
8777 0 : ST(argvi) = sv_newmortal();
8778 :
8779 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8780 0 : XSRETURN(argvi);
8781 0 : fail:
8782 :
8783 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8784 0 : SWIG_croak_null();
8785 : }
8786 : }
8787 :
8788 :
8789 0 : XS(_wrap_webObj_mintemplate_get) {
8790 : {
8791 : webObj *arg1 = (webObj *) 0 ;
8792 0 : void *argp1 = 0 ;
8793 : int res1 = 0 ;
8794 : int argvi = 0;
8795 : char *result = 0 ;
8796 0 : dXSARGS;
8797 :
8798 0 : if ((items < 1) || (items > 1)) {
8799 0 : SWIG_croak("Usage: webObj_mintemplate_get(self);");
8800 : }
8801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8802 0 : if (!SWIG_IsOK(res1)) {
8803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_get" "', argument " "1"" of type '" "webObj *""'");
8804 : }
8805 0 : arg1 = (webObj *)(argp1);
8806 0 : result = (char *) ((arg1)->mintemplate);
8807 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8808 :
8809 0 : XSRETURN(argvi);
8810 0 : fail:
8811 :
8812 0 : SWIG_croak_null();
8813 : }
8814 : }
8815 :
8816 :
8817 0 : XS(_wrap_webObj_maxtemplate_set) {
8818 : {
8819 : webObj *arg1 = (webObj *) 0 ;
8820 : char *arg2 = (char *) 0 ;
8821 0 : void *argp1 = 0 ;
8822 : int res1 = 0 ;
8823 : int res2 ;
8824 0 : char *buf2 = 0 ;
8825 0 : int alloc2 = 0 ;
8826 : int argvi = 0;
8827 0 : dXSARGS;
8828 :
8829 0 : if ((items < 2) || (items > 2)) {
8830 0 : SWIG_croak("Usage: webObj_maxtemplate_set(self,maxtemplate);");
8831 : }
8832 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8833 0 : if (!SWIG_IsOK(res1)) {
8834 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_set" "', argument " "1"" of type '" "webObj *""'");
8835 : }
8836 0 : arg1 = (webObj *)(argp1);
8837 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8838 0 : if (!SWIG_IsOK(res2)) {
8839 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_maxtemplate_set" "', argument " "2"" of type '" "char *""'");
8840 : }
8841 0 : arg2 = (char *)(buf2);
8842 : {
8843 0 : if (arg1->maxtemplate) free((char*)arg1->maxtemplate);
8844 0 : if (arg2) {
8845 0 : arg1->maxtemplate = (char *) malloc(strlen(arg2)+1);
8846 : strcpy((char*)arg1->maxtemplate,arg2);
8847 : } else {
8848 0 : arg1->maxtemplate = 0;
8849 : }
8850 : }
8851 0 : ST(argvi) = sv_newmortal();
8852 :
8853 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8854 0 : XSRETURN(argvi);
8855 0 : fail:
8856 :
8857 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8858 0 : SWIG_croak_null();
8859 : }
8860 : }
8861 :
8862 :
8863 0 : XS(_wrap_webObj_maxtemplate_get) {
8864 : {
8865 : webObj *arg1 = (webObj *) 0 ;
8866 0 : void *argp1 = 0 ;
8867 : int res1 = 0 ;
8868 : int argvi = 0;
8869 : char *result = 0 ;
8870 0 : dXSARGS;
8871 :
8872 0 : if ((items < 1) || (items > 1)) {
8873 0 : SWIG_croak("Usage: webObj_maxtemplate_get(self);");
8874 : }
8875 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8876 0 : if (!SWIG_IsOK(res1)) {
8877 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_get" "', argument " "1"" of type '" "webObj *""'");
8878 : }
8879 0 : arg1 = (webObj *)(argp1);
8880 0 : result = (char *) ((arg1)->maxtemplate);
8881 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8882 :
8883 0 : XSRETURN(argvi);
8884 0 : fail:
8885 :
8886 0 : SWIG_croak_null();
8887 : }
8888 : }
8889 :
8890 :
8891 0 : XS(_wrap_webObj_queryformat_set) {
8892 : {
8893 : webObj *arg1 = (webObj *) 0 ;
8894 : char *arg2 = (char *) 0 ;
8895 0 : void *argp1 = 0 ;
8896 : int res1 = 0 ;
8897 : int res2 ;
8898 0 : char *buf2 = 0 ;
8899 0 : int alloc2 = 0 ;
8900 : int argvi = 0;
8901 0 : dXSARGS;
8902 :
8903 0 : if ((items < 2) || (items > 2)) {
8904 0 : SWIG_croak("Usage: webObj_queryformat_set(self,queryformat);");
8905 : }
8906 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8907 0 : if (!SWIG_IsOK(res1)) {
8908 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_set" "', argument " "1"" of type '" "webObj *""'");
8909 : }
8910 0 : arg1 = (webObj *)(argp1);
8911 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8912 0 : if (!SWIG_IsOK(res2)) {
8913 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_queryformat_set" "', argument " "2"" of type '" "char *""'");
8914 : }
8915 0 : arg2 = (char *)(buf2);
8916 : {
8917 0 : if (arg1->queryformat) free((char*)arg1->queryformat);
8918 0 : if (arg2) {
8919 0 : arg1->queryformat = (char *) malloc(strlen(arg2)+1);
8920 : strcpy((char*)arg1->queryformat,arg2);
8921 : } else {
8922 0 : arg1->queryformat = 0;
8923 : }
8924 : }
8925 0 : ST(argvi) = sv_newmortal();
8926 :
8927 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8928 0 : XSRETURN(argvi);
8929 0 : fail:
8930 :
8931 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8932 0 : SWIG_croak_null();
8933 : }
8934 : }
8935 :
8936 :
8937 0 : XS(_wrap_webObj_queryformat_get) {
8938 : {
8939 : webObj *arg1 = (webObj *) 0 ;
8940 0 : void *argp1 = 0 ;
8941 : int res1 = 0 ;
8942 : int argvi = 0;
8943 : char *result = 0 ;
8944 0 : dXSARGS;
8945 :
8946 0 : if ((items < 1) || (items > 1)) {
8947 0 : SWIG_croak("Usage: webObj_queryformat_get(self);");
8948 : }
8949 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8950 0 : if (!SWIG_IsOK(res1)) {
8951 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_get" "', argument " "1"" of type '" "webObj *""'");
8952 : }
8953 0 : arg1 = (webObj *)(argp1);
8954 0 : result = (char *) ((arg1)->queryformat);
8955 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8956 :
8957 0 : XSRETURN(argvi);
8958 0 : fail:
8959 :
8960 0 : SWIG_croak_null();
8961 : }
8962 : }
8963 :
8964 :
8965 0 : XS(_wrap_webObj_legendformat_set) {
8966 : {
8967 : webObj *arg1 = (webObj *) 0 ;
8968 : char *arg2 = (char *) 0 ;
8969 0 : void *argp1 = 0 ;
8970 : int res1 = 0 ;
8971 : int res2 ;
8972 0 : char *buf2 = 0 ;
8973 0 : int alloc2 = 0 ;
8974 : int argvi = 0;
8975 0 : dXSARGS;
8976 :
8977 0 : if ((items < 2) || (items > 2)) {
8978 0 : SWIG_croak("Usage: webObj_legendformat_set(self,legendformat);");
8979 : }
8980 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8981 0 : if (!SWIG_IsOK(res1)) {
8982 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_set" "', argument " "1"" of type '" "webObj *""'");
8983 : }
8984 0 : arg1 = (webObj *)(argp1);
8985 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8986 0 : if (!SWIG_IsOK(res2)) {
8987 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_legendformat_set" "', argument " "2"" of type '" "char *""'");
8988 : }
8989 0 : arg2 = (char *)(buf2);
8990 : {
8991 0 : if (arg1->legendformat) free((char*)arg1->legendformat);
8992 0 : if (arg2) {
8993 0 : arg1->legendformat = (char *) malloc(strlen(arg2)+1);
8994 : strcpy((char*)arg1->legendformat,arg2);
8995 : } else {
8996 0 : arg1->legendformat = 0;
8997 : }
8998 : }
8999 0 : ST(argvi) = sv_newmortal();
9000 :
9001 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9002 0 : XSRETURN(argvi);
9003 0 : fail:
9004 :
9005 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9006 0 : SWIG_croak_null();
9007 : }
9008 : }
9009 :
9010 :
9011 0 : XS(_wrap_webObj_legendformat_get) {
9012 : {
9013 : webObj *arg1 = (webObj *) 0 ;
9014 0 : void *argp1 = 0 ;
9015 : int res1 = 0 ;
9016 : int argvi = 0;
9017 : char *result = 0 ;
9018 0 : dXSARGS;
9019 :
9020 0 : if ((items < 1) || (items > 1)) {
9021 0 : SWIG_croak("Usage: webObj_legendformat_get(self);");
9022 : }
9023 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9024 0 : if (!SWIG_IsOK(res1)) {
9025 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_get" "', argument " "1"" of type '" "webObj *""'");
9026 : }
9027 0 : arg1 = (webObj *)(argp1);
9028 0 : result = (char *) ((arg1)->legendformat);
9029 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9030 :
9031 0 : XSRETURN(argvi);
9032 0 : fail:
9033 :
9034 0 : SWIG_croak_null();
9035 : }
9036 : }
9037 :
9038 :
9039 0 : XS(_wrap_webObj_browseformat_set) {
9040 : {
9041 : webObj *arg1 = (webObj *) 0 ;
9042 : char *arg2 = (char *) 0 ;
9043 0 : void *argp1 = 0 ;
9044 : int res1 = 0 ;
9045 : int res2 ;
9046 0 : char *buf2 = 0 ;
9047 0 : int alloc2 = 0 ;
9048 : int argvi = 0;
9049 0 : dXSARGS;
9050 :
9051 0 : if ((items < 2) || (items > 2)) {
9052 0 : SWIG_croak("Usage: webObj_browseformat_set(self,browseformat);");
9053 : }
9054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9055 0 : if (!SWIG_IsOK(res1)) {
9056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_set" "', argument " "1"" of type '" "webObj *""'");
9057 : }
9058 0 : arg1 = (webObj *)(argp1);
9059 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9060 0 : if (!SWIG_IsOK(res2)) {
9061 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_browseformat_set" "', argument " "2"" of type '" "char *""'");
9062 : }
9063 0 : arg2 = (char *)(buf2);
9064 : {
9065 0 : if (arg1->browseformat) free((char*)arg1->browseformat);
9066 0 : if (arg2) {
9067 0 : arg1->browseformat = (char *) malloc(strlen(arg2)+1);
9068 : strcpy((char*)arg1->browseformat,arg2);
9069 : } else {
9070 0 : arg1->browseformat = 0;
9071 : }
9072 : }
9073 0 : ST(argvi) = sv_newmortal();
9074 :
9075 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9076 0 : XSRETURN(argvi);
9077 0 : fail:
9078 :
9079 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9080 0 : SWIG_croak_null();
9081 : }
9082 : }
9083 :
9084 :
9085 0 : XS(_wrap_webObj_browseformat_get) {
9086 : {
9087 : webObj *arg1 = (webObj *) 0 ;
9088 0 : void *argp1 = 0 ;
9089 : int res1 = 0 ;
9090 : int argvi = 0;
9091 : char *result = 0 ;
9092 0 : dXSARGS;
9093 :
9094 0 : if ((items < 1) || (items > 1)) {
9095 0 : SWIG_croak("Usage: webObj_browseformat_get(self);");
9096 : }
9097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9098 0 : if (!SWIG_IsOK(res1)) {
9099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_get" "', argument " "1"" of type '" "webObj *""'");
9100 : }
9101 0 : arg1 = (webObj *)(argp1);
9102 0 : result = (char *) ((arg1)->browseformat);
9103 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9104 :
9105 0 : XSRETURN(argvi);
9106 0 : fail:
9107 :
9108 0 : SWIG_croak_null();
9109 : }
9110 : }
9111 :
9112 :
9113 0 : XS(_wrap_webObj_metadata_get) {
9114 : {
9115 : webObj *arg1 = (webObj *) 0 ;
9116 0 : void *argp1 = 0 ;
9117 : int res1 = 0 ;
9118 : int argvi = 0;
9119 : hashTableObj *result = 0 ;
9120 0 : dXSARGS;
9121 :
9122 0 : if ((items < 1) || (items > 1)) {
9123 0 : SWIG_croak("Usage: webObj_metadata_get(self);");
9124 : }
9125 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9126 0 : if (!SWIG_IsOK(res1)) {
9127 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_metadata_get" "', argument " "1"" of type '" "webObj *""'");
9128 : }
9129 0 : arg1 = (webObj *)(argp1);
9130 0 : result = (hashTableObj *)& ((arg1)->metadata);
9131 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9132 :
9133 0 : XSRETURN(argvi);
9134 0 : fail:
9135 :
9136 0 : SWIG_croak_null();
9137 : }
9138 : }
9139 :
9140 :
9141 0 : XS(_wrap_webObj_validation_get) {
9142 : {
9143 : webObj *arg1 = (webObj *) 0 ;
9144 0 : void *argp1 = 0 ;
9145 : int res1 = 0 ;
9146 : int argvi = 0;
9147 : hashTableObj *result = 0 ;
9148 0 : dXSARGS;
9149 :
9150 0 : if ((items < 1) || (items > 1)) {
9151 0 : SWIG_croak("Usage: webObj_validation_get(self);");
9152 : }
9153 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9154 0 : if (!SWIG_IsOK(res1)) {
9155 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_validation_get" "', argument " "1"" of type '" "webObj *""'");
9156 : }
9157 0 : arg1 = (webObj *)(argp1);
9158 0 : result = (hashTableObj *)& ((arg1)->validation);
9159 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9160 :
9161 0 : XSRETURN(argvi);
9162 0 : fail:
9163 :
9164 0 : SWIG_croak_null();
9165 : }
9166 : }
9167 :
9168 :
9169 0 : XS(_wrap_new_webObj) {
9170 : {
9171 : int argvi = 0;
9172 : webObj *result = 0 ;
9173 0 : dXSARGS;
9174 :
9175 0 : if ((items < 0) || (items > 0)) {
9176 0 : SWIG_croak("Usage: new_webObj();");
9177 : }
9178 : result = (webObj *)new_webObj();
9179 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9180 0 : XSRETURN(argvi);
9181 : fail:
9182 0 : SWIG_croak_null();
9183 : }
9184 : }
9185 :
9186 :
9187 0 : XS(_wrap_delete_webObj) {
9188 : {
9189 : webObj *arg1 = (webObj *) 0 ;
9190 0 : void *argp1 = 0 ;
9191 : int res1 = 0 ;
9192 : int argvi = 0;
9193 0 : dXSARGS;
9194 :
9195 0 : if ((items < 1) || (items > 1)) {
9196 0 : SWIG_croak("Usage: delete_webObj(self);");
9197 : }
9198 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, SWIG_POINTER_DISOWN | 0 );
9199 0 : if (!SWIG_IsOK(res1)) {
9200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_webObj" "', argument " "1"" of type '" "webObj *""'");
9201 : }
9202 0 : arg1 = (webObj *)(argp1);
9203 : delete_webObj(arg1);
9204 0 : ST(argvi) = sv_newmortal();
9205 :
9206 0 : XSRETURN(argvi);
9207 0 : fail:
9208 :
9209 0 : SWIG_croak_null();
9210 : }
9211 : }
9212 :
9213 :
9214 0 : XS(_wrap_webObj_updateFromString) {
9215 : {
9216 : webObj *arg1 = (webObj *) 0 ;
9217 : char *arg2 = (char *) 0 ;
9218 0 : void *argp1 = 0 ;
9219 : int res1 = 0 ;
9220 : int res2 ;
9221 0 : char *buf2 = 0 ;
9222 0 : int alloc2 = 0 ;
9223 : int argvi = 0;
9224 : int result;
9225 0 : dXSARGS;
9226 :
9227 0 : if ((items < 2) || (items > 2)) {
9228 0 : SWIG_croak("Usage: webObj_updateFromString(self,snippet);");
9229 : }
9230 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9231 0 : if (!SWIG_IsOK(res1)) {
9232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_updateFromString" "', argument " "1"" of type '" "webObj *""'");
9233 : }
9234 0 : arg1 = (webObj *)(argp1);
9235 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9236 0 : if (!SWIG_IsOK(res2)) {
9237 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_updateFromString" "', argument " "2"" of type '" "char *""'");
9238 : }
9239 0 : arg2 = (char *)(buf2);
9240 : result = (int)webObj_updateFromString(arg1,arg2);
9241 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9242 :
9243 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9244 0 : XSRETURN(argvi);
9245 0 : fail:
9246 :
9247 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9248 0 : SWIG_croak_null();
9249 : }
9250 : }
9251 :
9252 :
9253 0 : XS(_wrap_webObj_convertToString) {
9254 : {
9255 : webObj *arg1 = (webObj *) 0 ;
9256 0 : void *argp1 = 0 ;
9257 : int res1 = 0 ;
9258 : int argvi = 0;
9259 : char *result = 0 ;
9260 0 : dXSARGS;
9261 :
9262 0 : if ((items < 1) || (items > 1)) {
9263 0 : SWIG_croak("Usage: webObj_convertToString(self);");
9264 : }
9265 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9266 0 : if (!SWIG_IsOK(res1)) {
9267 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_convertToString" "', argument " "1"" of type '" "webObj *""'");
9268 : }
9269 0 : arg1 = (webObj *)(argp1);
9270 : result = (char *)webObj_convertToString(arg1);
9271 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9272 :
9273 0 : free((char*)result);
9274 0 : XSRETURN(argvi);
9275 0 : fail:
9276 :
9277 0 : SWIG_croak_null();
9278 : }
9279 : }
9280 :
9281 :
9282 0 : XS(_wrap_styleObj_refcount_get) {
9283 : {
9284 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9285 0 : void *argp1 = 0 ;
9286 : int res1 = 0 ;
9287 : int argvi = 0;
9288 : int result;
9289 0 : dXSARGS;
9290 :
9291 0 : if ((items < 1) || (items > 1)) {
9292 0 : SWIG_croak("Usage: styleObj_refcount_get(self);");
9293 : }
9294 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9295 0 : if (!SWIG_IsOK(res1)) {
9296 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_refcount_get" "', argument " "1"" of type '" "struct styleObj *""'");
9297 : }
9298 0 : arg1 = (struct styleObj *)(argp1);
9299 0 : result = (int) ((arg1)->refcount);
9300 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9301 :
9302 0 : XSRETURN(argvi);
9303 0 : fail:
9304 :
9305 0 : SWIG_croak_null();
9306 : }
9307 : }
9308 :
9309 :
9310 0 : XS(_wrap_styleObj_symbolname_get) {
9311 : {
9312 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9313 0 : void *argp1 = 0 ;
9314 : int res1 = 0 ;
9315 : int argvi = 0;
9316 : char *result = 0 ;
9317 0 : dXSARGS;
9318 :
9319 0 : if ((items < 1) || (items > 1)) {
9320 0 : SWIG_croak("Usage: styleObj_symbolname_get(self);");
9321 : }
9322 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9323 0 : if (!SWIG_IsOK(res1)) {
9324 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_get" "', argument " "1"" of type '" "struct styleObj *""'");
9325 : }
9326 0 : arg1 = (struct styleObj *)(argp1);
9327 0 : result = (char *) ((arg1)->symbolname);
9328 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9329 :
9330 0 : XSRETURN(argvi);
9331 0 : fail:
9332 :
9333 0 : SWIG_croak_null();
9334 : }
9335 : }
9336 :
9337 :
9338 0 : XS(_wrap_styleObj_autoangle_set) {
9339 : {
9340 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9341 : int arg2 ;
9342 0 : void *argp1 = 0 ;
9343 : int res1 = 0 ;
9344 : int val2 ;
9345 : int ecode2 = 0 ;
9346 : int argvi = 0;
9347 0 : dXSARGS;
9348 :
9349 0 : if ((items < 2) || (items > 2)) {
9350 0 : SWIG_croak("Usage: styleObj_autoangle_set(self,autoangle);");
9351 : }
9352 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9353 0 : if (!SWIG_IsOK(res1)) {
9354 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
9355 : }
9356 0 : arg1 = (struct styleObj *)(argp1);
9357 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9358 0 : if (!SWIG_IsOK(ecode2)) {
9359 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_autoangle_set" "', argument " "2"" of type '" "int""'");
9360 : }
9361 : arg2 = (int)(val2);
9362 0 : if (arg1) (arg1)->autoangle = arg2;
9363 0 : ST(argvi) = sv_newmortal();
9364 :
9365 :
9366 0 : XSRETURN(argvi);
9367 0 : fail:
9368 :
9369 :
9370 0 : SWIG_croak_null();
9371 : }
9372 : }
9373 :
9374 :
9375 0 : XS(_wrap_styleObj_autoangle_get) {
9376 : {
9377 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9378 0 : void *argp1 = 0 ;
9379 : int res1 = 0 ;
9380 : int argvi = 0;
9381 : int result;
9382 0 : dXSARGS;
9383 :
9384 0 : if ((items < 1) || (items > 1)) {
9385 0 : SWIG_croak("Usage: styleObj_autoangle_get(self);");
9386 : }
9387 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9388 0 : if (!SWIG_IsOK(res1)) {
9389 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
9390 : }
9391 0 : arg1 = (struct styleObj *)(argp1);
9392 0 : result = (int) ((arg1)->autoangle);
9393 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9394 :
9395 0 : XSRETURN(argvi);
9396 0 : fail:
9397 :
9398 0 : SWIG_croak_null();
9399 : }
9400 : }
9401 :
9402 :
9403 0 : XS(_wrap_styleObj_color_set) {
9404 : {
9405 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9406 : colorObj *arg2 = (colorObj *) 0 ;
9407 0 : void *argp1 = 0 ;
9408 : int res1 = 0 ;
9409 0 : void *argp2 = 0 ;
9410 : int res2 = 0 ;
9411 : int argvi = 0;
9412 0 : dXSARGS;
9413 :
9414 0 : if ((items < 2) || (items > 2)) {
9415 0 : SWIG_croak("Usage: styleObj_color_set(self,color);");
9416 : }
9417 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9418 0 : if (!SWIG_IsOK(res1)) {
9419 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_set" "', argument " "1"" of type '" "struct styleObj *""'");
9420 : }
9421 0 : arg1 = (struct styleObj *)(argp1);
9422 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9423 0 : if (!SWIG_IsOK(res2)) {
9424 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
9425 : }
9426 0 : arg2 = (colorObj *)(argp2);
9427 0 : if (arg1) (arg1)->color = *arg2;
9428 0 : ST(argvi) = sv_newmortal();
9429 :
9430 :
9431 0 : XSRETURN(argvi);
9432 0 : fail:
9433 :
9434 :
9435 0 : SWIG_croak_null();
9436 : }
9437 : }
9438 :
9439 :
9440 0 : XS(_wrap_styleObj_color_get) {
9441 : {
9442 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9443 0 : void *argp1 = 0 ;
9444 : int res1 = 0 ;
9445 : int argvi = 0;
9446 : colorObj *result = 0 ;
9447 0 : dXSARGS;
9448 :
9449 0 : if ((items < 1) || (items > 1)) {
9450 0 : SWIG_croak("Usage: styleObj_color_get(self);");
9451 : }
9452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9453 0 : if (!SWIG_IsOK(res1)) {
9454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_get" "', argument " "1"" of type '" "struct styleObj *""'");
9455 : }
9456 0 : arg1 = (struct styleObj *)(argp1);
9457 0 : result = (colorObj *)& ((arg1)->color);
9458 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9459 :
9460 0 : XSRETURN(argvi);
9461 0 : fail:
9462 :
9463 0 : SWIG_croak_null();
9464 : }
9465 : }
9466 :
9467 :
9468 0 : XS(_wrap_styleObj_backgroundcolor_set) {
9469 : {
9470 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9471 : colorObj *arg2 = (colorObj *) 0 ;
9472 0 : void *argp1 = 0 ;
9473 : int res1 = 0 ;
9474 0 : void *argp2 = 0 ;
9475 : int res2 = 0 ;
9476 : int argvi = 0;
9477 0 : dXSARGS;
9478 :
9479 0 : if ((items < 2) || (items > 2)) {
9480 0 : SWIG_croak("Usage: styleObj_backgroundcolor_set(self,backgroundcolor);");
9481 : }
9482 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9483 0 : if (!SWIG_IsOK(res1)) {
9484 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9485 : }
9486 0 : arg1 = (struct styleObj *)(argp1);
9487 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9488 0 : if (!SWIG_IsOK(res2)) {
9489 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9490 : }
9491 0 : arg2 = (colorObj *)(argp2);
9492 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
9493 0 : ST(argvi) = sv_newmortal();
9494 :
9495 :
9496 0 : XSRETURN(argvi);
9497 0 : fail:
9498 :
9499 :
9500 0 : SWIG_croak_null();
9501 : }
9502 : }
9503 :
9504 :
9505 0 : XS(_wrap_styleObj_backgroundcolor_get) {
9506 : {
9507 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9508 0 : void *argp1 = 0 ;
9509 : int res1 = 0 ;
9510 : int argvi = 0;
9511 : colorObj *result = 0 ;
9512 0 : dXSARGS;
9513 :
9514 0 : if ((items < 1) || (items > 1)) {
9515 0 : SWIG_croak("Usage: styleObj_backgroundcolor_get(self);");
9516 : }
9517 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9518 0 : if (!SWIG_IsOK(res1)) {
9519 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9520 : }
9521 0 : arg1 = (struct styleObj *)(argp1);
9522 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
9523 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9524 :
9525 0 : XSRETURN(argvi);
9526 0 : fail:
9527 :
9528 0 : SWIG_croak_null();
9529 : }
9530 : }
9531 :
9532 :
9533 0 : XS(_wrap_styleObj_outlinecolor_set) {
9534 : {
9535 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9536 : colorObj *arg2 = (colorObj *) 0 ;
9537 0 : void *argp1 = 0 ;
9538 : int res1 = 0 ;
9539 0 : void *argp2 = 0 ;
9540 : int res2 = 0 ;
9541 : int argvi = 0;
9542 0 : dXSARGS;
9543 :
9544 0 : if ((items < 2) || (items > 2)) {
9545 0 : SWIG_croak("Usage: styleObj_outlinecolor_set(self,outlinecolor);");
9546 : }
9547 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9548 0 : if (!SWIG_IsOK(res1)) {
9549 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9550 : }
9551 0 : arg1 = (struct styleObj *)(argp1);
9552 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9553 0 : if (!SWIG_IsOK(res2)) {
9554 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
9555 : }
9556 0 : arg2 = (colorObj *)(argp2);
9557 0 : if (arg1) (arg1)->outlinecolor = *arg2;
9558 0 : ST(argvi) = sv_newmortal();
9559 :
9560 :
9561 0 : XSRETURN(argvi);
9562 0 : fail:
9563 :
9564 :
9565 0 : SWIG_croak_null();
9566 : }
9567 : }
9568 :
9569 :
9570 0 : XS(_wrap_styleObj_outlinecolor_get) {
9571 : {
9572 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9573 0 : void *argp1 = 0 ;
9574 : int res1 = 0 ;
9575 : int argvi = 0;
9576 : colorObj *result = 0 ;
9577 0 : dXSARGS;
9578 :
9579 0 : if ((items < 1) || (items > 1)) {
9580 0 : SWIG_croak("Usage: styleObj_outlinecolor_get(self);");
9581 : }
9582 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9583 0 : if (!SWIG_IsOK(res1)) {
9584 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9585 : }
9586 0 : arg1 = (struct styleObj *)(argp1);
9587 0 : result = (colorObj *)& ((arg1)->outlinecolor);
9588 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9589 :
9590 0 : XSRETURN(argvi);
9591 0 : fail:
9592 :
9593 0 : SWIG_croak_null();
9594 : }
9595 : }
9596 :
9597 :
9598 0 : XS(_wrap_styleObj_opacity_set) {
9599 : {
9600 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9601 : int arg2 ;
9602 0 : void *argp1 = 0 ;
9603 : int res1 = 0 ;
9604 : int val2 ;
9605 : int ecode2 = 0 ;
9606 : int argvi = 0;
9607 0 : dXSARGS;
9608 :
9609 0 : if ((items < 2) || (items > 2)) {
9610 0 : SWIG_croak("Usage: styleObj_opacity_set(self,opacity);");
9611 : }
9612 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9613 0 : if (!SWIG_IsOK(res1)) {
9614 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_set" "', argument " "1"" of type '" "struct styleObj *""'");
9615 : }
9616 0 : arg1 = (struct styleObj *)(argp1);
9617 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9618 0 : if (!SWIG_IsOK(ecode2)) {
9619 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_opacity_set" "', argument " "2"" of type '" "int""'");
9620 : }
9621 : arg2 = (int)(val2);
9622 0 : if (arg1) (arg1)->opacity = arg2;
9623 0 : ST(argvi) = sv_newmortal();
9624 :
9625 :
9626 0 : XSRETURN(argvi);
9627 0 : fail:
9628 :
9629 :
9630 0 : SWIG_croak_null();
9631 : }
9632 : }
9633 :
9634 :
9635 0 : XS(_wrap_styleObj_opacity_get) {
9636 : {
9637 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9638 0 : void *argp1 = 0 ;
9639 : int res1 = 0 ;
9640 : int argvi = 0;
9641 : int result;
9642 0 : dXSARGS;
9643 :
9644 0 : if ((items < 1) || (items > 1)) {
9645 0 : SWIG_croak("Usage: styleObj_opacity_get(self);");
9646 : }
9647 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9648 0 : if (!SWIG_IsOK(res1)) {
9649 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_get" "', argument " "1"" of type '" "struct styleObj *""'");
9650 : }
9651 0 : arg1 = (struct styleObj *)(argp1);
9652 0 : result = (int) ((arg1)->opacity);
9653 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9654 :
9655 0 : XSRETURN(argvi);
9656 0 : fail:
9657 :
9658 0 : SWIG_croak_null();
9659 : }
9660 : }
9661 :
9662 :
9663 0 : XS(_wrap_styleObj_mincolor_set) {
9664 : {
9665 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9666 : colorObj *arg2 = (colorObj *) 0 ;
9667 0 : void *argp1 = 0 ;
9668 : int res1 = 0 ;
9669 0 : void *argp2 = 0 ;
9670 : int res2 = 0 ;
9671 : int argvi = 0;
9672 0 : dXSARGS;
9673 :
9674 0 : if ((items < 2) || (items > 2)) {
9675 0 : SWIG_croak("Usage: styleObj_mincolor_set(self,mincolor);");
9676 : }
9677 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9678 0 : if (!SWIG_IsOK(res1)) {
9679 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9680 : }
9681 0 : arg1 = (struct styleObj *)(argp1);
9682 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9683 0 : if (!SWIG_IsOK(res2)) {
9684 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_mincolor_set" "', argument " "2"" of type '" "colorObj *""'");
9685 : }
9686 0 : arg2 = (colorObj *)(argp2);
9687 0 : if (arg1) (arg1)->mincolor = *arg2;
9688 0 : ST(argvi) = sv_newmortal();
9689 :
9690 :
9691 0 : XSRETURN(argvi);
9692 0 : fail:
9693 :
9694 :
9695 0 : SWIG_croak_null();
9696 : }
9697 : }
9698 :
9699 :
9700 0 : XS(_wrap_styleObj_mincolor_get) {
9701 : {
9702 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9703 0 : void *argp1 = 0 ;
9704 : int res1 = 0 ;
9705 : int argvi = 0;
9706 : colorObj *result = 0 ;
9707 0 : dXSARGS;
9708 :
9709 0 : if ((items < 1) || (items > 1)) {
9710 0 : SWIG_croak("Usage: styleObj_mincolor_get(self);");
9711 : }
9712 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9713 0 : if (!SWIG_IsOK(res1)) {
9714 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9715 : }
9716 0 : arg1 = (struct styleObj *)(argp1);
9717 0 : result = (colorObj *)& ((arg1)->mincolor);
9718 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9719 :
9720 0 : XSRETURN(argvi);
9721 0 : fail:
9722 :
9723 0 : SWIG_croak_null();
9724 : }
9725 : }
9726 :
9727 :
9728 0 : XS(_wrap_styleObj_maxcolor_set) {
9729 : {
9730 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9731 : colorObj *arg2 = (colorObj *) 0 ;
9732 0 : void *argp1 = 0 ;
9733 : int res1 = 0 ;
9734 0 : void *argp2 = 0 ;
9735 : int res2 = 0 ;
9736 : int argvi = 0;
9737 0 : dXSARGS;
9738 :
9739 0 : if ((items < 2) || (items > 2)) {
9740 0 : SWIG_croak("Usage: styleObj_maxcolor_set(self,maxcolor);");
9741 : }
9742 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9743 0 : if (!SWIG_IsOK(res1)) {
9744 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9745 : }
9746 0 : arg1 = (struct styleObj *)(argp1);
9747 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9748 0 : if (!SWIG_IsOK(res2)) {
9749 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_maxcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9750 : }
9751 0 : arg2 = (colorObj *)(argp2);
9752 0 : if (arg1) (arg1)->maxcolor = *arg2;
9753 0 : ST(argvi) = sv_newmortal();
9754 :
9755 :
9756 0 : XSRETURN(argvi);
9757 0 : fail:
9758 :
9759 :
9760 0 : SWIG_croak_null();
9761 : }
9762 : }
9763 :
9764 :
9765 0 : XS(_wrap_styleObj_maxcolor_get) {
9766 : {
9767 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9768 0 : void *argp1 = 0 ;
9769 : int res1 = 0 ;
9770 : int argvi = 0;
9771 : colorObj *result = 0 ;
9772 0 : dXSARGS;
9773 :
9774 0 : if ((items < 1) || (items > 1)) {
9775 0 : SWIG_croak("Usage: styleObj_maxcolor_get(self);");
9776 : }
9777 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9778 0 : if (!SWIG_IsOK(res1)) {
9779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9780 : }
9781 0 : arg1 = (struct styleObj *)(argp1);
9782 0 : result = (colorObj *)& ((arg1)->maxcolor);
9783 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9784 :
9785 0 : XSRETURN(argvi);
9786 0 : fail:
9787 :
9788 0 : SWIG_croak_null();
9789 : }
9790 : }
9791 :
9792 :
9793 0 : XS(_wrap_styleObj_minvalue_set) {
9794 : {
9795 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9796 : double arg2 ;
9797 0 : void *argp1 = 0 ;
9798 : int res1 = 0 ;
9799 : double val2 ;
9800 : int ecode2 = 0 ;
9801 : int argvi = 0;
9802 0 : dXSARGS;
9803 :
9804 0 : if ((items < 2) || (items > 2)) {
9805 0 : SWIG_croak("Usage: styleObj_minvalue_set(self,minvalue);");
9806 : }
9807 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9808 0 : if (!SWIG_IsOK(res1)) {
9809 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9810 : }
9811 0 : arg1 = (struct styleObj *)(argp1);
9812 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9813 0 : if (!SWIG_IsOK(ecode2)) {
9814 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minvalue_set" "', argument " "2"" of type '" "double""'");
9815 : }
9816 0 : arg2 = (double)(val2);
9817 0 : if (arg1) (arg1)->minvalue = arg2;
9818 0 : ST(argvi) = sv_newmortal();
9819 :
9820 :
9821 0 : XSRETURN(argvi);
9822 0 : fail:
9823 :
9824 :
9825 0 : SWIG_croak_null();
9826 : }
9827 : }
9828 :
9829 :
9830 0 : XS(_wrap_styleObj_minvalue_get) {
9831 : {
9832 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9833 0 : void *argp1 = 0 ;
9834 : int res1 = 0 ;
9835 : int argvi = 0;
9836 : double result;
9837 0 : dXSARGS;
9838 :
9839 0 : if ((items < 1) || (items > 1)) {
9840 0 : SWIG_croak("Usage: styleObj_minvalue_get(self);");
9841 : }
9842 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9843 0 : if (!SWIG_IsOK(res1)) {
9844 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9845 : }
9846 0 : arg1 = (struct styleObj *)(argp1);
9847 0 : result = (double) ((arg1)->minvalue);
9848 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9849 :
9850 0 : XSRETURN(argvi);
9851 0 : fail:
9852 :
9853 0 : SWIG_croak_null();
9854 : }
9855 : }
9856 :
9857 :
9858 0 : XS(_wrap_styleObj_maxvalue_set) {
9859 : {
9860 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9861 : double arg2 ;
9862 0 : void *argp1 = 0 ;
9863 : int res1 = 0 ;
9864 : double val2 ;
9865 : int ecode2 = 0 ;
9866 : int argvi = 0;
9867 0 : dXSARGS;
9868 :
9869 0 : if ((items < 2) || (items > 2)) {
9870 0 : SWIG_croak("Usage: styleObj_maxvalue_set(self,maxvalue);");
9871 : }
9872 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9873 0 : if (!SWIG_IsOK(res1)) {
9874 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9875 : }
9876 0 : arg1 = (struct styleObj *)(argp1);
9877 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9878 0 : if (!SWIG_IsOK(ecode2)) {
9879 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxvalue_set" "', argument " "2"" of type '" "double""'");
9880 : }
9881 0 : arg2 = (double)(val2);
9882 0 : if (arg1) (arg1)->maxvalue = arg2;
9883 0 : ST(argvi) = sv_newmortal();
9884 :
9885 :
9886 0 : XSRETURN(argvi);
9887 0 : fail:
9888 :
9889 :
9890 0 : SWIG_croak_null();
9891 : }
9892 : }
9893 :
9894 :
9895 0 : XS(_wrap_styleObj_maxvalue_get) {
9896 : {
9897 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9898 0 : void *argp1 = 0 ;
9899 : int res1 = 0 ;
9900 : int argvi = 0;
9901 : double result;
9902 0 : dXSARGS;
9903 :
9904 0 : if ((items < 1) || (items > 1)) {
9905 0 : SWIG_croak("Usage: styleObj_maxvalue_get(self);");
9906 : }
9907 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9908 0 : if (!SWIG_IsOK(res1)) {
9909 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9910 : }
9911 0 : arg1 = (struct styleObj *)(argp1);
9912 0 : result = (double) ((arg1)->maxvalue);
9913 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9914 :
9915 0 : XSRETURN(argvi);
9916 0 : fail:
9917 :
9918 0 : SWIG_croak_null();
9919 : }
9920 : }
9921 :
9922 :
9923 0 : XS(_wrap_styleObj_rangeitem_set) {
9924 : {
9925 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9926 : char *arg2 = (char *) 0 ;
9927 0 : void *argp1 = 0 ;
9928 : int res1 = 0 ;
9929 : int res2 ;
9930 0 : char *buf2 = 0 ;
9931 0 : int alloc2 = 0 ;
9932 : int argvi = 0;
9933 0 : dXSARGS;
9934 :
9935 0 : if ((items < 2) || (items > 2)) {
9936 0 : SWIG_croak("Usage: styleObj_rangeitem_set(self,rangeitem);");
9937 : }
9938 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9939 0 : if (!SWIG_IsOK(res1)) {
9940 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_set" "', argument " "1"" of type '" "struct styleObj *""'");
9941 : }
9942 0 : arg1 = (struct styleObj *)(argp1);
9943 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9944 0 : if (!SWIG_IsOK(res2)) {
9945 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_rangeitem_set" "', argument " "2"" of type '" "char *""'");
9946 : }
9947 0 : arg2 = (char *)(buf2);
9948 : {
9949 0 : if (arg1->rangeitem) free((char*)arg1->rangeitem);
9950 0 : if (arg2) {
9951 0 : arg1->rangeitem = (char *) malloc(strlen(arg2)+1);
9952 : strcpy((char*)arg1->rangeitem,arg2);
9953 : } else {
9954 0 : arg1->rangeitem = 0;
9955 : }
9956 : }
9957 0 : ST(argvi) = sv_newmortal();
9958 :
9959 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9960 0 : XSRETURN(argvi);
9961 0 : fail:
9962 :
9963 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9964 0 : SWIG_croak_null();
9965 : }
9966 : }
9967 :
9968 :
9969 0 : XS(_wrap_styleObj_rangeitem_get) {
9970 : {
9971 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9972 0 : void *argp1 = 0 ;
9973 : int res1 = 0 ;
9974 : int argvi = 0;
9975 : char *result = 0 ;
9976 0 : dXSARGS;
9977 :
9978 0 : if ((items < 1) || (items > 1)) {
9979 0 : SWIG_croak("Usage: styleObj_rangeitem_get(self);");
9980 : }
9981 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9982 0 : if (!SWIG_IsOK(res1)) {
9983 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_get" "', argument " "1"" of type '" "struct styleObj *""'");
9984 : }
9985 0 : arg1 = (struct styleObj *)(argp1);
9986 0 : result = (char *) ((arg1)->rangeitem);
9987 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9988 :
9989 0 : XSRETURN(argvi);
9990 0 : fail:
9991 :
9992 0 : SWIG_croak_null();
9993 : }
9994 : }
9995 :
9996 :
9997 0 : XS(_wrap_styleObj_rangeitemindex_set) {
9998 : {
9999 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10000 : int arg2 ;
10001 0 : void *argp1 = 0 ;
10002 : int res1 = 0 ;
10003 : int val2 ;
10004 : int ecode2 = 0 ;
10005 : int argvi = 0;
10006 0 : dXSARGS;
10007 :
10008 0 : if ((items < 2) || (items > 2)) {
10009 0 : SWIG_croak("Usage: styleObj_rangeitemindex_set(self,rangeitemindex);");
10010 : }
10011 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10012 0 : if (!SWIG_IsOK(res1)) {
10013 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_set" "', argument " "1"" of type '" "struct styleObj *""'");
10014 : }
10015 0 : arg1 = (struct styleObj *)(argp1);
10016 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10017 0 : if (!SWIG_IsOK(ecode2)) {
10018 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_rangeitemindex_set" "', argument " "2"" of type '" "int""'");
10019 : }
10020 : arg2 = (int)(val2);
10021 0 : if (arg1) (arg1)->rangeitemindex = arg2;
10022 0 : ST(argvi) = sv_newmortal();
10023 :
10024 :
10025 0 : XSRETURN(argvi);
10026 0 : fail:
10027 :
10028 :
10029 0 : SWIG_croak_null();
10030 : }
10031 : }
10032 :
10033 :
10034 0 : XS(_wrap_styleObj_rangeitemindex_get) {
10035 : {
10036 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10037 0 : void *argp1 = 0 ;
10038 : int res1 = 0 ;
10039 : int argvi = 0;
10040 : int result;
10041 0 : dXSARGS;
10042 :
10043 0 : if ((items < 1) || (items > 1)) {
10044 0 : SWIG_croak("Usage: styleObj_rangeitemindex_get(self);");
10045 : }
10046 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10047 0 : if (!SWIG_IsOK(res1)) {
10048 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_get" "', argument " "1"" of type '" "struct styleObj *""'");
10049 : }
10050 0 : arg1 = (struct styleObj *)(argp1);
10051 0 : result = (int) ((arg1)->rangeitemindex);
10052 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10053 :
10054 0 : XSRETURN(argvi);
10055 0 : fail:
10056 :
10057 0 : SWIG_croak_null();
10058 : }
10059 : }
10060 :
10061 :
10062 0 : XS(_wrap_styleObj_symbol_set) {
10063 : {
10064 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10065 : int arg2 ;
10066 0 : void *argp1 = 0 ;
10067 : int res1 = 0 ;
10068 : int val2 ;
10069 : int ecode2 = 0 ;
10070 : int argvi = 0;
10071 0 : dXSARGS;
10072 :
10073 0 : if ((items < 2) || (items > 2)) {
10074 0 : SWIG_croak("Usage: styleObj_symbol_set(self,symbol);");
10075 : }
10076 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10077 0 : if (!SWIG_IsOK(res1)) {
10078 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_set" "', argument " "1"" of type '" "struct styleObj *""'");
10079 : }
10080 0 : arg1 = (struct styleObj *)(argp1);
10081 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10082 0 : if (!SWIG_IsOK(ecode2)) {
10083 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_symbol_set" "', argument " "2"" of type '" "int""'");
10084 : }
10085 : arg2 = (int)(val2);
10086 0 : if (arg1) (arg1)->symbol = arg2;
10087 0 : ST(argvi) = sv_newmortal();
10088 :
10089 :
10090 0 : XSRETURN(argvi);
10091 0 : fail:
10092 :
10093 :
10094 0 : SWIG_croak_null();
10095 : }
10096 : }
10097 :
10098 :
10099 0 : XS(_wrap_styleObj_symbol_get) {
10100 : {
10101 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10102 0 : void *argp1 = 0 ;
10103 : int res1 = 0 ;
10104 : int argvi = 0;
10105 : int result;
10106 0 : dXSARGS;
10107 :
10108 0 : if ((items < 1) || (items > 1)) {
10109 0 : SWIG_croak("Usage: styleObj_symbol_get(self);");
10110 : }
10111 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10112 0 : if (!SWIG_IsOK(res1)) {
10113 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_get" "', argument " "1"" of type '" "struct styleObj *""'");
10114 : }
10115 0 : arg1 = (struct styleObj *)(argp1);
10116 0 : result = (int) ((arg1)->symbol);
10117 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10118 :
10119 0 : XSRETURN(argvi);
10120 0 : fail:
10121 :
10122 0 : SWIG_croak_null();
10123 : }
10124 : }
10125 :
10126 :
10127 0 : XS(_wrap_styleObj_size_set) {
10128 : {
10129 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10130 : double arg2 ;
10131 0 : void *argp1 = 0 ;
10132 : int res1 = 0 ;
10133 : double val2 ;
10134 : int ecode2 = 0 ;
10135 : int argvi = 0;
10136 0 : dXSARGS;
10137 :
10138 0 : if ((items < 2) || (items > 2)) {
10139 0 : SWIG_croak("Usage: styleObj_size_set(self,size);");
10140 : }
10141 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10142 0 : if (!SWIG_IsOK(res1)) {
10143 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_set" "', argument " "1"" of type '" "struct styleObj *""'");
10144 : }
10145 0 : arg1 = (struct styleObj *)(argp1);
10146 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10147 0 : if (!SWIG_IsOK(ecode2)) {
10148 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_size_set" "', argument " "2"" of type '" "double""'");
10149 : }
10150 0 : arg2 = (double)(val2);
10151 0 : if (arg1) (arg1)->size = arg2;
10152 0 : ST(argvi) = sv_newmortal();
10153 :
10154 :
10155 0 : XSRETURN(argvi);
10156 0 : fail:
10157 :
10158 :
10159 0 : SWIG_croak_null();
10160 : }
10161 : }
10162 :
10163 :
10164 0 : XS(_wrap_styleObj_size_get) {
10165 : {
10166 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10167 0 : void *argp1 = 0 ;
10168 : int res1 = 0 ;
10169 : int argvi = 0;
10170 : double result;
10171 0 : dXSARGS;
10172 :
10173 0 : if ((items < 1) || (items > 1)) {
10174 0 : SWIG_croak("Usage: styleObj_size_get(self);");
10175 : }
10176 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10177 0 : if (!SWIG_IsOK(res1)) {
10178 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_get" "', argument " "1"" of type '" "struct styleObj *""'");
10179 : }
10180 0 : arg1 = (struct styleObj *)(argp1);
10181 0 : result = (double) ((arg1)->size);
10182 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10183 :
10184 0 : XSRETURN(argvi);
10185 0 : fail:
10186 :
10187 0 : SWIG_croak_null();
10188 : }
10189 : }
10190 :
10191 :
10192 0 : XS(_wrap_styleObj_minsize_set) {
10193 : {
10194 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10195 : double arg2 ;
10196 0 : void *argp1 = 0 ;
10197 : int res1 = 0 ;
10198 : double val2 ;
10199 : int ecode2 = 0 ;
10200 : int argvi = 0;
10201 0 : dXSARGS;
10202 :
10203 0 : if ((items < 2) || (items > 2)) {
10204 0 : SWIG_croak("Usage: styleObj_minsize_set(self,minsize);");
10205 : }
10206 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10207 0 : if (!SWIG_IsOK(res1)) {
10208 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10209 : }
10210 0 : arg1 = (struct styleObj *)(argp1);
10211 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10212 0 : if (!SWIG_IsOK(ecode2)) {
10213 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minsize_set" "', argument " "2"" of type '" "double""'");
10214 : }
10215 0 : arg2 = (double)(val2);
10216 0 : if (arg1) (arg1)->minsize = arg2;
10217 0 : ST(argvi) = sv_newmortal();
10218 :
10219 :
10220 0 : XSRETURN(argvi);
10221 0 : fail:
10222 :
10223 :
10224 0 : SWIG_croak_null();
10225 : }
10226 : }
10227 :
10228 :
10229 0 : XS(_wrap_styleObj_minsize_get) {
10230 : {
10231 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10232 0 : void *argp1 = 0 ;
10233 : int res1 = 0 ;
10234 : int argvi = 0;
10235 : double result;
10236 0 : dXSARGS;
10237 :
10238 0 : if ((items < 1) || (items > 1)) {
10239 0 : SWIG_croak("Usage: styleObj_minsize_get(self);");
10240 : }
10241 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10242 0 : if (!SWIG_IsOK(res1)) {
10243 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10244 : }
10245 0 : arg1 = (struct styleObj *)(argp1);
10246 0 : result = (double) ((arg1)->minsize);
10247 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10248 :
10249 0 : XSRETURN(argvi);
10250 0 : fail:
10251 :
10252 0 : SWIG_croak_null();
10253 : }
10254 : }
10255 :
10256 :
10257 0 : XS(_wrap_styleObj_maxsize_set) {
10258 : {
10259 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10260 : double arg2 ;
10261 0 : void *argp1 = 0 ;
10262 : int res1 = 0 ;
10263 : double val2 ;
10264 : int ecode2 = 0 ;
10265 : int argvi = 0;
10266 0 : dXSARGS;
10267 :
10268 0 : if ((items < 2) || (items > 2)) {
10269 0 : SWIG_croak("Usage: styleObj_maxsize_set(self,maxsize);");
10270 : }
10271 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10272 0 : if (!SWIG_IsOK(res1)) {
10273 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10274 : }
10275 0 : arg1 = (struct styleObj *)(argp1);
10276 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10277 0 : if (!SWIG_IsOK(ecode2)) {
10278 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxsize_set" "', argument " "2"" of type '" "double""'");
10279 : }
10280 0 : arg2 = (double)(val2);
10281 0 : if (arg1) (arg1)->maxsize = arg2;
10282 0 : ST(argvi) = sv_newmortal();
10283 :
10284 :
10285 0 : XSRETURN(argvi);
10286 0 : fail:
10287 :
10288 :
10289 0 : SWIG_croak_null();
10290 : }
10291 : }
10292 :
10293 :
10294 0 : XS(_wrap_styleObj_maxsize_get) {
10295 : {
10296 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10297 0 : void *argp1 = 0 ;
10298 : int res1 = 0 ;
10299 : int argvi = 0;
10300 : double result;
10301 0 : dXSARGS;
10302 :
10303 0 : if ((items < 1) || (items > 1)) {
10304 0 : SWIG_croak("Usage: styleObj_maxsize_get(self);");
10305 : }
10306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10307 0 : if (!SWIG_IsOK(res1)) {
10308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10309 : }
10310 0 : arg1 = (struct styleObj *)(argp1);
10311 0 : result = (double) ((arg1)->maxsize);
10312 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10313 :
10314 0 : XSRETURN(argvi);
10315 0 : fail:
10316 :
10317 0 : SWIG_croak_null();
10318 : }
10319 : }
10320 :
10321 :
10322 0 : XS(_wrap_styleObj_patternlength_set) {
10323 : {
10324 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10325 : int arg2 ;
10326 0 : void *argp1 = 0 ;
10327 : int res1 = 0 ;
10328 : int val2 ;
10329 : int ecode2 = 0 ;
10330 : int argvi = 0;
10331 0 : dXSARGS;
10332 :
10333 0 : if ((items < 2) || (items > 2)) {
10334 0 : SWIG_croak("Usage: styleObj_patternlength_set(self,patternlength);");
10335 : }
10336 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10337 0 : if (!SWIG_IsOK(res1)) {
10338 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_set" "', argument " "1"" of type '" "struct styleObj *""'");
10339 : }
10340 0 : arg1 = (struct styleObj *)(argp1);
10341 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10342 0 : if (!SWIG_IsOK(ecode2)) {
10343 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_patternlength_set" "', argument " "2"" of type '" "int""'");
10344 : }
10345 : arg2 = (int)(val2);
10346 0 : if (arg1) (arg1)->patternlength = arg2;
10347 0 : ST(argvi) = sv_newmortal();
10348 :
10349 :
10350 0 : XSRETURN(argvi);
10351 0 : fail:
10352 :
10353 :
10354 0 : SWIG_croak_null();
10355 : }
10356 : }
10357 :
10358 :
10359 0 : XS(_wrap_styleObj_patternlength_get) {
10360 : {
10361 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10362 0 : void *argp1 = 0 ;
10363 : int res1 = 0 ;
10364 : int argvi = 0;
10365 : int result;
10366 0 : dXSARGS;
10367 :
10368 0 : if ((items < 1) || (items > 1)) {
10369 0 : SWIG_croak("Usage: styleObj_patternlength_get(self);");
10370 : }
10371 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10372 0 : if (!SWIG_IsOK(res1)) {
10373 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_get" "', argument " "1"" of type '" "struct styleObj *""'");
10374 : }
10375 0 : arg1 = (struct styleObj *)(argp1);
10376 0 : result = (int) ((arg1)->patternlength);
10377 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10378 :
10379 0 : XSRETURN(argvi);
10380 0 : fail:
10381 :
10382 0 : SWIG_croak_null();
10383 : }
10384 : }
10385 :
10386 :
10387 0 : XS(_wrap_styleObj_pattern_set) {
10388 : {
10389 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10390 : double *arg2 ;
10391 0 : void *argp1 = 0 ;
10392 : int res1 = 0 ;
10393 0 : void *argp2 = 0 ;
10394 : int res2 = 0 ;
10395 : int argvi = 0;
10396 0 : dXSARGS;
10397 :
10398 0 : if ((items < 2) || (items > 2)) {
10399 0 : SWIG_croak("Usage: styleObj_pattern_set(self,pattern);");
10400 : }
10401 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10402 0 : if (!SWIG_IsOK(res1)) {
10403 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_set" "', argument " "1"" of type '" "struct styleObj *""'");
10404 : }
10405 0 : arg1 = (struct styleObj *)(argp1);
10406 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
10407 0 : if (!SWIG_IsOK(res2)) {
10408 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_pattern_set" "', argument " "2"" of type '" "double [MS_MAXPATTERNLENGTH]""'");
10409 : }
10410 0 : arg2 = (double *)(argp2);
10411 : {
10412 0 : if (arg2) {
10413 : size_t ii = 0;
10414 0 : for (; ii < (size_t)MS_MAXPATTERNLENGTH; ++ii) *(double *)&arg1->pattern[ii] = *((double *)arg2 + ii);
10415 : } else {
10416 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pattern""' of type '""double [MS_MAXPATTERNLENGTH]""'");
10417 : }
10418 : }
10419 0 : ST(argvi) = sv_newmortal();
10420 :
10421 :
10422 0 : XSRETURN(argvi);
10423 0 : fail:
10424 :
10425 :
10426 0 : SWIG_croak_null();
10427 : }
10428 : }
10429 :
10430 :
10431 0 : XS(_wrap_styleObj_pattern_get) {
10432 : {
10433 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10434 0 : void *argp1 = 0 ;
10435 : int res1 = 0 ;
10436 : int argvi = 0;
10437 : double *result = 0 ;
10438 0 : dXSARGS;
10439 :
10440 0 : if ((items < 1) || (items > 1)) {
10441 0 : SWIG_croak("Usage: styleObj_pattern_get(self);");
10442 : }
10443 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10444 0 : if (!SWIG_IsOK(res1)) {
10445 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_get" "', argument " "1"" of type '" "struct styleObj *""'");
10446 : }
10447 0 : arg1 = (struct styleObj *)(argp1);
10448 0 : result = (double *)(double *) ((arg1)->pattern);
10449 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10450 :
10451 0 : XSRETURN(argvi);
10452 0 : fail:
10453 :
10454 0 : SWIG_croak_null();
10455 : }
10456 : }
10457 :
10458 :
10459 0 : XS(_wrap_styleObj_gap_set) {
10460 : {
10461 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10462 : double arg2 ;
10463 0 : void *argp1 = 0 ;
10464 : int res1 = 0 ;
10465 : double val2 ;
10466 : int ecode2 = 0 ;
10467 : int argvi = 0;
10468 0 : dXSARGS;
10469 :
10470 0 : if ((items < 2) || (items > 2)) {
10471 0 : SWIG_croak("Usage: styleObj_gap_set(self,gap);");
10472 : }
10473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10474 0 : if (!SWIG_IsOK(res1)) {
10475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10476 : }
10477 0 : arg1 = (struct styleObj *)(argp1);
10478 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10479 0 : if (!SWIG_IsOK(ecode2)) {
10480 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_gap_set" "', argument " "2"" of type '" "double""'");
10481 : }
10482 0 : arg2 = (double)(val2);
10483 0 : if (arg1) (arg1)->gap = arg2;
10484 0 : ST(argvi) = sv_newmortal();
10485 :
10486 :
10487 0 : XSRETURN(argvi);
10488 0 : fail:
10489 :
10490 :
10491 0 : SWIG_croak_null();
10492 : }
10493 : }
10494 :
10495 :
10496 0 : XS(_wrap_styleObj_gap_get) {
10497 : {
10498 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10499 0 : void *argp1 = 0 ;
10500 : int res1 = 0 ;
10501 : int argvi = 0;
10502 : double result;
10503 0 : dXSARGS;
10504 :
10505 0 : if ((items < 1) || (items > 1)) {
10506 0 : SWIG_croak("Usage: styleObj_gap_get(self);");
10507 : }
10508 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10509 0 : if (!SWIG_IsOK(res1)) {
10510 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10511 : }
10512 0 : arg1 = (struct styleObj *)(argp1);
10513 0 : result = (double) ((arg1)->gap);
10514 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10515 :
10516 0 : XSRETURN(argvi);
10517 0 : fail:
10518 :
10519 0 : SWIG_croak_null();
10520 : }
10521 : }
10522 :
10523 :
10524 0 : XS(_wrap_styleObj_initialgap_set) {
10525 : {
10526 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10527 : double arg2 ;
10528 0 : void *argp1 = 0 ;
10529 : int res1 = 0 ;
10530 : double val2 ;
10531 : int ecode2 = 0 ;
10532 : int argvi = 0;
10533 0 : dXSARGS;
10534 :
10535 0 : if ((items < 2) || (items > 2)) {
10536 0 : SWIG_croak("Usage: styleObj_initialgap_set(self,initialgap);");
10537 : }
10538 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10539 0 : if (!SWIG_IsOK(res1)) {
10540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10541 : }
10542 0 : arg1 = (struct styleObj *)(argp1);
10543 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10544 0 : if (!SWIG_IsOK(ecode2)) {
10545 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_initialgap_set" "', argument " "2"" of type '" "double""'");
10546 : }
10547 0 : arg2 = (double)(val2);
10548 0 : if (arg1) (arg1)->initialgap = arg2;
10549 0 : ST(argvi) = sv_newmortal();
10550 :
10551 :
10552 0 : XSRETURN(argvi);
10553 0 : fail:
10554 :
10555 :
10556 0 : SWIG_croak_null();
10557 : }
10558 : }
10559 :
10560 :
10561 0 : XS(_wrap_styleObj_initialgap_get) {
10562 : {
10563 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10564 0 : void *argp1 = 0 ;
10565 : int res1 = 0 ;
10566 : int argvi = 0;
10567 : double result;
10568 0 : dXSARGS;
10569 :
10570 0 : if ((items < 1) || (items > 1)) {
10571 0 : SWIG_croak("Usage: styleObj_initialgap_get(self);");
10572 : }
10573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10574 0 : if (!SWIG_IsOK(res1)) {
10575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10576 : }
10577 0 : arg1 = (struct styleObj *)(argp1);
10578 0 : result = (double) ((arg1)->initialgap);
10579 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10580 :
10581 0 : XSRETURN(argvi);
10582 0 : fail:
10583 :
10584 0 : SWIG_croak_null();
10585 : }
10586 : }
10587 :
10588 :
10589 0 : XS(_wrap_styleObj_position_set) {
10590 : {
10591 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10592 : int arg2 ;
10593 0 : void *argp1 = 0 ;
10594 : int res1 = 0 ;
10595 : int val2 ;
10596 : int ecode2 = 0 ;
10597 : int argvi = 0;
10598 0 : dXSARGS;
10599 :
10600 0 : if ((items < 2) || (items > 2)) {
10601 0 : SWIG_croak("Usage: styleObj_position_set(self,position);");
10602 : }
10603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10604 0 : if (!SWIG_IsOK(res1)) {
10605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_set" "', argument " "1"" of type '" "struct styleObj *""'");
10606 : }
10607 0 : arg1 = (struct styleObj *)(argp1);
10608 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10609 0 : if (!SWIG_IsOK(ecode2)) {
10610 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_position_set" "', argument " "2"" of type '" "int""'");
10611 : }
10612 : arg2 = (int)(val2);
10613 0 : if (arg1) (arg1)->position = arg2;
10614 0 : ST(argvi) = sv_newmortal();
10615 :
10616 :
10617 0 : XSRETURN(argvi);
10618 0 : fail:
10619 :
10620 :
10621 0 : SWIG_croak_null();
10622 : }
10623 : }
10624 :
10625 :
10626 0 : XS(_wrap_styleObj_position_get) {
10627 : {
10628 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10629 0 : void *argp1 = 0 ;
10630 : int res1 = 0 ;
10631 : int argvi = 0;
10632 : int result;
10633 0 : dXSARGS;
10634 :
10635 0 : if ((items < 1) || (items > 1)) {
10636 0 : SWIG_croak("Usage: styleObj_position_get(self);");
10637 : }
10638 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10639 0 : if (!SWIG_IsOK(res1)) {
10640 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_get" "', argument " "1"" of type '" "struct styleObj *""'");
10641 : }
10642 0 : arg1 = (struct styleObj *)(argp1);
10643 0 : result = (int) ((arg1)->position);
10644 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10645 :
10646 0 : XSRETURN(argvi);
10647 0 : fail:
10648 :
10649 0 : SWIG_croak_null();
10650 : }
10651 : }
10652 :
10653 :
10654 0 : XS(_wrap_styleObj_linecap_set) {
10655 : {
10656 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10657 : int arg2 ;
10658 0 : void *argp1 = 0 ;
10659 : int res1 = 0 ;
10660 : int val2 ;
10661 : int ecode2 = 0 ;
10662 : int argvi = 0;
10663 0 : dXSARGS;
10664 :
10665 0 : if ((items < 2) || (items > 2)) {
10666 0 : SWIG_croak("Usage: styleObj_linecap_set(self,linecap);");
10667 : }
10668 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10669 0 : if (!SWIG_IsOK(res1)) {
10670 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10671 : }
10672 0 : arg1 = (struct styleObj *)(argp1);
10673 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10674 0 : if (!SWIG_IsOK(ecode2)) {
10675 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linecap_set" "', argument " "2"" of type '" "int""'");
10676 : }
10677 : arg2 = (int)(val2);
10678 0 : if (arg1) (arg1)->linecap = arg2;
10679 0 : ST(argvi) = sv_newmortal();
10680 :
10681 :
10682 0 : XSRETURN(argvi);
10683 0 : fail:
10684 :
10685 :
10686 0 : SWIG_croak_null();
10687 : }
10688 : }
10689 :
10690 :
10691 0 : XS(_wrap_styleObj_linecap_get) {
10692 : {
10693 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10694 0 : void *argp1 = 0 ;
10695 : int res1 = 0 ;
10696 : int argvi = 0;
10697 : int result;
10698 0 : dXSARGS;
10699 :
10700 0 : if ((items < 1) || (items > 1)) {
10701 0 : SWIG_croak("Usage: styleObj_linecap_get(self);");
10702 : }
10703 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10704 0 : if (!SWIG_IsOK(res1)) {
10705 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10706 : }
10707 0 : arg1 = (struct styleObj *)(argp1);
10708 0 : result = (int) ((arg1)->linecap);
10709 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10710 :
10711 0 : XSRETURN(argvi);
10712 0 : fail:
10713 :
10714 0 : SWIG_croak_null();
10715 : }
10716 : }
10717 :
10718 :
10719 0 : XS(_wrap_styleObj_linejoin_set) {
10720 : {
10721 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10722 : int arg2 ;
10723 0 : void *argp1 = 0 ;
10724 : int res1 = 0 ;
10725 : int val2 ;
10726 : int ecode2 = 0 ;
10727 : int argvi = 0;
10728 0 : dXSARGS;
10729 :
10730 0 : if ((items < 2) || (items > 2)) {
10731 0 : SWIG_croak("Usage: styleObj_linejoin_set(self,linejoin);");
10732 : }
10733 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10734 0 : if (!SWIG_IsOK(res1)) {
10735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_set" "', argument " "1"" of type '" "struct styleObj *""'");
10736 : }
10737 0 : arg1 = (struct styleObj *)(argp1);
10738 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10739 0 : if (!SWIG_IsOK(ecode2)) {
10740 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoin_set" "', argument " "2"" of type '" "int""'");
10741 : }
10742 : arg2 = (int)(val2);
10743 0 : if (arg1) (arg1)->linejoin = arg2;
10744 0 : ST(argvi) = sv_newmortal();
10745 :
10746 :
10747 0 : XSRETURN(argvi);
10748 0 : fail:
10749 :
10750 :
10751 0 : SWIG_croak_null();
10752 : }
10753 : }
10754 :
10755 :
10756 0 : XS(_wrap_styleObj_linejoin_get) {
10757 : {
10758 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10759 0 : void *argp1 = 0 ;
10760 : int res1 = 0 ;
10761 : int argvi = 0;
10762 : int result;
10763 0 : dXSARGS;
10764 :
10765 0 : if ((items < 1) || (items > 1)) {
10766 0 : SWIG_croak("Usage: styleObj_linejoin_get(self);");
10767 : }
10768 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10769 0 : if (!SWIG_IsOK(res1)) {
10770 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_get" "', argument " "1"" of type '" "struct styleObj *""'");
10771 : }
10772 0 : arg1 = (struct styleObj *)(argp1);
10773 0 : result = (int) ((arg1)->linejoin);
10774 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10775 :
10776 0 : XSRETURN(argvi);
10777 0 : fail:
10778 :
10779 0 : SWIG_croak_null();
10780 : }
10781 : }
10782 :
10783 :
10784 0 : XS(_wrap_styleObj_linejoinmaxsize_set) {
10785 : {
10786 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10787 : double arg2 ;
10788 0 : void *argp1 = 0 ;
10789 : int res1 = 0 ;
10790 : double val2 ;
10791 : int ecode2 = 0 ;
10792 : int argvi = 0;
10793 0 : dXSARGS;
10794 :
10795 0 : if ((items < 2) || (items > 2)) {
10796 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_set(self,linejoinmaxsize);");
10797 : }
10798 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10799 0 : if (!SWIG_IsOK(res1)) {
10800 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10801 : }
10802 0 : arg1 = (struct styleObj *)(argp1);
10803 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10804 0 : if (!SWIG_IsOK(ecode2)) {
10805 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "2"" of type '" "double""'");
10806 : }
10807 0 : arg2 = (double)(val2);
10808 0 : if (arg1) (arg1)->linejoinmaxsize = arg2;
10809 0 : ST(argvi) = sv_newmortal();
10810 :
10811 :
10812 0 : XSRETURN(argvi);
10813 0 : fail:
10814 :
10815 :
10816 0 : SWIG_croak_null();
10817 : }
10818 : }
10819 :
10820 :
10821 0 : XS(_wrap_styleObj_linejoinmaxsize_get) {
10822 : {
10823 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10824 0 : void *argp1 = 0 ;
10825 : int res1 = 0 ;
10826 : int argvi = 0;
10827 : double result;
10828 0 : dXSARGS;
10829 :
10830 0 : if ((items < 1) || (items > 1)) {
10831 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_get(self);");
10832 : }
10833 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10834 0 : if (!SWIG_IsOK(res1)) {
10835 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10836 : }
10837 0 : arg1 = (struct styleObj *)(argp1);
10838 0 : result = (double) ((arg1)->linejoinmaxsize);
10839 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10840 :
10841 0 : XSRETURN(argvi);
10842 0 : fail:
10843 :
10844 0 : SWIG_croak_null();
10845 : }
10846 : }
10847 :
10848 :
10849 0 : XS(_wrap_styleObj_width_set) {
10850 : {
10851 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10852 : double arg2 ;
10853 0 : void *argp1 = 0 ;
10854 : int res1 = 0 ;
10855 : double val2 ;
10856 : int ecode2 = 0 ;
10857 : int argvi = 0;
10858 0 : dXSARGS;
10859 :
10860 0 : if ((items < 2) || (items > 2)) {
10861 0 : SWIG_croak("Usage: styleObj_width_set(self,width);");
10862 : }
10863 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10864 0 : if (!SWIG_IsOK(res1)) {
10865 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_set" "', argument " "1"" of type '" "struct styleObj *""'");
10866 : }
10867 0 : arg1 = (struct styleObj *)(argp1);
10868 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10869 0 : if (!SWIG_IsOK(ecode2)) {
10870 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_width_set" "', argument " "2"" of type '" "double""'");
10871 : }
10872 0 : arg2 = (double)(val2);
10873 0 : if (arg1) (arg1)->width = arg2;
10874 0 : ST(argvi) = sv_newmortal();
10875 :
10876 :
10877 0 : XSRETURN(argvi);
10878 0 : fail:
10879 :
10880 :
10881 0 : SWIG_croak_null();
10882 : }
10883 : }
10884 :
10885 :
10886 0 : XS(_wrap_styleObj_width_get) {
10887 : {
10888 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10889 0 : void *argp1 = 0 ;
10890 : int res1 = 0 ;
10891 : int argvi = 0;
10892 : double result;
10893 0 : dXSARGS;
10894 :
10895 0 : if ((items < 1) || (items > 1)) {
10896 0 : SWIG_croak("Usage: styleObj_width_get(self);");
10897 : }
10898 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10899 0 : if (!SWIG_IsOK(res1)) {
10900 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_get" "', argument " "1"" of type '" "struct styleObj *""'");
10901 : }
10902 0 : arg1 = (struct styleObj *)(argp1);
10903 0 : result = (double) ((arg1)->width);
10904 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10905 :
10906 0 : XSRETURN(argvi);
10907 0 : fail:
10908 :
10909 0 : SWIG_croak_null();
10910 : }
10911 : }
10912 :
10913 :
10914 0 : XS(_wrap_styleObj_outlinewidth_set) {
10915 : {
10916 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10917 : double arg2 ;
10918 0 : void *argp1 = 0 ;
10919 : int res1 = 0 ;
10920 : double val2 ;
10921 : int ecode2 = 0 ;
10922 : int argvi = 0;
10923 0 : dXSARGS;
10924 :
10925 0 : if ((items < 2) || (items > 2)) {
10926 0 : SWIG_croak("Usage: styleObj_outlinewidth_set(self,outlinewidth);");
10927 : }
10928 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10929 0 : if (!SWIG_IsOK(res1)) {
10930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
10931 : }
10932 0 : arg1 = (struct styleObj *)(argp1);
10933 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10934 0 : if (!SWIG_IsOK(ecode2)) {
10935 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_outlinewidth_set" "', argument " "2"" of type '" "double""'");
10936 : }
10937 0 : arg2 = (double)(val2);
10938 0 : if (arg1) (arg1)->outlinewidth = arg2;
10939 0 : ST(argvi) = sv_newmortal();
10940 :
10941 :
10942 0 : XSRETURN(argvi);
10943 0 : fail:
10944 :
10945 :
10946 0 : SWIG_croak_null();
10947 : }
10948 : }
10949 :
10950 :
10951 0 : XS(_wrap_styleObj_outlinewidth_get) {
10952 : {
10953 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10954 0 : void *argp1 = 0 ;
10955 : int res1 = 0 ;
10956 : int argvi = 0;
10957 : double result;
10958 0 : dXSARGS;
10959 :
10960 0 : if ((items < 1) || (items > 1)) {
10961 0 : SWIG_croak("Usage: styleObj_outlinewidth_get(self);");
10962 : }
10963 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10964 0 : if (!SWIG_IsOK(res1)) {
10965 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
10966 : }
10967 0 : arg1 = (struct styleObj *)(argp1);
10968 0 : result = (double) ((arg1)->outlinewidth);
10969 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10970 :
10971 0 : XSRETURN(argvi);
10972 0 : fail:
10973 :
10974 0 : SWIG_croak_null();
10975 : }
10976 : }
10977 :
10978 :
10979 0 : XS(_wrap_styleObj_minwidth_set) {
10980 : {
10981 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10982 : double arg2 ;
10983 0 : void *argp1 = 0 ;
10984 : int res1 = 0 ;
10985 : double val2 ;
10986 : int ecode2 = 0 ;
10987 : int argvi = 0;
10988 0 : dXSARGS;
10989 :
10990 0 : if ((items < 2) || (items > 2)) {
10991 0 : SWIG_croak("Usage: styleObj_minwidth_set(self,minwidth);");
10992 : }
10993 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10994 0 : if (!SWIG_IsOK(res1)) {
10995 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
10996 : }
10997 0 : arg1 = (struct styleObj *)(argp1);
10998 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10999 0 : if (!SWIG_IsOK(ecode2)) {
11000 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minwidth_set" "', argument " "2"" of type '" "double""'");
11001 : }
11002 0 : arg2 = (double)(val2);
11003 0 : if (arg1) (arg1)->minwidth = arg2;
11004 0 : ST(argvi) = sv_newmortal();
11005 :
11006 :
11007 0 : XSRETURN(argvi);
11008 0 : fail:
11009 :
11010 :
11011 0 : SWIG_croak_null();
11012 : }
11013 : }
11014 :
11015 :
11016 0 : XS(_wrap_styleObj_minwidth_get) {
11017 : {
11018 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11019 0 : void *argp1 = 0 ;
11020 : int res1 = 0 ;
11021 : int argvi = 0;
11022 : double result;
11023 0 : dXSARGS;
11024 :
11025 0 : if ((items < 1) || (items > 1)) {
11026 0 : SWIG_croak("Usage: styleObj_minwidth_get(self);");
11027 : }
11028 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11029 0 : if (!SWIG_IsOK(res1)) {
11030 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11031 : }
11032 0 : arg1 = (struct styleObj *)(argp1);
11033 0 : result = (double) ((arg1)->minwidth);
11034 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11035 :
11036 0 : XSRETURN(argvi);
11037 0 : fail:
11038 :
11039 0 : SWIG_croak_null();
11040 : }
11041 : }
11042 :
11043 :
11044 0 : XS(_wrap_styleObj_maxwidth_set) {
11045 : {
11046 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11047 : double arg2 ;
11048 0 : void *argp1 = 0 ;
11049 : int res1 = 0 ;
11050 : double val2 ;
11051 : int ecode2 = 0 ;
11052 : int argvi = 0;
11053 0 : dXSARGS;
11054 :
11055 0 : if ((items < 2) || (items > 2)) {
11056 0 : SWIG_croak("Usage: styleObj_maxwidth_set(self,maxwidth);");
11057 : }
11058 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11059 0 : if (!SWIG_IsOK(res1)) {
11060 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
11061 : }
11062 0 : arg1 = (struct styleObj *)(argp1);
11063 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11064 0 : if (!SWIG_IsOK(ecode2)) {
11065 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxwidth_set" "', argument " "2"" of type '" "double""'");
11066 : }
11067 0 : arg2 = (double)(val2);
11068 0 : if (arg1) (arg1)->maxwidth = arg2;
11069 0 : ST(argvi) = sv_newmortal();
11070 :
11071 :
11072 0 : XSRETURN(argvi);
11073 0 : fail:
11074 :
11075 :
11076 0 : SWIG_croak_null();
11077 : }
11078 : }
11079 :
11080 :
11081 0 : XS(_wrap_styleObj_maxwidth_get) {
11082 : {
11083 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11084 0 : void *argp1 = 0 ;
11085 : int res1 = 0 ;
11086 : int argvi = 0;
11087 : double result;
11088 0 : dXSARGS;
11089 :
11090 0 : if ((items < 1) || (items > 1)) {
11091 0 : SWIG_croak("Usage: styleObj_maxwidth_get(self);");
11092 : }
11093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11094 0 : if (!SWIG_IsOK(res1)) {
11095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11096 : }
11097 0 : arg1 = (struct styleObj *)(argp1);
11098 0 : result = (double) ((arg1)->maxwidth);
11099 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11100 :
11101 0 : XSRETURN(argvi);
11102 0 : fail:
11103 :
11104 0 : SWIG_croak_null();
11105 : }
11106 : }
11107 :
11108 :
11109 0 : XS(_wrap_styleObj_offsetx_set) {
11110 : {
11111 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11112 : double arg2 ;
11113 0 : void *argp1 = 0 ;
11114 : int res1 = 0 ;
11115 : double val2 ;
11116 : int ecode2 = 0 ;
11117 : int argvi = 0;
11118 0 : dXSARGS;
11119 :
11120 0 : if ((items < 2) || (items > 2)) {
11121 0 : SWIG_croak("Usage: styleObj_offsetx_set(self,offsetx);");
11122 : }
11123 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11124 0 : if (!SWIG_IsOK(res1)) {
11125 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_set" "', argument " "1"" of type '" "struct styleObj *""'");
11126 : }
11127 0 : arg1 = (struct styleObj *)(argp1);
11128 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11129 0 : if (!SWIG_IsOK(ecode2)) {
11130 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsetx_set" "', argument " "2"" of type '" "double""'");
11131 : }
11132 0 : arg2 = (double)(val2);
11133 0 : if (arg1) (arg1)->offsetx = arg2;
11134 0 : ST(argvi) = sv_newmortal();
11135 :
11136 :
11137 0 : XSRETURN(argvi);
11138 0 : fail:
11139 :
11140 :
11141 0 : SWIG_croak_null();
11142 : }
11143 : }
11144 :
11145 :
11146 0 : XS(_wrap_styleObj_offsetx_get) {
11147 : {
11148 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11149 0 : void *argp1 = 0 ;
11150 : int res1 = 0 ;
11151 : int argvi = 0;
11152 : double result;
11153 0 : dXSARGS;
11154 :
11155 0 : if ((items < 1) || (items > 1)) {
11156 0 : SWIG_croak("Usage: styleObj_offsetx_get(self);");
11157 : }
11158 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11159 0 : if (!SWIG_IsOK(res1)) {
11160 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_get" "', argument " "1"" of type '" "struct styleObj *""'");
11161 : }
11162 0 : arg1 = (struct styleObj *)(argp1);
11163 0 : result = (double) ((arg1)->offsetx);
11164 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11165 :
11166 0 : XSRETURN(argvi);
11167 0 : fail:
11168 :
11169 0 : SWIG_croak_null();
11170 : }
11171 : }
11172 :
11173 :
11174 0 : XS(_wrap_styleObj_offsety_set) {
11175 : {
11176 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11177 : double arg2 ;
11178 0 : void *argp1 = 0 ;
11179 : int res1 = 0 ;
11180 : double val2 ;
11181 : int ecode2 = 0 ;
11182 : int argvi = 0;
11183 0 : dXSARGS;
11184 :
11185 0 : if ((items < 2) || (items > 2)) {
11186 0 : SWIG_croak("Usage: styleObj_offsety_set(self,offsety);");
11187 : }
11188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11189 0 : if (!SWIG_IsOK(res1)) {
11190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_set" "', argument " "1"" of type '" "struct styleObj *""'");
11191 : }
11192 0 : arg1 = (struct styleObj *)(argp1);
11193 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11194 0 : if (!SWIG_IsOK(ecode2)) {
11195 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsety_set" "', argument " "2"" of type '" "double""'");
11196 : }
11197 0 : arg2 = (double)(val2);
11198 0 : if (arg1) (arg1)->offsety = arg2;
11199 0 : ST(argvi) = sv_newmortal();
11200 :
11201 :
11202 0 : XSRETURN(argvi);
11203 0 : fail:
11204 :
11205 :
11206 0 : SWIG_croak_null();
11207 : }
11208 : }
11209 :
11210 :
11211 0 : XS(_wrap_styleObj_offsety_get) {
11212 : {
11213 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11214 0 : void *argp1 = 0 ;
11215 : int res1 = 0 ;
11216 : int argvi = 0;
11217 : double result;
11218 0 : dXSARGS;
11219 :
11220 0 : if ((items < 1) || (items > 1)) {
11221 0 : SWIG_croak("Usage: styleObj_offsety_get(self);");
11222 : }
11223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11224 0 : if (!SWIG_IsOK(res1)) {
11225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_get" "', argument " "1"" of type '" "struct styleObj *""'");
11226 : }
11227 0 : arg1 = (struct styleObj *)(argp1);
11228 0 : result = (double) ((arg1)->offsety);
11229 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11230 :
11231 0 : XSRETURN(argvi);
11232 0 : fail:
11233 :
11234 0 : SWIG_croak_null();
11235 : }
11236 : }
11237 :
11238 :
11239 0 : XS(_wrap_styleObj_polaroffsetpixel_set) {
11240 : {
11241 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11242 : double arg2 ;
11243 0 : void *argp1 = 0 ;
11244 : int res1 = 0 ;
11245 : double val2 ;
11246 : int ecode2 = 0 ;
11247 : int argvi = 0;
11248 0 : dXSARGS;
11249 :
11250 0 : if ((items < 2) || (items > 2)) {
11251 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_set(self,polaroffsetpixel);");
11252 : }
11253 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11254 0 : if (!SWIG_IsOK(res1)) {
11255 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "1"" of type '" "struct styleObj *""'");
11256 : }
11257 0 : arg1 = (struct styleObj *)(argp1);
11258 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11259 0 : if (!SWIG_IsOK(ecode2)) {
11260 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "2"" of type '" "double""'");
11261 : }
11262 0 : arg2 = (double)(val2);
11263 0 : if (arg1) (arg1)->polaroffsetpixel = arg2;
11264 0 : ST(argvi) = sv_newmortal();
11265 :
11266 :
11267 0 : XSRETURN(argvi);
11268 0 : fail:
11269 :
11270 :
11271 0 : SWIG_croak_null();
11272 : }
11273 : }
11274 :
11275 :
11276 0 : XS(_wrap_styleObj_polaroffsetpixel_get) {
11277 : {
11278 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11279 0 : void *argp1 = 0 ;
11280 : int res1 = 0 ;
11281 : int argvi = 0;
11282 : double result;
11283 0 : dXSARGS;
11284 :
11285 0 : if ((items < 1) || (items > 1)) {
11286 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_get(self);");
11287 : }
11288 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11289 0 : if (!SWIG_IsOK(res1)) {
11290 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_get" "', argument " "1"" of type '" "struct styleObj *""'");
11291 : }
11292 0 : arg1 = (struct styleObj *)(argp1);
11293 0 : result = (double) ((arg1)->polaroffsetpixel);
11294 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11295 :
11296 0 : XSRETURN(argvi);
11297 0 : fail:
11298 :
11299 0 : SWIG_croak_null();
11300 : }
11301 : }
11302 :
11303 :
11304 0 : XS(_wrap_styleObj_polaroffsetangle_set) {
11305 : {
11306 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11307 : double arg2 ;
11308 0 : void *argp1 = 0 ;
11309 : int res1 = 0 ;
11310 : double val2 ;
11311 : int ecode2 = 0 ;
11312 : int argvi = 0;
11313 0 : dXSARGS;
11314 :
11315 0 : if ((items < 2) || (items > 2)) {
11316 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_set(self,polaroffsetangle);");
11317 : }
11318 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11319 0 : if (!SWIG_IsOK(res1)) {
11320 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11321 : }
11322 0 : arg1 = (struct styleObj *)(argp1);
11323 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11324 0 : if (!SWIG_IsOK(ecode2)) {
11325 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetangle_set" "', argument " "2"" of type '" "double""'");
11326 : }
11327 0 : arg2 = (double)(val2);
11328 0 : if (arg1) (arg1)->polaroffsetangle = arg2;
11329 0 : ST(argvi) = sv_newmortal();
11330 :
11331 :
11332 0 : XSRETURN(argvi);
11333 0 : fail:
11334 :
11335 :
11336 0 : SWIG_croak_null();
11337 : }
11338 : }
11339 :
11340 :
11341 0 : XS(_wrap_styleObj_polaroffsetangle_get) {
11342 : {
11343 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11344 0 : void *argp1 = 0 ;
11345 : int res1 = 0 ;
11346 : int argvi = 0;
11347 : double result;
11348 0 : dXSARGS;
11349 :
11350 0 : if ((items < 1) || (items > 1)) {
11351 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_get(self);");
11352 : }
11353 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11354 0 : if (!SWIG_IsOK(res1)) {
11355 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11356 : }
11357 0 : arg1 = (struct styleObj *)(argp1);
11358 0 : result = (double) ((arg1)->polaroffsetangle);
11359 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11360 :
11361 0 : XSRETURN(argvi);
11362 0 : fail:
11363 :
11364 0 : SWIG_croak_null();
11365 : }
11366 : }
11367 :
11368 :
11369 0 : XS(_wrap_styleObj_angle_set) {
11370 : {
11371 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11372 : double arg2 ;
11373 0 : void *argp1 = 0 ;
11374 : int res1 = 0 ;
11375 : double val2 ;
11376 : int ecode2 = 0 ;
11377 : int argvi = 0;
11378 0 : dXSARGS;
11379 :
11380 0 : if ((items < 2) || (items > 2)) {
11381 0 : SWIG_croak("Usage: styleObj_angle_set(self,angle);");
11382 : }
11383 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11384 0 : if (!SWIG_IsOK(res1)) {
11385 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11386 : }
11387 0 : arg1 = (struct styleObj *)(argp1);
11388 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11389 0 : if (!SWIG_IsOK(ecode2)) {
11390 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_angle_set" "', argument " "2"" of type '" "double""'");
11391 : }
11392 0 : arg2 = (double)(val2);
11393 0 : if (arg1) (arg1)->angle = arg2;
11394 0 : ST(argvi) = sv_newmortal();
11395 :
11396 :
11397 0 : XSRETURN(argvi);
11398 0 : fail:
11399 :
11400 :
11401 0 : SWIG_croak_null();
11402 : }
11403 : }
11404 :
11405 :
11406 0 : XS(_wrap_styleObj_angle_get) {
11407 : {
11408 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11409 0 : void *argp1 = 0 ;
11410 : int res1 = 0 ;
11411 : int argvi = 0;
11412 : double result;
11413 0 : dXSARGS;
11414 :
11415 0 : if ((items < 1) || (items > 1)) {
11416 0 : SWIG_croak("Usage: styleObj_angle_get(self);");
11417 : }
11418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11419 0 : if (!SWIG_IsOK(res1)) {
11420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11421 : }
11422 0 : arg1 = (struct styleObj *)(argp1);
11423 0 : result = (double) ((arg1)->angle);
11424 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11425 :
11426 0 : XSRETURN(argvi);
11427 0 : fail:
11428 :
11429 0 : SWIG_croak_null();
11430 : }
11431 : }
11432 :
11433 :
11434 0 : XS(_wrap_styleObj_minscaledenom_set) {
11435 : {
11436 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11437 : double arg2 ;
11438 0 : void *argp1 = 0 ;
11439 : int res1 = 0 ;
11440 : double val2 ;
11441 : int ecode2 = 0 ;
11442 : int argvi = 0;
11443 0 : dXSARGS;
11444 :
11445 0 : if ((items < 2) || (items > 2)) {
11446 0 : SWIG_croak("Usage: styleObj_minscaledenom_set(self,minscaledenom);");
11447 : }
11448 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11449 0 : if (!SWIG_IsOK(res1)) {
11450 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11451 : }
11452 0 : arg1 = (struct styleObj *)(argp1);
11453 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11454 0 : if (!SWIG_IsOK(ecode2)) {
11455 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
11456 : }
11457 0 : arg2 = (double)(val2);
11458 0 : if (arg1) (arg1)->minscaledenom = arg2;
11459 0 : ST(argvi) = sv_newmortal();
11460 :
11461 :
11462 0 : XSRETURN(argvi);
11463 0 : fail:
11464 :
11465 :
11466 0 : SWIG_croak_null();
11467 : }
11468 : }
11469 :
11470 :
11471 0 : XS(_wrap_styleObj_minscaledenom_get) {
11472 : {
11473 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11474 0 : void *argp1 = 0 ;
11475 : int res1 = 0 ;
11476 : int argvi = 0;
11477 : double result;
11478 0 : dXSARGS;
11479 :
11480 0 : if ((items < 1) || (items > 1)) {
11481 0 : SWIG_croak("Usage: styleObj_minscaledenom_get(self);");
11482 : }
11483 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11484 0 : if (!SWIG_IsOK(res1)) {
11485 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11486 : }
11487 0 : arg1 = (struct styleObj *)(argp1);
11488 0 : result = (double) ((arg1)->minscaledenom);
11489 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11490 :
11491 0 : XSRETURN(argvi);
11492 0 : fail:
11493 :
11494 0 : SWIG_croak_null();
11495 : }
11496 : }
11497 :
11498 :
11499 0 : XS(_wrap_styleObj_maxscaledenom_set) {
11500 : {
11501 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11502 : double arg2 ;
11503 0 : void *argp1 = 0 ;
11504 : int res1 = 0 ;
11505 : double val2 ;
11506 : int ecode2 = 0 ;
11507 : int argvi = 0;
11508 0 : dXSARGS;
11509 :
11510 0 : if ((items < 2) || (items > 2)) {
11511 0 : SWIG_croak("Usage: styleObj_maxscaledenom_set(self,maxscaledenom);");
11512 : }
11513 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11514 0 : if (!SWIG_IsOK(res1)) {
11515 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11516 : }
11517 0 : arg1 = (struct styleObj *)(argp1);
11518 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11519 0 : if (!SWIG_IsOK(ecode2)) {
11520 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
11521 : }
11522 0 : arg2 = (double)(val2);
11523 0 : if (arg1) (arg1)->maxscaledenom = arg2;
11524 0 : ST(argvi) = sv_newmortal();
11525 :
11526 :
11527 0 : XSRETURN(argvi);
11528 0 : fail:
11529 :
11530 :
11531 0 : SWIG_croak_null();
11532 : }
11533 : }
11534 :
11535 :
11536 0 : XS(_wrap_styleObj_maxscaledenom_get) {
11537 : {
11538 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11539 0 : void *argp1 = 0 ;
11540 : int res1 = 0 ;
11541 : int argvi = 0;
11542 : double result;
11543 0 : dXSARGS;
11544 :
11545 0 : if ((items < 1) || (items > 1)) {
11546 0 : SWIG_croak("Usage: styleObj_maxscaledenom_get(self);");
11547 : }
11548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11549 0 : if (!SWIG_IsOK(res1)) {
11550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11551 : }
11552 0 : arg1 = (struct styleObj *)(argp1);
11553 0 : result = (double) ((arg1)->maxscaledenom);
11554 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11555 :
11556 0 : XSRETURN(argvi);
11557 0 : fail:
11558 :
11559 0 : SWIG_croak_null();
11560 : }
11561 : }
11562 :
11563 :
11564 0 : XS(_wrap_styleObj_sizeunits_set) {
11565 : {
11566 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11567 : int arg2 ;
11568 0 : void *argp1 = 0 ;
11569 : int res1 = 0 ;
11570 : int val2 ;
11571 : int ecode2 = 0 ;
11572 : int argvi = 0;
11573 0 : dXSARGS;
11574 :
11575 0 : if ((items < 2) || (items > 2)) {
11576 0 : SWIG_croak("Usage: styleObj_sizeunits_set(self,sizeunits);");
11577 : }
11578 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11579 0 : if (!SWIG_IsOK(res1)) {
11580 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_set" "', argument " "1"" of type '" "struct styleObj *""'");
11581 : }
11582 0 : arg1 = (struct styleObj *)(argp1);
11583 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11584 0 : if (!SWIG_IsOK(ecode2)) {
11585 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
11586 : }
11587 : arg2 = (int)(val2);
11588 0 : if (arg1) (arg1)->sizeunits = arg2;
11589 0 : ST(argvi) = sv_newmortal();
11590 :
11591 :
11592 0 : XSRETURN(argvi);
11593 0 : fail:
11594 :
11595 :
11596 0 : SWIG_croak_null();
11597 : }
11598 : }
11599 :
11600 :
11601 0 : XS(_wrap_styleObj_sizeunits_get) {
11602 : {
11603 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11604 0 : void *argp1 = 0 ;
11605 : int res1 = 0 ;
11606 : int argvi = 0;
11607 : int result;
11608 0 : dXSARGS;
11609 :
11610 0 : if ((items < 1) || (items > 1)) {
11611 0 : SWIG_croak("Usage: styleObj_sizeunits_get(self);");
11612 : }
11613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11614 0 : if (!SWIG_IsOK(res1)) {
11615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_get" "', argument " "1"" of type '" "struct styleObj *""'");
11616 : }
11617 0 : arg1 = (struct styleObj *)(argp1);
11618 0 : result = (int) ((arg1)->sizeunits);
11619 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11620 :
11621 0 : XSRETURN(argvi);
11622 0 : fail:
11623 :
11624 0 : SWIG_croak_null();
11625 : }
11626 : }
11627 :
11628 :
11629 0 : XS(_wrap_new_styleObj) {
11630 : {
11631 : classObj *arg1 = (classObj *) NULL ;
11632 0 : void *argp1 = 0 ;
11633 : int res1 = 0 ;
11634 : int argvi = 0;
11635 : struct styleObj *result = 0 ;
11636 0 : dXSARGS;
11637 :
11638 0 : if ((items < 0) || (items > 1)) {
11639 0 : SWIG_croak("Usage: new_styleObj(parent_class);");
11640 : }
11641 0 : if (items > 0) {
11642 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
11643 0 : if (!SWIG_IsOK(res1)) {
11644 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_styleObj" "', argument " "1"" of type '" "classObj *""'");
11645 : }
11646 0 : arg1 = (classObj *)(argp1);
11647 : }
11648 0 : result = (struct styleObj *)new_styleObj(arg1);
11649 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11650 :
11651 0 : XSRETURN(argvi);
11652 0 : fail:
11653 :
11654 0 : SWIG_croak_null();
11655 : }
11656 : }
11657 :
11658 :
11659 0 : XS(_wrap_delete_styleObj) {
11660 : {
11661 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11662 0 : void *argp1 = 0 ;
11663 : int res1 = 0 ;
11664 : int argvi = 0;
11665 0 : dXSARGS;
11666 :
11667 0 : if ((items < 1) || (items > 1)) {
11668 0 : SWIG_croak("Usage: delete_styleObj(self);");
11669 : }
11670 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, SWIG_POINTER_DISOWN | 0 );
11671 0 : if (!SWIG_IsOK(res1)) {
11672 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_styleObj" "', argument " "1"" of type '" "struct styleObj *""'");
11673 : }
11674 0 : arg1 = (struct styleObj *)(argp1);
11675 0 : delete_styleObj(arg1);
11676 0 : ST(argvi) = sv_newmortal();
11677 :
11678 0 : XSRETURN(argvi);
11679 0 : fail:
11680 :
11681 0 : SWIG_croak_null();
11682 : }
11683 : }
11684 :
11685 :
11686 0 : XS(_wrap_styleObj_updateFromString) {
11687 : {
11688 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11689 : char *arg2 = (char *) 0 ;
11690 0 : void *argp1 = 0 ;
11691 : int res1 = 0 ;
11692 : int res2 ;
11693 0 : char *buf2 = 0 ;
11694 0 : int alloc2 = 0 ;
11695 : int argvi = 0;
11696 : int result;
11697 0 : dXSARGS;
11698 :
11699 0 : if ((items < 2) || (items > 2)) {
11700 0 : SWIG_croak("Usage: styleObj_updateFromString(self,snippet);");
11701 : }
11702 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11703 0 : if (!SWIG_IsOK(res1)) {
11704 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_updateFromString" "', argument " "1"" of type '" "struct styleObj *""'");
11705 : }
11706 0 : arg1 = (struct styleObj *)(argp1);
11707 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
11708 0 : if (!SWIG_IsOK(res2)) {
11709 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_updateFromString" "', argument " "2"" of type '" "char *""'");
11710 : }
11711 0 : arg2 = (char *)(buf2);
11712 : result = (int)styleObj_updateFromString(arg1,arg2);
11713 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11714 :
11715 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11716 0 : XSRETURN(argvi);
11717 0 : fail:
11718 :
11719 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11720 0 : SWIG_croak_null();
11721 : }
11722 : }
11723 :
11724 :
11725 0 : XS(_wrap_styleObj_convertToString) {
11726 : {
11727 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11728 0 : void *argp1 = 0 ;
11729 : int res1 = 0 ;
11730 : int argvi = 0;
11731 : char *result = 0 ;
11732 0 : dXSARGS;
11733 :
11734 0 : if ((items < 1) || (items > 1)) {
11735 0 : SWIG_croak("Usage: styleObj_convertToString(self);");
11736 : }
11737 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11738 0 : if (!SWIG_IsOK(res1)) {
11739 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_convertToString" "', argument " "1"" of type '" "struct styleObj *""'");
11740 : }
11741 0 : arg1 = (struct styleObj *)(argp1);
11742 : result = (char *)styleObj_convertToString(arg1);
11743 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11744 :
11745 0 : free((char*)result);
11746 0 : XSRETURN(argvi);
11747 0 : fail:
11748 :
11749 0 : SWIG_croak_null();
11750 : }
11751 : }
11752 :
11753 :
11754 0 : XS(_wrap_styleObj_clone) {
11755 : {
11756 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11757 0 : void *argp1 = 0 ;
11758 : int res1 = 0 ;
11759 : int argvi = 0;
11760 : styleObj *result = 0 ;
11761 0 : dXSARGS;
11762 :
11763 0 : if ((items < 1) || (items > 1)) {
11764 0 : SWIG_croak("Usage: styleObj_clone(self);");
11765 : }
11766 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11767 0 : if (!SWIG_IsOK(res1)) {
11768 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_clone" "', argument " "1"" of type '" "struct styleObj *""'");
11769 : }
11770 0 : arg1 = (struct styleObj *)(argp1);
11771 0 : result = (styleObj *)styleObj_clone(arg1);
11772 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11773 :
11774 0 : XSRETURN(argvi);
11775 0 : fail:
11776 :
11777 0 : SWIG_croak_null();
11778 : }
11779 : }
11780 :
11781 :
11782 0 : XS(_wrap_styleObj_setSymbolByName) {
11783 : {
11784 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11785 : mapObj *arg2 = (mapObj *) 0 ;
11786 : char *arg3 = (char *) 0 ;
11787 0 : void *argp1 = 0 ;
11788 : int res1 = 0 ;
11789 0 : void *argp2 = 0 ;
11790 : int res2 = 0 ;
11791 : int res3 ;
11792 0 : char *buf3 = 0 ;
11793 0 : int alloc3 = 0 ;
11794 : int argvi = 0;
11795 : int result;
11796 0 : dXSARGS;
11797 :
11798 0 : if ((items < 3) || (items > 3)) {
11799 0 : SWIG_croak("Usage: styleObj_setSymbolByName(self,map,symbolname);");
11800 : }
11801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11802 0 : if (!SWIG_IsOK(res1)) {
11803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setSymbolByName" "', argument " "1"" of type '" "struct styleObj *""'");
11804 : }
11805 0 : arg1 = (struct styleObj *)(argp1);
11806 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
11807 0 : if (!SWIG_IsOK(res2)) {
11808 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setSymbolByName" "', argument " "2"" of type '" "mapObj *""'");
11809 : }
11810 0 : arg2 = (mapObj *)(argp2);
11811 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11812 0 : if (!SWIG_IsOK(res3)) {
11813 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setSymbolByName" "', argument " "3"" of type '" "char *""'");
11814 : }
11815 0 : arg3 = (char *)(buf3);
11816 0 : result = (int)styleObj_setSymbolByName(arg1,arg2,arg3);
11817 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11818 :
11819 :
11820 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11821 0 : XSRETURN(argvi);
11822 0 : fail:
11823 :
11824 :
11825 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11826 0 : SWIG_croak_null();
11827 : }
11828 : }
11829 :
11830 :
11831 0 : XS(_wrap_styleObj_removeBinding) {
11832 : {
11833 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11834 : int arg2 ;
11835 0 : void *argp1 = 0 ;
11836 : int res1 = 0 ;
11837 : int val2 ;
11838 : int ecode2 = 0 ;
11839 : int argvi = 0;
11840 : int result;
11841 0 : dXSARGS;
11842 :
11843 0 : if ((items < 2) || (items > 2)) {
11844 0 : SWIG_croak("Usage: styleObj_removeBinding(self,binding);");
11845 : }
11846 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11847 0 : if (!SWIG_IsOK(res1)) {
11848 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_removeBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11849 : }
11850 0 : arg1 = (struct styleObj *)(argp1);
11851 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11852 0 : if (!SWIG_IsOK(ecode2)) {
11853 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_removeBinding" "', argument " "2"" of type '" "int""'");
11854 : }
11855 : arg2 = (int)(val2);
11856 : result = (int)styleObj_removeBinding(arg1,arg2);
11857 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11858 :
11859 :
11860 0 : XSRETURN(argvi);
11861 0 : fail:
11862 :
11863 :
11864 0 : SWIG_croak_null();
11865 : }
11866 : }
11867 :
11868 :
11869 0 : XS(_wrap_styleObj_setBinding) {
11870 : {
11871 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11872 : int arg2 ;
11873 : char *arg3 = (char *) 0 ;
11874 0 : void *argp1 = 0 ;
11875 : int res1 = 0 ;
11876 : int val2 ;
11877 : int ecode2 = 0 ;
11878 : int res3 ;
11879 0 : char *buf3 = 0 ;
11880 0 : int alloc3 = 0 ;
11881 : int argvi = 0;
11882 : int result;
11883 0 : dXSARGS;
11884 :
11885 0 : if ((items < 3) || (items > 3)) {
11886 0 : SWIG_croak("Usage: styleObj_setBinding(self,binding,item);");
11887 : }
11888 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11889 0 : if (!SWIG_IsOK(res1)) {
11890 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11891 : }
11892 0 : arg1 = (struct styleObj *)(argp1);
11893 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11894 0 : if (!SWIG_IsOK(ecode2)) {
11895 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_setBinding" "', argument " "2"" of type '" "int""'");
11896 : }
11897 : arg2 = (int)(val2);
11898 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11899 0 : if (!SWIG_IsOK(res3)) {
11900 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setBinding" "', argument " "3"" of type '" "char *""'");
11901 : }
11902 0 : arg3 = (char *)(buf3);
11903 0 : result = (int)styleObj_setBinding(arg1,arg2,arg3);
11904 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11905 :
11906 :
11907 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11908 0 : XSRETURN(argvi);
11909 0 : fail:
11910 :
11911 :
11912 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11913 0 : SWIG_croak_null();
11914 : }
11915 : }
11916 :
11917 :
11918 0 : XS(_wrap_styleObj_getBinding) {
11919 : {
11920 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11921 : int arg2 ;
11922 0 : void *argp1 = 0 ;
11923 : int res1 = 0 ;
11924 : int val2 ;
11925 : int ecode2 = 0 ;
11926 : int argvi = 0;
11927 : char *result = 0 ;
11928 0 : dXSARGS;
11929 :
11930 0 : if ((items < 2) || (items > 2)) {
11931 0 : SWIG_croak("Usage: styleObj_getBinding(self,binding);");
11932 : }
11933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11934 0 : if (!SWIG_IsOK(res1)) {
11935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11936 : }
11937 0 : arg1 = (struct styleObj *)(argp1);
11938 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11939 0 : if (!SWIG_IsOK(ecode2)) {
11940 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_getBinding" "', argument " "2"" of type '" "int""'");
11941 : }
11942 : arg2 = (int)(val2);
11943 : result = (char *)styleObj_getBinding(arg1,arg2);
11944 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11945 :
11946 :
11947 0 : XSRETURN(argvi);
11948 0 : fail:
11949 :
11950 :
11951 0 : SWIG_croak_null();
11952 : }
11953 : }
11954 :
11955 :
11956 0 : XS(_wrap_styleObj_getGeomTransform) {
11957 : {
11958 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11959 0 : void *argp1 = 0 ;
11960 : int res1 = 0 ;
11961 : int argvi = 0;
11962 : char *result = 0 ;
11963 0 : dXSARGS;
11964 :
11965 0 : if ((items < 1) || (items > 1)) {
11966 0 : SWIG_croak("Usage: styleObj_getGeomTransform(self);");
11967 : }
11968 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11969 0 : if (!SWIG_IsOK(res1)) {
11970 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
11971 : }
11972 0 : arg1 = (struct styleObj *)(argp1);
11973 0 : result = (char *)styleObj_getGeomTransform(arg1);
11974 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11975 :
11976 0 : XSRETURN(argvi);
11977 0 : fail:
11978 :
11979 0 : SWIG_croak_null();
11980 : }
11981 : }
11982 :
11983 :
11984 0 : XS(_wrap_styleObj_setGeomTransform) {
11985 : {
11986 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11987 : char *arg2 = (char *) 0 ;
11988 0 : void *argp1 = 0 ;
11989 : int res1 = 0 ;
11990 : int res2 ;
11991 0 : char *buf2 = 0 ;
11992 0 : int alloc2 = 0 ;
11993 : int argvi = 0;
11994 0 : dXSARGS;
11995 :
11996 0 : if ((items < 2) || (items > 2)) {
11997 0 : SWIG_croak("Usage: styleObj_setGeomTransform(self,transform);");
11998 : }
11999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
12000 0 : if (!SWIG_IsOK(res1)) {
12001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
12002 : }
12003 0 : arg1 = (struct styleObj *)(argp1);
12004 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12005 0 : if (!SWIG_IsOK(res2)) {
12006 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
12007 : }
12008 0 : arg2 = (char *)(buf2);
12009 : styleObj_setGeomTransform(arg1,arg2);
12010 0 : ST(argvi) = sv_newmortal();
12011 :
12012 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12013 0 : XSRETURN(argvi);
12014 0 : fail:
12015 :
12016 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12017 0 : SWIG_croak_null();
12018 : }
12019 : }
12020 :
12021 :
12022 0 : XS(_wrap_labelLeaderObj_maxdistance_set) {
12023 : {
12024 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12025 : int arg2 ;
12026 0 : void *argp1 = 0 ;
12027 : int res1 = 0 ;
12028 : int val2 ;
12029 : int ecode2 = 0 ;
12030 : int argvi = 0;
12031 0 : dXSARGS;
12032 :
12033 0 : if ((items < 2) || (items > 2)) {
12034 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_set(self,maxdistance);");
12035 : }
12036 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12037 0 : if (!SWIG_IsOK(res1)) {
12038 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12039 : }
12040 0 : arg1 = (labelLeaderObj *)(argp1);
12041 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12042 0 : if (!SWIG_IsOK(ecode2)) {
12043 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "2"" of type '" "int""'");
12044 : }
12045 : arg2 = (int)(val2);
12046 0 : if (arg1) (arg1)->maxdistance = arg2;
12047 0 : ST(argvi) = sv_newmortal();
12048 :
12049 :
12050 0 : XSRETURN(argvi);
12051 0 : fail:
12052 :
12053 :
12054 0 : SWIG_croak_null();
12055 : }
12056 : }
12057 :
12058 :
12059 0 : XS(_wrap_labelLeaderObj_maxdistance_get) {
12060 : {
12061 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12062 0 : void *argp1 = 0 ;
12063 : int res1 = 0 ;
12064 : int argvi = 0;
12065 : int result;
12066 0 : dXSARGS;
12067 :
12068 0 : if ((items < 1) || (items > 1)) {
12069 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_get(self);");
12070 : }
12071 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12072 0 : if (!SWIG_IsOK(res1)) {
12073 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12074 : }
12075 0 : arg1 = (labelLeaderObj *)(argp1);
12076 0 : result = (int) ((arg1)->maxdistance);
12077 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12078 :
12079 0 : XSRETURN(argvi);
12080 0 : fail:
12081 :
12082 0 : SWIG_croak_null();
12083 : }
12084 : }
12085 :
12086 :
12087 0 : XS(_wrap_labelLeaderObj_gridstep_set) {
12088 : {
12089 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12090 : int arg2 ;
12091 0 : void *argp1 = 0 ;
12092 : int res1 = 0 ;
12093 : int val2 ;
12094 : int ecode2 = 0 ;
12095 : int argvi = 0;
12096 0 : dXSARGS;
12097 :
12098 0 : if ((items < 2) || (items > 2)) {
12099 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_set(self,gridstep);");
12100 : }
12101 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12102 0 : if (!SWIG_IsOK(res1)) {
12103 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12104 : }
12105 0 : arg1 = (labelLeaderObj *)(argp1);
12106 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12107 0 : if (!SWIG_IsOK(ecode2)) {
12108 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_gridstep_set" "', argument " "2"" of type '" "int""'");
12109 : }
12110 : arg2 = (int)(val2);
12111 0 : if (arg1) (arg1)->gridstep = arg2;
12112 0 : ST(argvi) = sv_newmortal();
12113 :
12114 :
12115 0 : XSRETURN(argvi);
12116 0 : fail:
12117 :
12118 :
12119 0 : SWIG_croak_null();
12120 : }
12121 : }
12122 :
12123 :
12124 0 : XS(_wrap_labelLeaderObj_gridstep_get) {
12125 : {
12126 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12127 0 : void *argp1 = 0 ;
12128 : int res1 = 0 ;
12129 : int argvi = 0;
12130 : int result;
12131 0 : dXSARGS;
12132 :
12133 0 : if ((items < 1) || (items > 1)) {
12134 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_get(self);");
12135 : }
12136 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12137 0 : if (!SWIG_IsOK(res1)) {
12138 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12139 : }
12140 0 : arg1 = (labelLeaderObj *)(argp1);
12141 0 : result = (int) ((arg1)->gridstep);
12142 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12143 :
12144 0 : XSRETURN(argvi);
12145 0 : fail:
12146 :
12147 0 : SWIG_croak_null();
12148 : }
12149 : }
12150 :
12151 :
12152 0 : XS(_wrap_labelLeaderObj_numstyles_get) {
12153 : {
12154 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12155 0 : void *argp1 = 0 ;
12156 : int res1 = 0 ;
12157 : int argvi = 0;
12158 : int result;
12159 0 : dXSARGS;
12160 :
12161 0 : if ((items < 1) || (items > 1)) {
12162 0 : SWIG_croak("Usage: labelLeaderObj_numstyles_get(self);");
12163 : }
12164 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12165 0 : if (!SWIG_IsOK(res1)) {
12166 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_numstyles_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12167 : }
12168 0 : arg1 = (labelLeaderObj *)(argp1);
12169 0 : result = (int) ((arg1)->numstyles);
12170 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12171 :
12172 0 : XSRETURN(argvi);
12173 0 : fail:
12174 :
12175 0 : SWIG_croak_null();
12176 : }
12177 : }
12178 :
12179 :
12180 0 : XS(_wrap_new_labelLeaderObj) {
12181 : {
12182 : int argvi = 0;
12183 : labelLeaderObj *result = 0 ;
12184 0 : dXSARGS;
12185 :
12186 0 : if ((items < 0) || (items > 0)) {
12187 0 : SWIG_croak("Usage: new_labelLeaderObj();");
12188 : }
12189 0 : result = (labelLeaderObj *)calloc(1, sizeof(labelLeaderObj));
12190 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12191 0 : XSRETURN(argvi);
12192 : fail:
12193 0 : SWIG_croak_null();
12194 : }
12195 : }
12196 :
12197 :
12198 0 : XS(_wrap_delete_labelLeaderObj) {
12199 : {
12200 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12201 0 : void *argp1 = 0 ;
12202 : int res1 = 0 ;
12203 : int argvi = 0;
12204 0 : dXSARGS;
12205 :
12206 0 : if ((items < 1) || (items > 1)) {
12207 0 : SWIG_croak("Usage: delete_labelLeaderObj(self);");
12208 : }
12209 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
12210 0 : if (!SWIG_IsOK(res1)) {
12211 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelLeaderObj" "', argument " "1"" of type '" "labelLeaderObj *""'");
12212 : }
12213 0 : arg1 = (labelLeaderObj *)(argp1);
12214 0 : free((char *) arg1);
12215 0 : ST(argvi) = sv_newmortal();
12216 :
12217 0 : XSRETURN(argvi);
12218 0 : fail:
12219 :
12220 0 : SWIG_croak_null();
12221 : }
12222 : }
12223 :
12224 :
12225 0 : XS(_wrap_labelObj_refcount_get) {
12226 : {
12227 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12228 0 : void *argp1 = 0 ;
12229 : int res1 = 0 ;
12230 : int argvi = 0;
12231 : int result;
12232 0 : dXSARGS;
12233 :
12234 0 : if ((items < 1) || (items > 1)) {
12235 0 : SWIG_croak("Usage: labelObj_refcount_get(self);");
12236 : }
12237 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12238 0 : if (!SWIG_IsOK(res1)) {
12239 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_refcount_get" "', argument " "1"" of type '" "struct labelObj *""'");
12240 : }
12241 0 : arg1 = (struct labelObj *)(argp1);
12242 0 : result = (int) ((arg1)->refcount);
12243 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12244 :
12245 0 : XSRETURN(argvi);
12246 0 : fail:
12247 :
12248 0 : SWIG_croak_null();
12249 : }
12250 : }
12251 :
12252 :
12253 0 : XS(_wrap_labelObj_font_set) {
12254 : {
12255 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12256 : char *arg2 = (char *) 0 ;
12257 0 : void *argp1 = 0 ;
12258 : int res1 = 0 ;
12259 : int res2 ;
12260 0 : char *buf2 = 0 ;
12261 0 : int alloc2 = 0 ;
12262 : int argvi = 0;
12263 0 : dXSARGS;
12264 :
12265 0 : if ((items < 2) || (items > 2)) {
12266 0 : SWIG_croak("Usage: labelObj_font_set(self,font);");
12267 : }
12268 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12269 0 : if (!SWIG_IsOK(res1)) {
12270 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_set" "', argument " "1"" of type '" "struct labelObj *""'");
12271 : }
12272 0 : arg1 = (struct labelObj *)(argp1);
12273 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12274 0 : if (!SWIG_IsOK(res2)) {
12275 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_font_set" "', argument " "2"" of type '" "char *""'");
12276 : }
12277 0 : arg2 = (char *)(buf2);
12278 : {
12279 0 : if (arg1->font) free((char*)arg1->font);
12280 0 : if (arg2) {
12281 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
12282 : strcpy((char*)arg1->font,arg2);
12283 : } else {
12284 0 : arg1->font = 0;
12285 : }
12286 : }
12287 0 : ST(argvi) = sv_newmortal();
12288 :
12289 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12290 0 : XSRETURN(argvi);
12291 0 : fail:
12292 :
12293 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12294 0 : SWIG_croak_null();
12295 : }
12296 : }
12297 :
12298 :
12299 0 : XS(_wrap_labelObj_font_get) {
12300 : {
12301 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12302 0 : void *argp1 = 0 ;
12303 : int res1 = 0 ;
12304 : int argvi = 0;
12305 : char *result = 0 ;
12306 0 : dXSARGS;
12307 :
12308 0 : if ((items < 1) || (items > 1)) {
12309 0 : SWIG_croak("Usage: labelObj_font_get(self);");
12310 : }
12311 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12312 0 : if (!SWIG_IsOK(res1)) {
12313 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_get" "', argument " "1"" of type '" "struct labelObj *""'");
12314 : }
12315 0 : arg1 = (struct labelObj *)(argp1);
12316 0 : result = (char *) ((arg1)->font);
12317 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
12318 :
12319 0 : XSRETURN(argvi);
12320 0 : fail:
12321 :
12322 0 : SWIG_croak_null();
12323 : }
12324 : }
12325 :
12326 :
12327 0 : XS(_wrap_labelObj_color_set) {
12328 : {
12329 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12330 : colorObj *arg2 = (colorObj *) 0 ;
12331 0 : void *argp1 = 0 ;
12332 : int res1 = 0 ;
12333 0 : void *argp2 = 0 ;
12334 : int res2 = 0 ;
12335 : int argvi = 0;
12336 0 : dXSARGS;
12337 :
12338 0 : if ((items < 2) || (items > 2)) {
12339 0 : SWIG_croak("Usage: labelObj_color_set(self,color);");
12340 : }
12341 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12342 0 : if (!SWIG_IsOK(res1)) {
12343 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_set" "', argument " "1"" of type '" "struct labelObj *""'");
12344 : }
12345 0 : arg1 = (struct labelObj *)(argp1);
12346 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12347 0 : if (!SWIG_IsOK(res2)) {
12348 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
12349 : }
12350 0 : arg2 = (colorObj *)(argp2);
12351 0 : if (arg1) (arg1)->color = *arg2;
12352 0 : ST(argvi) = sv_newmortal();
12353 :
12354 :
12355 0 : XSRETURN(argvi);
12356 0 : fail:
12357 :
12358 :
12359 0 : SWIG_croak_null();
12360 : }
12361 : }
12362 :
12363 :
12364 0 : XS(_wrap_labelObj_color_get) {
12365 : {
12366 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12367 0 : void *argp1 = 0 ;
12368 : int res1 = 0 ;
12369 : int argvi = 0;
12370 : colorObj *result = 0 ;
12371 0 : dXSARGS;
12372 :
12373 0 : if ((items < 1) || (items > 1)) {
12374 0 : SWIG_croak("Usage: labelObj_color_get(self);");
12375 : }
12376 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12377 0 : if (!SWIG_IsOK(res1)) {
12378 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_get" "', argument " "1"" of type '" "struct labelObj *""'");
12379 : }
12380 0 : arg1 = (struct labelObj *)(argp1);
12381 0 : result = (colorObj *)& ((arg1)->color);
12382 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12383 :
12384 0 : XSRETURN(argvi);
12385 0 : fail:
12386 :
12387 0 : SWIG_croak_null();
12388 : }
12389 : }
12390 :
12391 :
12392 0 : XS(_wrap_labelObj_outlinecolor_set) {
12393 : {
12394 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12395 : colorObj *arg2 = (colorObj *) 0 ;
12396 0 : void *argp1 = 0 ;
12397 : int res1 = 0 ;
12398 0 : void *argp2 = 0 ;
12399 : int res2 = 0 ;
12400 : int argvi = 0;
12401 0 : dXSARGS;
12402 :
12403 0 : if ((items < 2) || (items > 2)) {
12404 0 : SWIG_croak("Usage: labelObj_outlinecolor_set(self,outlinecolor);");
12405 : }
12406 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12407 0 : if (!SWIG_IsOK(res1)) {
12408 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12409 : }
12410 0 : arg1 = (struct labelObj *)(argp1);
12411 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12412 0 : if (!SWIG_IsOK(res2)) {
12413 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
12414 : }
12415 0 : arg2 = (colorObj *)(argp2);
12416 0 : if (arg1) (arg1)->outlinecolor = *arg2;
12417 0 : ST(argvi) = sv_newmortal();
12418 :
12419 :
12420 0 : XSRETURN(argvi);
12421 0 : fail:
12422 :
12423 :
12424 0 : SWIG_croak_null();
12425 : }
12426 : }
12427 :
12428 :
12429 0 : XS(_wrap_labelObj_outlinecolor_get) {
12430 : {
12431 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12432 0 : void *argp1 = 0 ;
12433 : int res1 = 0 ;
12434 : int argvi = 0;
12435 : colorObj *result = 0 ;
12436 0 : dXSARGS;
12437 :
12438 0 : if ((items < 1) || (items > 1)) {
12439 0 : SWIG_croak("Usage: labelObj_outlinecolor_get(self);");
12440 : }
12441 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12442 0 : if (!SWIG_IsOK(res1)) {
12443 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12444 : }
12445 0 : arg1 = (struct labelObj *)(argp1);
12446 0 : result = (colorObj *)& ((arg1)->outlinecolor);
12447 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12448 :
12449 0 : XSRETURN(argvi);
12450 0 : fail:
12451 :
12452 0 : SWIG_croak_null();
12453 : }
12454 : }
12455 :
12456 :
12457 0 : XS(_wrap_labelObj_outlinewidth_set) {
12458 : {
12459 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12460 : int arg2 ;
12461 0 : void *argp1 = 0 ;
12462 : int res1 = 0 ;
12463 : int val2 ;
12464 : int ecode2 = 0 ;
12465 : int argvi = 0;
12466 0 : dXSARGS;
12467 :
12468 0 : if ((items < 2) || (items > 2)) {
12469 0 : SWIG_croak("Usage: labelObj_outlinewidth_set(self,outlinewidth);");
12470 : }
12471 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12472 0 : if (!SWIG_IsOK(res1)) {
12473 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_set" "', argument " "1"" of type '" "struct labelObj *""'");
12474 : }
12475 0 : arg1 = (struct labelObj *)(argp1);
12476 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12477 0 : if (!SWIG_IsOK(ecode2)) {
12478 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_outlinewidth_set" "', argument " "2"" of type '" "int""'");
12479 : }
12480 : arg2 = (int)(val2);
12481 0 : if (arg1) (arg1)->outlinewidth = arg2;
12482 0 : ST(argvi) = sv_newmortal();
12483 :
12484 :
12485 0 : XSRETURN(argvi);
12486 0 : fail:
12487 :
12488 :
12489 0 : SWIG_croak_null();
12490 : }
12491 : }
12492 :
12493 :
12494 0 : XS(_wrap_labelObj_outlinewidth_get) {
12495 : {
12496 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12497 0 : void *argp1 = 0 ;
12498 : int res1 = 0 ;
12499 : int argvi = 0;
12500 : int result;
12501 0 : dXSARGS;
12502 :
12503 0 : if ((items < 1) || (items > 1)) {
12504 0 : SWIG_croak("Usage: labelObj_outlinewidth_get(self);");
12505 : }
12506 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12507 0 : if (!SWIG_IsOK(res1)) {
12508 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_get" "', argument " "1"" of type '" "struct labelObj *""'");
12509 : }
12510 0 : arg1 = (struct labelObj *)(argp1);
12511 0 : result = (int) ((arg1)->outlinewidth);
12512 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12513 :
12514 0 : XSRETURN(argvi);
12515 0 : fail:
12516 :
12517 0 : SWIG_croak_null();
12518 : }
12519 : }
12520 :
12521 :
12522 0 : XS(_wrap_labelObj_shadowcolor_set) {
12523 : {
12524 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12525 : colorObj *arg2 = (colorObj *) 0 ;
12526 0 : void *argp1 = 0 ;
12527 : int res1 = 0 ;
12528 0 : void *argp2 = 0 ;
12529 : int res2 = 0 ;
12530 : int argvi = 0;
12531 0 : dXSARGS;
12532 :
12533 0 : if ((items < 2) || (items > 2)) {
12534 0 : SWIG_croak("Usage: labelObj_shadowcolor_set(self,shadowcolor);");
12535 : }
12536 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12537 0 : if (!SWIG_IsOK(res1)) {
12538 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12539 : }
12540 0 : arg1 = (struct labelObj *)(argp1);
12541 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12542 0 : if (!SWIG_IsOK(res2)) {
12543 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_shadowcolor_set" "', argument " "2"" of type '" "colorObj *""'");
12544 : }
12545 0 : arg2 = (colorObj *)(argp2);
12546 0 : if (arg1) (arg1)->shadowcolor = *arg2;
12547 0 : ST(argvi) = sv_newmortal();
12548 :
12549 :
12550 0 : XSRETURN(argvi);
12551 0 : fail:
12552 :
12553 :
12554 0 : SWIG_croak_null();
12555 : }
12556 : }
12557 :
12558 :
12559 0 : XS(_wrap_labelObj_shadowcolor_get) {
12560 : {
12561 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12562 0 : void *argp1 = 0 ;
12563 : int res1 = 0 ;
12564 : int argvi = 0;
12565 : colorObj *result = 0 ;
12566 0 : dXSARGS;
12567 :
12568 0 : if ((items < 1) || (items > 1)) {
12569 0 : SWIG_croak("Usage: labelObj_shadowcolor_get(self);");
12570 : }
12571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12572 0 : if (!SWIG_IsOK(res1)) {
12573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12574 : }
12575 0 : arg1 = (struct labelObj *)(argp1);
12576 0 : result = (colorObj *)& ((arg1)->shadowcolor);
12577 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12578 :
12579 0 : XSRETURN(argvi);
12580 0 : fail:
12581 :
12582 0 : SWIG_croak_null();
12583 : }
12584 : }
12585 :
12586 :
12587 0 : XS(_wrap_labelObj_shadowsizex_set) {
12588 : {
12589 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12590 : int arg2 ;
12591 0 : void *argp1 = 0 ;
12592 : int res1 = 0 ;
12593 : int val2 ;
12594 : int ecode2 = 0 ;
12595 : int argvi = 0;
12596 0 : dXSARGS;
12597 :
12598 0 : if ((items < 2) || (items > 2)) {
12599 0 : SWIG_croak("Usage: labelObj_shadowsizex_set(self,shadowsizex);");
12600 : }
12601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12602 0 : if (!SWIG_IsOK(res1)) {
12603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_set" "', argument " "1"" of type '" "struct labelObj *""'");
12604 : }
12605 0 : arg1 = (struct labelObj *)(argp1);
12606 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12607 0 : if (!SWIG_IsOK(ecode2)) {
12608 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizex_set" "', argument " "2"" of type '" "int""'");
12609 : }
12610 : arg2 = (int)(val2);
12611 0 : if (arg1) (arg1)->shadowsizex = arg2;
12612 0 : ST(argvi) = sv_newmortal();
12613 :
12614 :
12615 0 : XSRETURN(argvi);
12616 0 : fail:
12617 :
12618 :
12619 0 : SWIG_croak_null();
12620 : }
12621 : }
12622 :
12623 :
12624 0 : XS(_wrap_labelObj_shadowsizex_get) {
12625 : {
12626 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12627 0 : void *argp1 = 0 ;
12628 : int res1 = 0 ;
12629 : int argvi = 0;
12630 : int result;
12631 0 : dXSARGS;
12632 :
12633 0 : if ((items < 1) || (items > 1)) {
12634 0 : SWIG_croak("Usage: labelObj_shadowsizex_get(self);");
12635 : }
12636 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12637 0 : if (!SWIG_IsOK(res1)) {
12638 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_get" "', argument " "1"" of type '" "struct labelObj *""'");
12639 : }
12640 0 : arg1 = (struct labelObj *)(argp1);
12641 0 : result = (int) ((arg1)->shadowsizex);
12642 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12643 :
12644 0 : XSRETURN(argvi);
12645 0 : fail:
12646 :
12647 0 : SWIG_croak_null();
12648 : }
12649 : }
12650 :
12651 :
12652 0 : XS(_wrap_labelObj_shadowsizey_set) {
12653 : {
12654 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12655 : int arg2 ;
12656 0 : void *argp1 = 0 ;
12657 : int res1 = 0 ;
12658 : int val2 ;
12659 : int ecode2 = 0 ;
12660 : int argvi = 0;
12661 0 : dXSARGS;
12662 :
12663 0 : if ((items < 2) || (items > 2)) {
12664 0 : SWIG_croak("Usage: labelObj_shadowsizey_set(self,shadowsizey);");
12665 : }
12666 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12667 0 : if (!SWIG_IsOK(res1)) {
12668 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_set" "', argument " "1"" of type '" "struct labelObj *""'");
12669 : }
12670 0 : arg1 = (struct labelObj *)(argp1);
12671 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12672 0 : if (!SWIG_IsOK(ecode2)) {
12673 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizey_set" "', argument " "2"" of type '" "int""'");
12674 : }
12675 : arg2 = (int)(val2);
12676 0 : if (arg1) (arg1)->shadowsizey = arg2;
12677 0 : ST(argvi) = sv_newmortal();
12678 :
12679 :
12680 0 : XSRETURN(argvi);
12681 0 : fail:
12682 :
12683 :
12684 0 : SWIG_croak_null();
12685 : }
12686 : }
12687 :
12688 :
12689 0 : XS(_wrap_labelObj_shadowsizey_get) {
12690 : {
12691 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12692 0 : void *argp1 = 0 ;
12693 : int res1 = 0 ;
12694 : int argvi = 0;
12695 : int result;
12696 0 : dXSARGS;
12697 :
12698 0 : if ((items < 1) || (items > 1)) {
12699 0 : SWIG_croak("Usage: labelObj_shadowsizey_get(self);");
12700 : }
12701 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12702 0 : if (!SWIG_IsOK(res1)) {
12703 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_get" "', argument " "1"" of type '" "struct labelObj *""'");
12704 : }
12705 0 : arg1 = (struct labelObj *)(argp1);
12706 0 : result = (int) ((arg1)->shadowsizey);
12707 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12708 :
12709 0 : XSRETURN(argvi);
12710 0 : fail:
12711 :
12712 0 : SWIG_croak_null();
12713 : }
12714 : }
12715 :
12716 :
12717 0 : XS(_wrap_labelObj_size_set) {
12718 : {
12719 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12720 : int arg2 ;
12721 0 : void *argp1 = 0 ;
12722 : int res1 = 0 ;
12723 : int val2 ;
12724 : int ecode2 = 0 ;
12725 : int argvi = 0;
12726 0 : dXSARGS;
12727 :
12728 0 : if ((items < 2) || (items > 2)) {
12729 0 : SWIG_croak("Usage: labelObj_size_set(self,size);");
12730 : }
12731 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12732 0 : if (!SWIG_IsOK(res1)) {
12733 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_set" "', argument " "1"" of type '" "struct labelObj *""'");
12734 : }
12735 0 : arg1 = (struct labelObj *)(argp1);
12736 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12737 0 : if (!SWIG_IsOK(ecode2)) {
12738 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_size_set" "', argument " "2"" of type '" "int""'");
12739 : }
12740 : arg2 = (int)(val2);
12741 0 : if (arg1) (arg1)->size = arg2;
12742 0 : ST(argvi) = sv_newmortal();
12743 :
12744 :
12745 0 : XSRETURN(argvi);
12746 0 : fail:
12747 :
12748 :
12749 0 : SWIG_croak_null();
12750 : }
12751 : }
12752 :
12753 :
12754 0 : XS(_wrap_labelObj_size_get) {
12755 : {
12756 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12757 0 : void *argp1 = 0 ;
12758 : int res1 = 0 ;
12759 : int argvi = 0;
12760 : int result;
12761 0 : dXSARGS;
12762 :
12763 0 : if ((items < 1) || (items > 1)) {
12764 0 : SWIG_croak("Usage: labelObj_size_get(self);");
12765 : }
12766 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12767 0 : if (!SWIG_IsOK(res1)) {
12768 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_get" "', argument " "1"" of type '" "struct labelObj *""'");
12769 : }
12770 0 : arg1 = (struct labelObj *)(argp1);
12771 0 : result = (int) ((arg1)->size);
12772 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12773 :
12774 0 : XSRETURN(argvi);
12775 0 : fail:
12776 :
12777 0 : SWIG_croak_null();
12778 : }
12779 : }
12780 :
12781 :
12782 0 : XS(_wrap_labelObj_minsize_set) {
12783 : {
12784 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12785 : int arg2 ;
12786 0 : void *argp1 = 0 ;
12787 : int res1 = 0 ;
12788 : int val2 ;
12789 : int ecode2 = 0 ;
12790 : int argvi = 0;
12791 0 : dXSARGS;
12792 :
12793 0 : if ((items < 2) || (items > 2)) {
12794 0 : SWIG_croak("Usage: labelObj_minsize_set(self,minsize);");
12795 : }
12796 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12797 0 : if (!SWIG_IsOK(res1)) {
12798 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12799 : }
12800 0 : arg1 = (struct labelObj *)(argp1);
12801 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12802 0 : if (!SWIG_IsOK(ecode2)) {
12803 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minsize_set" "', argument " "2"" of type '" "int""'");
12804 : }
12805 : arg2 = (int)(val2);
12806 0 : if (arg1) (arg1)->minsize = arg2;
12807 0 : ST(argvi) = sv_newmortal();
12808 :
12809 :
12810 0 : XSRETURN(argvi);
12811 0 : fail:
12812 :
12813 :
12814 0 : SWIG_croak_null();
12815 : }
12816 : }
12817 :
12818 :
12819 0 : XS(_wrap_labelObj_minsize_get) {
12820 : {
12821 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12822 0 : void *argp1 = 0 ;
12823 : int res1 = 0 ;
12824 : int argvi = 0;
12825 : int result;
12826 0 : dXSARGS;
12827 :
12828 0 : if ((items < 1) || (items > 1)) {
12829 0 : SWIG_croak("Usage: labelObj_minsize_get(self);");
12830 : }
12831 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12832 0 : if (!SWIG_IsOK(res1)) {
12833 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12834 : }
12835 0 : arg1 = (struct labelObj *)(argp1);
12836 0 : result = (int) ((arg1)->minsize);
12837 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12838 :
12839 0 : XSRETURN(argvi);
12840 0 : fail:
12841 :
12842 0 : SWIG_croak_null();
12843 : }
12844 : }
12845 :
12846 :
12847 0 : XS(_wrap_labelObj_maxsize_set) {
12848 : {
12849 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12850 : int arg2 ;
12851 0 : void *argp1 = 0 ;
12852 : int res1 = 0 ;
12853 : int val2 ;
12854 : int ecode2 = 0 ;
12855 : int argvi = 0;
12856 0 : dXSARGS;
12857 :
12858 0 : if ((items < 2) || (items > 2)) {
12859 0 : SWIG_croak("Usage: labelObj_maxsize_set(self,maxsize);");
12860 : }
12861 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12862 0 : if (!SWIG_IsOK(res1)) {
12863 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12864 : }
12865 0 : arg1 = (struct labelObj *)(argp1);
12866 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12867 0 : if (!SWIG_IsOK(ecode2)) {
12868 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxsize_set" "', argument " "2"" of type '" "int""'");
12869 : }
12870 : arg2 = (int)(val2);
12871 0 : if (arg1) (arg1)->maxsize = arg2;
12872 0 : ST(argvi) = sv_newmortal();
12873 :
12874 :
12875 0 : XSRETURN(argvi);
12876 0 : fail:
12877 :
12878 :
12879 0 : SWIG_croak_null();
12880 : }
12881 : }
12882 :
12883 :
12884 0 : XS(_wrap_labelObj_maxsize_get) {
12885 : {
12886 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12887 0 : void *argp1 = 0 ;
12888 : int res1 = 0 ;
12889 : int argvi = 0;
12890 : int result;
12891 0 : dXSARGS;
12892 :
12893 0 : if ((items < 1) || (items > 1)) {
12894 0 : SWIG_croak("Usage: labelObj_maxsize_get(self);");
12895 : }
12896 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12897 0 : if (!SWIG_IsOK(res1)) {
12898 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12899 : }
12900 0 : arg1 = (struct labelObj *)(argp1);
12901 0 : result = (int) ((arg1)->maxsize);
12902 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12903 :
12904 0 : XSRETURN(argvi);
12905 0 : fail:
12906 :
12907 0 : SWIG_croak_null();
12908 : }
12909 : }
12910 :
12911 :
12912 0 : XS(_wrap_labelObj_position_set) {
12913 : {
12914 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12915 : int arg2 ;
12916 0 : void *argp1 = 0 ;
12917 : int res1 = 0 ;
12918 : int val2 ;
12919 : int ecode2 = 0 ;
12920 : int argvi = 0;
12921 0 : dXSARGS;
12922 :
12923 0 : if ((items < 2) || (items > 2)) {
12924 0 : SWIG_croak("Usage: labelObj_position_set(self,position);");
12925 : }
12926 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12927 0 : if (!SWIG_IsOK(res1)) {
12928 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_set" "', argument " "1"" of type '" "struct labelObj *""'");
12929 : }
12930 0 : arg1 = (struct labelObj *)(argp1);
12931 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12932 0 : if (!SWIG_IsOK(ecode2)) {
12933 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_position_set" "', argument " "2"" of type '" "int""'");
12934 : }
12935 : arg2 = (int)(val2);
12936 0 : if (arg1) (arg1)->position = arg2;
12937 0 : ST(argvi) = sv_newmortal();
12938 :
12939 :
12940 0 : XSRETURN(argvi);
12941 0 : fail:
12942 :
12943 :
12944 0 : SWIG_croak_null();
12945 : }
12946 : }
12947 :
12948 :
12949 0 : XS(_wrap_labelObj_position_get) {
12950 : {
12951 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12952 0 : void *argp1 = 0 ;
12953 : int res1 = 0 ;
12954 : int argvi = 0;
12955 : int result;
12956 0 : dXSARGS;
12957 :
12958 0 : if ((items < 1) || (items > 1)) {
12959 0 : SWIG_croak("Usage: labelObj_position_get(self);");
12960 : }
12961 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12962 0 : if (!SWIG_IsOK(res1)) {
12963 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_get" "', argument " "1"" of type '" "struct labelObj *""'");
12964 : }
12965 0 : arg1 = (struct labelObj *)(argp1);
12966 0 : result = (int) ((arg1)->position);
12967 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12968 :
12969 0 : XSRETURN(argvi);
12970 0 : fail:
12971 :
12972 0 : SWIG_croak_null();
12973 : }
12974 : }
12975 :
12976 :
12977 0 : XS(_wrap_labelObj_offsetx_set) {
12978 : {
12979 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12980 : int arg2 ;
12981 0 : void *argp1 = 0 ;
12982 : int res1 = 0 ;
12983 : int val2 ;
12984 : int ecode2 = 0 ;
12985 : int argvi = 0;
12986 0 : dXSARGS;
12987 :
12988 0 : if ((items < 2) || (items > 2)) {
12989 0 : SWIG_croak("Usage: labelObj_offsetx_set(self,offsetx);");
12990 : }
12991 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12992 0 : if (!SWIG_IsOK(res1)) {
12993 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_set" "', argument " "1"" of type '" "struct labelObj *""'");
12994 : }
12995 0 : arg1 = (struct labelObj *)(argp1);
12996 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12997 0 : if (!SWIG_IsOK(ecode2)) {
12998 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsetx_set" "', argument " "2"" of type '" "int""'");
12999 : }
13000 : arg2 = (int)(val2);
13001 0 : if (arg1) (arg1)->offsetx = arg2;
13002 0 : ST(argvi) = sv_newmortal();
13003 :
13004 :
13005 0 : XSRETURN(argvi);
13006 0 : fail:
13007 :
13008 :
13009 0 : SWIG_croak_null();
13010 : }
13011 : }
13012 :
13013 :
13014 0 : XS(_wrap_labelObj_offsetx_get) {
13015 : {
13016 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13017 0 : void *argp1 = 0 ;
13018 : int res1 = 0 ;
13019 : int argvi = 0;
13020 : int result;
13021 0 : dXSARGS;
13022 :
13023 0 : if ((items < 1) || (items > 1)) {
13024 0 : SWIG_croak("Usage: labelObj_offsetx_get(self);");
13025 : }
13026 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13027 0 : if (!SWIG_IsOK(res1)) {
13028 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_get" "', argument " "1"" of type '" "struct labelObj *""'");
13029 : }
13030 0 : arg1 = (struct labelObj *)(argp1);
13031 0 : result = (int) ((arg1)->offsetx);
13032 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13033 :
13034 0 : XSRETURN(argvi);
13035 0 : fail:
13036 :
13037 0 : SWIG_croak_null();
13038 : }
13039 : }
13040 :
13041 :
13042 0 : XS(_wrap_labelObj_offsety_set) {
13043 : {
13044 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13045 : int arg2 ;
13046 0 : void *argp1 = 0 ;
13047 : int res1 = 0 ;
13048 : int val2 ;
13049 : int ecode2 = 0 ;
13050 : int argvi = 0;
13051 0 : dXSARGS;
13052 :
13053 0 : if ((items < 2) || (items > 2)) {
13054 0 : SWIG_croak("Usage: labelObj_offsety_set(self,offsety);");
13055 : }
13056 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13057 0 : if (!SWIG_IsOK(res1)) {
13058 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_set" "', argument " "1"" of type '" "struct labelObj *""'");
13059 : }
13060 0 : arg1 = (struct labelObj *)(argp1);
13061 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13062 0 : if (!SWIG_IsOK(ecode2)) {
13063 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsety_set" "', argument " "2"" of type '" "int""'");
13064 : }
13065 : arg2 = (int)(val2);
13066 0 : if (arg1) (arg1)->offsety = arg2;
13067 0 : ST(argvi) = sv_newmortal();
13068 :
13069 :
13070 0 : XSRETURN(argvi);
13071 0 : fail:
13072 :
13073 :
13074 0 : SWIG_croak_null();
13075 : }
13076 : }
13077 :
13078 :
13079 0 : XS(_wrap_labelObj_offsety_get) {
13080 : {
13081 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13082 0 : void *argp1 = 0 ;
13083 : int res1 = 0 ;
13084 : int argvi = 0;
13085 : int result;
13086 0 : dXSARGS;
13087 :
13088 0 : if ((items < 1) || (items > 1)) {
13089 0 : SWIG_croak("Usage: labelObj_offsety_get(self);");
13090 : }
13091 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13092 0 : if (!SWIG_IsOK(res1)) {
13093 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_get" "', argument " "1"" of type '" "struct labelObj *""'");
13094 : }
13095 0 : arg1 = (struct labelObj *)(argp1);
13096 0 : result = (int) ((arg1)->offsety);
13097 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13098 :
13099 0 : XSRETURN(argvi);
13100 0 : fail:
13101 :
13102 0 : SWIG_croak_null();
13103 : }
13104 : }
13105 :
13106 :
13107 0 : XS(_wrap_labelObj_angle_set) {
13108 : {
13109 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13110 : double arg2 ;
13111 0 : void *argp1 = 0 ;
13112 : int res1 = 0 ;
13113 : double val2 ;
13114 : int ecode2 = 0 ;
13115 : int argvi = 0;
13116 0 : dXSARGS;
13117 :
13118 0 : if ((items < 2) || (items > 2)) {
13119 0 : SWIG_croak("Usage: labelObj_angle_set(self,angle);");
13120 : }
13121 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13122 0 : if (!SWIG_IsOK(res1)) {
13123 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_set" "', argument " "1"" of type '" "struct labelObj *""'");
13124 : }
13125 0 : arg1 = (struct labelObj *)(argp1);
13126 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13127 0 : if (!SWIG_IsOK(ecode2)) {
13128 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_angle_set" "', argument " "2"" of type '" "double""'");
13129 : }
13130 0 : arg2 = (double)(val2);
13131 0 : if (arg1) (arg1)->angle = arg2;
13132 0 : ST(argvi) = sv_newmortal();
13133 :
13134 :
13135 0 : XSRETURN(argvi);
13136 0 : fail:
13137 :
13138 :
13139 0 : SWIG_croak_null();
13140 : }
13141 : }
13142 :
13143 :
13144 0 : XS(_wrap_labelObj_angle_get) {
13145 : {
13146 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13147 0 : void *argp1 = 0 ;
13148 : int res1 = 0 ;
13149 : int argvi = 0;
13150 : double result;
13151 0 : dXSARGS;
13152 :
13153 0 : if ((items < 1) || (items > 1)) {
13154 0 : SWIG_croak("Usage: labelObj_angle_get(self);");
13155 : }
13156 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13157 0 : if (!SWIG_IsOK(res1)) {
13158 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_get" "', argument " "1"" of type '" "struct labelObj *""'");
13159 : }
13160 0 : arg1 = (struct labelObj *)(argp1);
13161 0 : result = (double) ((arg1)->angle);
13162 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13163 :
13164 0 : XSRETURN(argvi);
13165 0 : fail:
13166 :
13167 0 : SWIG_croak_null();
13168 : }
13169 : }
13170 :
13171 :
13172 0 : XS(_wrap_labelObj_anglemode_set) {
13173 : {
13174 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13175 : enum MS_POSITIONS_ENUM arg2 ;
13176 0 : void *argp1 = 0 ;
13177 : int res1 = 0 ;
13178 : int val2 ;
13179 : int ecode2 = 0 ;
13180 : int argvi = 0;
13181 0 : dXSARGS;
13182 :
13183 0 : if ((items < 2) || (items > 2)) {
13184 0 : SWIG_croak("Usage: labelObj_anglemode_set(self,anglemode);");
13185 : }
13186 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13187 0 : if (!SWIG_IsOK(res1)) {
13188 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_set" "', argument " "1"" of type '" "struct labelObj *""'");
13189 : }
13190 0 : arg1 = (struct labelObj *)(argp1);
13191 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13192 0 : if (!SWIG_IsOK(ecode2)) {
13193 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_anglemode_set" "', argument " "2"" of type '" "enum MS_POSITIONS_ENUM""'");
13194 : }
13195 0 : arg2 = (enum MS_POSITIONS_ENUM)(val2);
13196 0 : if (arg1) (arg1)->anglemode = arg2;
13197 0 : ST(argvi) = sv_newmortal();
13198 :
13199 :
13200 0 : XSRETURN(argvi);
13201 0 : fail:
13202 :
13203 :
13204 0 : SWIG_croak_null();
13205 : }
13206 : }
13207 :
13208 :
13209 0 : XS(_wrap_labelObj_anglemode_get) {
13210 : {
13211 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13212 0 : void *argp1 = 0 ;
13213 : int res1 = 0 ;
13214 : int argvi = 0;
13215 : enum MS_POSITIONS_ENUM result;
13216 0 : dXSARGS;
13217 :
13218 0 : if ((items < 1) || (items > 1)) {
13219 0 : SWIG_croak("Usage: labelObj_anglemode_get(self);");
13220 : }
13221 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13222 0 : if (!SWIG_IsOK(res1)) {
13223 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_get" "', argument " "1"" of type '" "struct labelObj *""'");
13224 : }
13225 0 : arg1 = (struct labelObj *)(argp1);
13226 0 : result = (enum MS_POSITIONS_ENUM) ((arg1)->anglemode);
13227 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13228 :
13229 0 : XSRETURN(argvi);
13230 0 : fail:
13231 :
13232 0 : SWIG_croak_null();
13233 : }
13234 : }
13235 :
13236 :
13237 0 : XS(_wrap_labelObj_buffer_set) {
13238 : {
13239 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13240 : int arg2 ;
13241 0 : void *argp1 = 0 ;
13242 : int res1 = 0 ;
13243 : int val2 ;
13244 : int ecode2 = 0 ;
13245 : int argvi = 0;
13246 0 : dXSARGS;
13247 :
13248 0 : if ((items < 2) || (items > 2)) {
13249 0 : SWIG_croak("Usage: labelObj_buffer_set(self,buffer);");
13250 : }
13251 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13252 0 : if (!SWIG_IsOK(res1)) {
13253 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_set" "', argument " "1"" of type '" "struct labelObj *""'");
13254 : }
13255 0 : arg1 = (struct labelObj *)(argp1);
13256 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13257 0 : if (!SWIG_IsOK(ecode2)) {
13258 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_buffer_set" "', argument " "2"" of type '" "int""'");
13259 : }
13260 : arg2 = (int)(val2);
13261 0 : if (arg1) (arg1)->buffer = arg2;
13262 0 : ST(argvi) = sv_newmortal();
13263 :
13264 :
13265 0 : XSRETURN(argvi);
13266 0 : fail:
13267 :
13268 :
13269 0 : SWIG_croak_null();
13270 : }
13271 : }
13272 :
13273 :
13274 0 : XS(_wrap_labelObj_buffer_get) {
13275 : {
13276 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13277 0 : void *argp1 = 0 ;
13278 : int res1 = 0 ;
13279 : int argvi = 0;
13280 : int result;
13281 0 : dXSARGS;
13282 :
13283 0 : if ((items < 1) || (items > 1)) {
13284 0 : SWIG_croak("Usage: labelObj_buffer_get(self);");
13285 : }
13286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13287 0 : if (!SWIG_IsOK(res1)) {
13288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_get" "', argument " "1"" of type '" "struct labelObj *""'");
13289 : }
13290 0 : arg1 = (struct labelObj *)(argp1);
13291 0 : result = (int) ((arg1)->buffer);
13292 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13293 :
13294 0 : XSRETURN(argvi);
13295 0 : fail:
13296 :
13297 0 : SWIG_croak_null();
13298 : }
13299 : }
13300 :
13301 :
13302 0 : XS(_wrap_labelObj_align_set) {
13303 : {
13304 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13305 : int arg2 ;
13306 0 : void *argp1 = 0 ;
13307 : int res1 = 0 ;
13308 : int val2 ;
13309 : int ecode2 = 0 ;
13310 : int argvi = 0;
13311 0 : dXSARGS;
13312 :
13313 0 : if ((items < 2) || (items > 2)) {
13314 0 : SWIG_croak("Usage: labelObj_align_set(self,align);");
13315 : }
13316 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13317 0 : if (!SWIG_IsOK(res1)) {
13318 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_set" "', argument " "1"" of type '" "struct labelObj *""'");
13319 : }
13320 0 : arg1 = (struct labelObj *)(argp1);
13321 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13322 0 : if (!SWIG_IsOK(ecode2)) {
13323 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_align_set" "', argument " "2"" of type '" "int""'");
13324 : }
13325 : arg2 = (int)(val2);
13326 0 : if (arg1) (arg1)->align = arg2;
13327 0 : ST(argvi) = sv_newmortal();
13328 :
13329 :
13330 0 : XSRETURN(argvi);
13331 0 : fail:
13332 :
13333 :
13334 0 : SWIG_croak_null();
13335 : }
13336 : }
13337 :
13338 :
13339 0 : XS(_wrap_labelObj_align_get) {
13340 : {
13341 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13342 0 : void *argp1 = 0 ;
13343 : int res1 = 0 ;
13344 : int argvi = 0;
13345 : int result;
13346 0 : dXSARGS;
13347 :
13348 0 : if ((items < 1) || (items > 1)) {
13349 0 : SWIG_croak("Usage: labelObj_align_get(self);");
13350 : }
13351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13352 0 : if (!SWIG_IsOK(res1)) {
13353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_get" "', argument " "1"" of type '" "struct labelObj *""'");
13354 : }
13355 0 : arg1 = (struct labelObj *)(argp1);
13356 0 : result = (int) ((arg1)->align);
13357 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13358 :
13359 0 : XSRETURN(argvi);
13360 0 : fail:
13361 :
13362 0 : SWIG_croak_null();
13363 : }
13364 : }
13365 :
13366 :
13367 0 : XS(_wrap_labelObj_wrap_set) {
13368 : {
13369 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13370 : char arg2 ;
13371 0 : void *argp1 = 0 ;
13372 : int res1 = 0 ;
13373 : char val2 ;
13374 : int ecode2 = 0 ;
13375 : int argvi = 0;
13376 0 : dXSARGS;
13377 :
13378 0 : if ((items < 2) || (items > 2)) {
13379 0 : SWIG_croak("Usage: labelObj_wrap_set(self,wrap);");
13380 : }
13381 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13382 0 : if (!SWIG_IsOK(res1)) {
13383 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_set" "', argument " "1"" of type '" "struct labelObj *""'");
13384 : }
13385 0 : arg1 = (struct labelObj *)(argp1);
13386 0 : ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13387 0 : if (!SWIG_IsOK(ecode2)) {
13388 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_wrap_set" "', argument " "2"" of type '" "char""'");
13389 : }
13390 0 : arg2 = (char)(val2);
13391 0 : if (arg1) (arg1)->wrap = arg2;
13392 0 : ST(argvi) = sv_newmortal();
13393 :
13394 :
13395 0 : XSRETURN(argvi);
13396 0 : fail:
13397 :
13398 :
13399 0 : SWIG_croak_null();
13400 : }
13401 : }
13402 :
13403 :
13404 0 : XS(_wrap_labelObj_wrap_get) {
13405 : {
13406 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13407 0 : void *argp1 = 0 ;
13408 : int res1 = 0 ;
13409 : int argvi = 0;
13410 : char result;
13411 0 : dXSARGS;
13412 :
13413 0 : if ((items < 1) || (items > 1)) {
13414 0 : SWIG_croak("Usage: labelObj_wrap_get(self);");
13415 : }
13416 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13417 0 : if (!SWIG_IsOK(res1)) {
13418 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_get" "', argument " "1"" of type '" "struct labelObj *""'");
13419 : }
13420 0 : arg1 = (struct labelObj *)(argp1);
13421 0 : result = (char) ((arg1)->wrap);
13422 0 : ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
13423 :
13424 0 : XSRETURN(argvi);
13425 0 : fail:
13426 :
13427 0 : SWIG_croak_null();
13428 : }
13429 : }
13430 :
13431 :
13432 0 : XS(_wrap_labelObj_maxlength_set) {
13433 : {
13434 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13435 : int arg2 ;
13436 0 : void *argp1 = 0 ;
13437 : int res1 = 0 ;
13438 : int val2 ;
13439 : int ecode2 = 0 ;
13440 : int argvi = 0;
13441 0 : dXSARGS;
13442 :
13443 0 : if ((items < 2) || (items > 2)) {
13444 0 : SWIG_croak("Usage: labelObj_maxlength_set(self,maxlength);");
13445 : }
13446 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13447 0 : if (!SWIG_IsOK(res1)) {
13448 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13449 : }
13450 0 : arg1 = (struct labelObj *)(argp1);
13451 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13452 0 : if (!SWIG_IsOK(ecode2)) {
13453 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxlength_set" "', argument " "2"" of type '" "int""'");
13454 : }
13455 : arg2 = (int)(val2);
13456 0 : if (arg1) (arg1)->maxlength = arg2;
13457 0 : ST(argvi) = sv_newmortal();
13458 :
13459 :
13460 0 : XSRETURN(argvi);
13461 0 : fail:
13462 :
13463 :
13464 0 : SWIG_croak_null();
13465 : }
13466 : }
13467 :
13468 :
13469 0 : XS(_wrap_labelObj_maxlength_get) {
13470 : {
13471 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13472 0 : void *argp1 = 0 ;
13473 : int res1 = 0 ;
13474 : int argvi = 0;
13475 : int result;
13476 0 : dXSARGS;
13477 :
13478 0 : if ((items < 1) || (items > 1)) {
13479 0 : SWIG_croak("Usage: labelObj_maxlength_get(self);");
13480 : }
13481 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13482 0 : if (!SWIG_IsOK(res1)) {
13483 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13484 : }
13485 0 : arg1 = (struct labelObj *)(argp1);
13486 0 : result = (int) ((arg1)->maxlength);
13487 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13488 :
13489 0 : XSRETURN(argvi);
13490 0 : fail:
13491 :
13492 0 : SWIG_croak_null();
13493 : }
13494 : }
13495 :
13496 :
13497 0 : XS(_wrap_labelObj_minlength_set) {
13498 : {
13499 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13500 : int arg2 ;
13501 0 : void *argp1 = 0 ;
13502 : int res1 = 0 ;
13503 : int val2 ;
13504 : int ecode2 = 0 ;
13505 : int argvi = 0;
13506 0 : dXSARGS;
13507 :
13508 0 : if ((items < 2) || (items > 2)) {
13509 0 : SWIG_croak("Usage: labelObj_minlength_set(self,minlength);");
13510 : }
13511 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13512 0 : if (!SWIG_IsOK(res1)) {
13513 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13514 : }
13515 0 : arg1 = (struct labelObj *)(argp1);
13516 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13517 0 : if (!SWIG_IsOK(ecode2)) {
13518 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minlength_set" "', argument " "2"" of type '" "int""'");
13519 : }
13520 : arg2 = (int)(val2);
13521 0 : if (arg1) (arg1)->minlength = arg2;
13522 0 : ST(argvi) = sv_newmortal();
13523 :
13524 :
13525 0 : XSRETURN(argvi);
13526 0 : fail:
13527 :
13528 :
13529 0 : SWIG_croak_null();
13530 : }
13531 : }
13532 :
13533 :
13534 0 : XS(_wrap_labelObj_minlength_get) {
13535 : {
13536 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13537 0 : void *argp1 = 0 ;
13538 : int res1 = 0 ;
13539 : int argvi = 0;
13540 : int result;
13541 0 : dXSARGS;
13542 :
13543 0 : if ((items < 1) || (items > 1)) {
13544 0 : SWIG_croak("Usage: labelObj_minlength_get(self);");
13545 : }
13546 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13547 0 : if (!SWIG_IsOK(res1)) {
13548 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13549 : }
13550 0 : arg1 = (struct labelObj *)(argp1);
13551 0 : result = (int) ((arg1)->minlength);
13552 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13553 :
13554 0 : XSRETURN(argvi);
13555 0 : fail:
13556 :
13557 0 : SWIG_croak_null();
13558 : }
13559 : }
13560 :
13561 :
13562 0 : XS(_wrap_labelObj_space_size_10_set) {
13563 : {
13564 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13565 : double arg2 ;
13566 0 : void *argp1 = 0 ;
13567 : int res1 = 0 ;
13568 : double val2 ;
13569 : int ecode2 = 0 ;
13570 : int argvi = 0;
13571 0 : dXSARGS;
13572 :
13573 0 : if ((items < 2) || (items > 2)) {
13574 0 : SWIG_croak("Usage: labelObj_space_size_10_set(self,space_size_10);");
13575 : }
13576 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13577 0 : if (!SWIG_IsOK(res1)) {
13578 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_set" "', argument " "1"" of type '" "struct labelObj *""'");
13579 : }
13580 0 : arg1 = (struct labelObj *)(argp1);
13581 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13582 0 : if (!SWIG_IsOK(ecode2)) {
13583 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_space_size_10_set" "', argument " "2"" of type '" "double""'");
13584 : }
13585 0 : arg2 = (double)(val2);
13586 0 : if (arg1) (arg1)->space_size_10 = arg2;
13587 0 : ST(argvi) = sv_newmortal();
13588 :
13589 :
13590 0 : XSRETURN(argvi);
13591 0 : fail:
13592 :
13593 :
13594 0 : SWIG_croak_null();
13595 : }
13596 : }
13597 :
13598 :
13599 0 : XS(_wrap_labelObj_space_size_10_get) {
13600 : {
13601 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13602 0 : void *argp1 = 0 ;
13603 : int res1 = 0 ;
13604 : int argvi = 0;
13605 : double result;
13606 0 : dXSARGS;
13607 :
13608 0 : if ((items < 1) || (items > 1)) {
13609 0 : SWIG_croak("Usage: labelObj_space_size_10_get(self);");
13610 : }
13611 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13612 0 : if (!SWIG_IsOK(res1)) {
13613 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_get" "', argument " "1"" of type '" "struct labelObj *""'");
13614 : }
13615 0 : arg1 = (struct labelObj *)(argp1);
13616 0 : result = (double) ((arg1)->space_size_10);
13617 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13618 :
13619 0 : XSRETURN(argvi);
13620 0 : fail:
13621 :
13622 0 : SWIG_croak_null();
13623 : }
13624 : }
13625 :
13626 :
13627 0 : XS(_wrap_labelObj_minfeaturesize_set) {
13628 : {
13629 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13630 : int arg2 ;
13631 0 : void *argp1 = 0 ;
13632 : int res1 = 0 ;
13633 : int val2 ;
13634 : int ecode2 = 0 ;
13635 : int argvi = 0;
13636 0 : dXSARGS;
13637 :
13638 0 : if ((items < 2) || (items > 2)) {
13639 0 : SWIG_croak("Usage: labelObj_minfeaturesize_set(self,minfeaturesize);");
13640 : }
13641 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13642 0 : if (!SWIG_IsOK(res1)) {
13643 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13644 : }
13645 0 : arg1 = (struct labelObj *)(argp1);
13646 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13647 0 : if (!SWIG_IsOK(ecode2)) {
13648 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
13649 : }
13650 : arg2 = (int)(val2);
13651 0 : if (arg1) (arg1)->minfeaturesize = arg2;
13652 0 : ST(argvi) = sv_newmortal();
13653 :
13654 :
13655 0 : XSRETURN(argvi);
13656 0 : fail:
13657 :
13658 :
13659 0 : SWIG_croak_null();
13660 : }
13661 : }
13662 :
13663 :
13664 0 : XS(_wrap_labelObj_minfeaturesize_get) {
13665 : {
13666 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13667 0 : void *argp1 = 0 ;
13668 : int res1 = 0 ;
13669 : int argvi = 0;
13670 : int result;
13671 0 : dXSARGS;
13672 :
13673 0 : if ((items < 1) || (items > 1)) {
13674 0 : SWIG_croak("Usage: labelObj_minfeaturesize_get(self);");
13675 : }
13676 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13677 0 : if (!SWIG_IsOK(res1)) {
13678 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13679 : }
13680 0 : arg1 = (struct labelObj *)(argp1);
13681 0 : result = (int) ((arg1)->minfeaturesize);
13682 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13683 :
13684 0 : XSRETURN(argvi);
13685 0 : fail:
13686 :
13687 0 : SWIG_croak_null();
13688 : }
13689 : }
13690 :
13691 :
13692 0 : XS(_wrap_labelObj_autominfeaturesize_set) {
13693 : {
13694 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13695 : int arg2 ;
13696 0 : void *argp1 = 0 ;
13697 : int res1 = 0 ;
13698 : int val2 ;
13699 : int ecode2 = 0 ;
13700 : int argvi = 0;
13701 0 : dXSARGS;
13702 :
13703 0 : if ((items < 2) || (items > 2)) {
13704 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_set(self,autominfeaturesize);");
13705 : }
13706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13707 0 : if (!SWIG_IsOK(res1)) {
13708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13709 : }
13710 0 : arg1 = (struct labelObj *)(argp1);
13711 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13712 0 : if (!SWIG_IsOK(ecode2)) {
13713 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_autominfeaturesize_set" "', argument " "2"" of type '" "int""'");
13714 : }
13715 : arg2 = (int)(val2);
13716 0 : if (arg1) (arg1)->autominfeaturesize = arg2;
13717 0 : ST(argvi) = sv_newmortal();
13718 :
13719 :
13720 0 : XSRETURN(argvi);
13721 0 : fail:
13722 :
13723 :
13724 0 : SWIG_croak_null();
13725 : }
13726 : }
13727 :
13728 :
13729 0 : XS(_wrap_labelObj_autominfeaturesize_get) {
13730 : {
13731 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13732 0 : void *argp1 = 0 ;
13733 : int res1 = 0 ;
13734 : int argvi = 0;
13735 : int result;
13736 0 : dXSARGS;
13737 :
13738 0 : if ((items < 1) || (items > 1)) {
13739 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_get(self);");
13740 : }
13741 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13742 0 : if (!SWIG_IsOK(res1)) {
13743 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13744 : }
13745 0 : arg1 = (struct labelObj *)(argp1);
13746 0 : result = (int) ((arg1)->autominfeaturesize);
13747 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13748 :
13749 0 : XSRETURN(argvi);
13750 0 : fail:
13751 :
13752 0 : SWIG_croak_null();
13753 : }
13754 : }
13755 :
13756 :
13757 0 : XS(_wrap_labelObj_minscaledenom_set) {
13758 : {
13759 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13760 : double arg2 ;
13761 0 : void *argp1 = 0 ;
13762 : int res1 = 0 ;
13763 : double val2 ;
13764 : int ecode2 = 0 ;
13765 : int argvi = 0;
13766 0 : dXSARGS;
13767 :
13768 0 : if ((items < 2) || (items > 2)) {
13769 0 : SWIG_croak("Usage: labelObj_minscaledenom_set(self,minscaledenom);");
13770 : }
13771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13772 0 : if (!SWIG_IsOK(res1)) {
13773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13774 : }
13775 0 : arg1 = (struct labelObj *)(argp1);
13776 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13777 0 : if (!SWIG_IsOK(ecode2)) {
13778 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
13779 : }
13780 0 : arg2 = (double)(val2);
13781 0 : if (arg1) (arg1)->minscaledenom = arg2;
13782 0 : ST(argvi) = sv_newmortal();
13783 :
13784 :
13785 0 : XSRETURN(argvi);
13786 0 : fail:
13787 :
13788 :
13789 0 : SWIG_croak_null();
13790 : }
13791 : }
13792 :
13793 :
13794 0 : XS(_wrap_labelObj_minscaledenom_get) {
13795 : {
13796 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13797 0 : void *argp1 = 0 ;
13798 : int res1 = 0 ;
13799 : int argvi = 0;
13800 : double result;
13801 0 : dXSARGS;
13802 :
13803 0 : if ((items < 1) || (items > 1)) {
13804 0 : SWIG_croak("Usage: labelObj_minscaledenom_get(self);");
13805 : }
13806 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13807 0 : if (!SWIG_IsOK(res1)) {
13808 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13809 : }
13810 0 : arg1 = (struct labelObj *)(argp1);
13811 0 : result = (double) ((arg1)->minscaledenom);
13812 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13813 :
13814 0 : XSRETURN(argvi);
13815 0 : fail:
13816 :
13817 0 : SWIG_croak_null();
13818 : }
13819 : }
13820 :
13821 :
13822 0 : XS(_wrap_labelObj_maxscaledenom_set) {
13823 : {
13824 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13825 : double arg2 ;
13826 0 : void *argp1 = 0 ;
13827 : int res1 = 0 ;
13828 : double val2 ;
13829 : int ecode2 = 0 ;
13830 : int argvi = 0;
13831 0 : dXSARGS;
13832 :
13833 0 : if ((items < 2) || (items > 2)) {
13834 0 : SWIG_croak("Usage: labelObj_maxscaledenom_set(self,maxscaledenom);");
13835 : }
13836 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13837 0 : if (!SWIG_IsOK(res1)) {
13838 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13839 : }
13840 0 : arg1 = (struct labelObj *)(argp1);
13841 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13842 0 : if (!SWIG_IsOK(ecode2)) {
13843 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
13844 : }
13845 0 : arg2 = (double)(val2);
13846 0 : if (arg1) (arg1)->maxscaledenom = arg2;
13847 0 : ST(argvi) = sv_newmortal();
13848 :
13849 :
13850 0 : XSRETURN(argvi);
13851 0 : fail:
13852 :
13853 :
13854 0 : SWIG_croak_null();
13855 : }
13856 : }
13857 :
13858 :
13859 0 : XS(_wrap_labelObj_maxscaledenom_get) {
13860 : {
13861 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13862 0 : void *argp1 = 0 ;
13863 : int res1 = 0 ;
13864 : int argvi = 0;
13865 : double result;
13866 0 : dXSARGS;
13867 :
13868 0 : if ((items < 1) || (items > 1)) {
13869 0 : SWIG_croak("Usage: labelObj_maxscaledenom_get(self);");
13870 : }
13871 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13872 0 : if (!SWIG_IsOK(res1)) {
13873 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13874 : }
13875 0 : arg1 = (struct labelObj *)(argp1);
13876 0 : result = (double) ((arg1)->maxscaledenom);
13877 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13878 :
13879 0 : XSRETURN(argvi);
13880 0 : fail:
13881 :
13882 0 : SWIG_croak_null();
13883 : }
13884 : }
13885 :
13886 :
13887 0 : XS(_wrap_labelObj_mindistance_set) {
13888 : {
13889 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13890 : int arg2 ;
13891 0 : void *argp1 = 0 ;
13892 : int res1 = 0 ;
13893 : int val2 ;
13894 : int ecode2 = 0 ;
13895 : int argvi = 0;
13896 0 : dXSARGS;
13897 :
13898 0 : if ((items < 2) || (items > 2)) {
13899 0 : SWIG_croak("Usage: labelObj_mindistance_set(self,mindistance);");
13900 : }
13901 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13902 0 : if (!SWIG_IsOK(res1)) {
13903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13904 : }
13905 0 : arg1 = (struct labelObj *)(argp1);
13906 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13907 0 : if (!SWIG_IsOK(ecode2)) {
13908 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_mindistance_set" "', argument " "2"" of type '" "int""'");
13909 : }
13910 : arg2 = (int)(val2);
13911 0 : if (arg1) (arg1)->mindistance = arg2;
13912 0 : ST(argvi) = sv_newmortal();
13913 :
13914 :
13915 0 : XSRETURN(argvi);
13916 0 : fail:
13917 :
13918 :
13919 0 : SWIG_croak_null();
13920 : }
13921 : }
13922 :
13923 :
13924 0 : XS(_wrap_labelObj_mindistance_get) {
13925 : {
13926 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13927 0 : void *argp1 = 0 ;
13928 : int res1 = 0 ;
13929 : int argvi = 0;
13930 : int result;
13931 0 : dXSARGS;
13932 :
13933 0 : if ((items < 1) || (items > 1)) {
13934 0 : SWIG_croak("Usage: labelObj_mindistance_get(self);");
13935 : }
13936 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13937 0 : if (!SWIG_IsOK(res1)) {
13938 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
13939 : }
13940 0 : arg1 = (struct labelObj *)(argp1);
13941 0 : result = (int) ((arg1)->mindistance);
13942 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13943 :
13944 0 : XSRETURN(argvi);
13945 0 : fail:
13946 :
13947 0 : SWIG_croak_null();
13948 : }
13949 : }
13950 :
13951 :
13952 0 : XS(_wrap_labelObj_repeatdistance_set) {
13953 : {
13954 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13955 : int arg2 ;
13956 0 : void *argp1 = 0 ;
13957 : int res1 = 0 ;
13958 : int val2 ;
13959 : int ecode2 = 0 ;
13960 : int argvi = 0;
13961 0 : dXSARGS;
13962 :
13963 0 : if ((items < 2) || (items > 2)) {
13964 0 : SWIG_croak("Usage: labelObj_repeatdistance_set(self,repeatdistance);");
13965 : }
13966 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13967 0 : if (!SWIG_IsOK(res1)) {
13968 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13969 : }
13970 0 : arg1 = (struct labelObj *)(argp1);
13971 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13972 0 : if (!SWIG_IsOK(ecode2)) {
13973 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_repeatdistance_set" "', argument " "2"" of type '" "int""'");
13974 : }
13975 : arg2 = (int)(val2);
13976 0 : if (arg1) (arg1)->repeatdistance = arg2;
13977 0 : ST(argvi) = sv_newmortal();
13978 :
13979 :
13980 0 : XSRETURN(argvi);
13981 0 : fail:
13982 :
13983 :
13984 0 : SWIG_croak_null();
13985 : }
13986 : }
13987 :
13988 :
13989 0 : XS(_wrap_labelObj_repeatdistance_get) {
13990 : {
13991 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13992 0 : void *argp1 = 0 ;
13993 : int res1 = 0 ;
13994 : int argvi = 0;
13995 : int result;
13996 0 : dXSARGS;
13997 :
13998 0 : if ((items < 1) || (items > 1)) {
13999 0 : SWIG_croak("Usage: labelObj_repeatdistance_get(self);");
14000 : }
14001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14002 0 : if (!SWIG_IsOK(res1)) {
14003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
14004 : }
14005 0 : arg1 = (struct labelObj *)(argp1);
14006 0 : result = (int) ((arg1)->repeatdistance);
14007 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14008 :
14009 0 : XSRETURN(argvi);
14010 0 : fail:
14011 :
14012 0 : SWIG_croak_null();
14013 : }
14014 : }
14015 :
14016 :
14017 0 : XS(_wrap_labelObj_maxoverlapangle_set) {
14018 : {
14019 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14020 : double arg2 ;
14021 0 : void *argp1 = 0 ;
14022 : int res1 = 0 ;
14023 : double val2 ;
14024 : int ecode2 = 0 ;
14025 : int argvi = 0;
14026 0 : dXSARGS;
14027 :
14028 0 : if ((items < 2) || (items > 2)) {
14029 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_set(self,maxoverlapangle);");
14030 : }
14031 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14032 0 : if (!SWIG_IsOK(res1)) {
14033 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_set" "', argument " "1"" of type '" "struct labelObj *""'");
14034 : }
14035 0 : arg1 = (struct labelObj *)(argp1);
14036 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14037 0 : if (!SWIG_IsOK(ecode2)) {
14038 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxoverlapangle_set" "', argument " "2"" of type '" "double""'");
14039 : }
14040 0 : arg2 = (double)(val2);
14041 0 : if (arg1) (arg1)->maxoverlapangle = arg2;
14042 0 : ST(argvi) = sv_newmortal();
14043 :
14044 :
14045 0 : XSRETURN(argvi);
14046 0 : fail:
14047 :
14048 :
14049 0 : SWIG_croak_null();
14050 : }
14051 : }
14052 :
14053 :
14054 0 : XS(_wrap_labelObj_maxoverlapangle_get) {
14055 : {
14056 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14057 0 : void *argp1 = 0 ;
14058 : int res1 = 0 ;
14059 : int argvi = 0;
14060 : double result;
14061 0 : dXSARGS;
14062 :
14063 0 : if ((items < 1) || (items > 1)) {
14064 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_get(self);");
14065 : }
14066 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14067 0 : if (!SWIG_IsOK(res1)) {
14068 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_get" "', argument " "1"" of type '" "struct labelObj *""'");
14069 : }
14070 0 : arg1 = (struct labelObj *)(argp1);
14071 0 : result = (double) ((arg1)->maxoverlapangle);
14072 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
14073 :
14074 0 : XSRETURN(argvi);
14075 0 : fail:
14076 :
14077 0 : SWIG_croak_null();
14078 : }
14079 : }
14080 :
14081 :
14082 0 : XS(_wrap_labelObj_partials_set) {
14083 : {
14084 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14085 : int arg2 ;
14086 0 : void *argp1 = 0 ;
14087 : int res1 = 0 ;
14088 : int val2 ;
14089 : int ecode2 = 0 ;
14090 : int argvi = 0;
14091 0 : dXSARGS;
14092 :
14093 0 : if ((items < 2) || (items > 2)) {
14094 0 : SWIG_croak("Usage: labelObj_partials_set(self,partials);");
14095 : }
14096 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14097 0 : if (!SWIG_IsOK(res1)) {
14098 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_set" "', argument " "1"" of type '" "struct labelObj *""'");
14099 : }
14100 0 : arg1 = (struct labelObj *)(argp1);
14101 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14102 0 : if (!SWIG_IsOK(ecode2)) {
14103 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_partials_set" "', argument " "2"" of type '" "int""'");
14104 : }
14105 : arg2 = (int)(val2);
14106 0 : if (arg1) (arg1)->partials = arg2;
14107 0 : ST(argvi) = sv_newmortal();
14108 :
14109 :
14110 0 : XSRETURN(argvi);
14111 0 : fail:
14112 :
14113 :
14114 0 : SWIG_croak_null();
14115 : }
14116 : }
14117 :
14118 :
14119 0 : XS(_wrap_labelObj_partials_get) {
14120 : {
14121 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14122 0 : void *argp1 = 0 ;
14123 : int res1 = 0 ;
14124 : int argvi = 0;
14125 : int result;
14126 0 : dXSARGS;
14127 :
14128 0 : if ((items < 1) || (items > 1)) {
14129 0 : SWIG_croak("Usage: labelObj_partials_get(self);");
14130 : }
14131 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14132 0 : if (!SWIG_IsOK(res1)) {
14133 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_get" "', argument " "1"" of type '" "struct labelObj *""'");
14134 : }
14135 0 : arg1 = (struct labelObj *)(argp1);
14136 0 : result = (int) ((arg1)->partials);
14137 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14138 :
14139 0 : XSRETURN(argvi);
14140 0 : fail:
14141 :
14142 0 : SWIG_croak_null();
14143 : }
14144 : }
14145 :
14146 :
14147 0 : XS(_wrap_labelObj_force_set) {
14148 : {
14149 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14150 : int arg2 ;
14151 0 : void *argp1 = 0 ;
14152 : int res1 = 0 ;
14153 : int val2 ;
14154 : int ecode2 = 0 ;
14155 : int argvi = 0;
14156 0 : dXSARGS;
14157 :
14158 0 : if ((items < 2) || (items > 2)) {
14159 0 : SWIG_croak("Usage: labelObj_force_set(self,force);");
14160 : }
14161 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14162 0 : if (!SWIG_IsOK(res1)) {
14163 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_set" "', argument " "1"" of type '" "struct labelObj *""'");
14164 : }
14165 0 : arg1 = (struct labelObj *)(argp1);
14166 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14167 0 : if (!SWIG_IsOK(ecode2)) {
14168 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_force_set" "', argument " "2"" of type '" "int""'");
14169 : }
14170 : arg2 = (int)(val2);
14171 0 : if (arg1) (arg1)->force = arg2;
14172 0 : ST(argvi) = sv_newmortal();
14173 :
14174 :
14175 0 : XSRETURN(argvi);
14176 0 : fail:
14177 :
14178 :
14179 0 : SWIG_croak_null();
14180 : }
14181 : }
14182 :
14183 :
14184 0 : XS(_wrap_labelObj_force_get) {
14185 : {
14186 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14187 0 : void *argp1 = 0 ;
14188 : int res1 = 0 ;
14189 : int argvi = 0;
14190 : int result;
14191 0 : dXSARGS;
14192 :
14193 0 : if ((items < 1) || (items > 1)) {
14194 0 : SWIG_croak("Usage: labelObj_force_get(self);");
14195 : }
14196 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14197 0 : if (!SWIG_IsOK(res1)) {
14198 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_get" "', argument " "1"" of type '" "struct labelObj *""'");
14199 : }
14200 0 : arg1 = (struct labelObj *)(argp1);
14201 0 : result = (int) ((arg1)->force);
14202 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14203 :
14204 0 : XSRETURN(argvi);
14205 0 : fail:
14206 :
14207 0 : SWIG_croak_null();
14208 : }
14209 : }
14210 :
14211 :
14212 0 : XS(_wrap_labelObj_encoding_set) {
14213 : {
14214 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14215 : char *arg2 = (char *) 0 ;
14216 0 : void *argp1 = 0 ;
14217 : int res1 = 0 ;
14218 : int res2 ;
14219 0 : char *buf2 = 0 ;
14220 0 : int alloc2 = 0 ;
14221 : int argvi = 0;
14222 0 : dXSARGS;
14223 :
14224 0 : if ((items < 2) || (items > 2)) {
14225 0 : SWIG_croak("Usage: labelObj_encoding_set(self,encoding);");
14226 : }
14227 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14228 0 : if (!SWIG_IsOK(res1)) {
14229 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_set" "', argument " "1"" of type '" "struct labelObj *""'");
14230 : }
14231 0 : arg1 = (struct labelObj *)(argp1);
14232 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14233 0 : if (!SWIG_IsOK(res2)) {
14234 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_encoding_set" "', argument " "2"" of type '" "char *""'");
14235 : }
14236 0 : arg2 = (char *)(buf2);
14237 : {
14238 0 : if (arg1->encoding) free((char*)arg1->encoding);
14239 0 : if (arg2) {
14240 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
14241 : strcpy((char*)arg1->encoding,arg2);
14242 : } else {
14243 0 : arg1->encoding = 0;
14244 : }
14245 : }
14246 0 : ST(argvi) = sv_newmortal();
14247 :
14248 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14249 0 : XSRETURN(argvi);
14250 0 : fail:
14251 :
14252 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14253 0 : SWIG_croak_null();
14254 : }
14255 : }
14256 :
14257 :
14258 0 : XS(_wrap_labelObj_encoding_get) {
14259 : {
14260 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14261 0 : void *argp1 = 0 ;
14262 : int res1 = 0 ;
14263 : int argvi = 0;
14264 : char *result = 0 ;
14265 0 : dXSARGS;
14266 :
14267 0 : if ((items < 1) || (items > 1)) {
14268 0 : SWIG_croak("Usage: labelObj_encoding_get(self);");
14269 : }
14270 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14271 0 : if (!SWIG_IsOK(res1)) {
14272 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_get" "', argument " "1"" of type '" "struct labelObj *""'");
14273 : }
14274 0 : arg1 = (struct labelObj *)(argp1);
14275 0 : result = (char *) ((arg1)->encoding);
14276 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14277 :
14278 0 : XSRETURN(argvi);
14279 0 : fail:
14280 :
14281 0 : SWIG_croak_null();
14282 : }
14283 : }
14284 :
14285 :
14286 0 : XS(_wrap_labelObj_priority_set) {
14287 : {
14288 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14289 : int arg2 ;
14290 0 : void *argp1 = 0 ;
14291 : int res1 = 0 ;
14292 : int val2 ;
14293 : int ecode2 = 0 ;
14294 : int argvi = 0;
14295 0 : dXSARGS;
14296 :
14297 0 : if ((items < 2) || (items > 2)) {
14298 0 : SWIG_croak("Usage: labelObj_priority_set(self,priority);");
14299 : }
14300 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14301 0 : if (!SWIG_IsOK(res1)) {
14302 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_set" "', argument " "1"" of type '" "struct labelObj *""'");
14303 : }
14304 0 : arg1 = (struct labelObj *)(argp1);
14305 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14306 0 : if (!SWIG_IsOK(ecode2)) {
14307 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_priority_set" "', argument " "2"" of type '" "int""'");
14308 : }
14309 : arg2 = (int)(val2);
14310 0 : if (arg1) (arg1)->priority = arg2;
14311 0 : ST(argvi) = sv_newmortal();
14312 :
14313 :
14314 0 : XSRETURN(argvi);
14315 0 : fail:
14316 :
14317 :
14318 0 : SWIG_croak_null();
14319 : }
14320 : }
14321 :
14322 :
14323 0 : XS(_wrap_labelObj_priority_get) {
14324 : {
14325 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14326 0 : void *argp1 = 0 ;
14327 : int res1 = 0 ;
14328 : int argvi = 0;
14329 : int result;
14330 0 : dXSARGS;
14331 :
14332 0 : if ((items < 1) || (items > 1)) {
14333 0 : SWIG_croak("Usage: labelObj_priority_get(self);");
14334 : }
14335 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14336 0 : if (!SWIG_IsOK(res1)) {
14337 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_get" "', argument " "1"" of type '" "struct labelObj *""'");
14338 : }
14339 0 : arg1 = (struct labelObj *)(argp1);
14340 0 : result = (int) ((arg1)->priority);
14341 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14342 :
14343 0 : XSRETURN(argvi);
14344 0 : fail:
14345 :
14346 0 : SWIG_croak_null();
14347 : }
14348 : }
14349 :
14350 :
14351 0 : XS(_wrap_labelObj_numstyles_set) {
14352 : {
14353 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14354 : int arg2 ;
14355 0 : void *argp1 = 0 ;
14356 : int res1 = 0 ;
14357 : int val2 ;
14358 : int ecode2 = 0 ;
14359 : int argvi = 0;
14360 0 : dXSARGS;
14361 :
14362 0 : if ((items < 2) || (items > 2)) {
14363 0 : SWIG_croak("Usage: labelObj_numstyles_set(self,numstyles);");
14364 : }
14365 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14366 0 : if (!SWIG_IsOK(res1)) {
14367 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_set" "', argument " "1"" of type '" "struct labelObj *""'");
14368 : }
14369 0 : arg1 = (struct labelObj *)(argp1);
14370 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14371 0 : if (!SWIG_IsOK(ecode2)) {
14372 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_numstyles_set" "', argument " "2"" of type '" "int""'");
14373 : }
14374 : arg2 = (int)(val2);
14375 0 : if (arg1) (arg1)->numstyles = arg2;
14376 0 : ST(argvi) = sv_newmortal();
14377 :
14378 :
14379 0 : XSRETURN(argvi);
14380 0 : fail:
14381 :
14382 :
14383 0 : SWIG_croak_null();
14384 : }
14385 : }
14386 :
14387 :
14388 0 : XS(_wrap_labelObj_numstyles_get) {
14389 : {
14390 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14391 0 : void *argp1 = 0 ;
14392 : int res1 = 0 ;
14393 : int argvi = 0;
14394 : int result;
14395 0 : dXSARGS;
14396 :
14397 0 : if ((items < 1) || (items > 1)) {
14398 0 : SWIG_croak("Usage: labelObj_numstyles_get(self);");
14399 : }
14400 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14401 0 : if (!SWIG_IsOK(res1)) {
14402 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_get" "', argument " "1"" of type '" "struct labelObj *""'");
14403 : }
14404 0 : arg1 = (struct labelObj *)(argp1);
14405 0 : result = (int) ((arg1)->numstyles);
14406 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14407 :
14408 0 : XSRETURN(argvi);
14409 0 : fail:
14410 :
14411 0 : SWIG_croak_null();
14412 : }
14413 : }
14414 :
14415 :
14416 0 : XS(_wrap_labelObj_leader_set) {
14417 : {
14418 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14419 : labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
14420 0 : void *argp1 = 0 ;
14421 : int res1 = 0 ;
14422 0 : void *argp2 = 0 ;
14423 : int res2 = 0 ;
14424 : int argvi = 0;
14425 0 : dXSARGS;
14426 :
14427 0 : if ((items < 2) || (items > 2)) {
14428 0 : SWIG_croak("Usage: labelObj_leader_set(self,leader);");
14429 : }
14430 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14431 0 : if (!SWIG_IsOK(res1)) {
14432 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_set" "', argument " "1"" of type '" "struct labelObj *""'");
14433 : }
14434 0 : arg1 = (struct labelObj *)(argp1);
14435 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
14436 0 : if (!SWIG_IsOK(res2)) {
14437 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'");
14438 : }
14439 0 : arg2 = (labelLeaderObj *)(argp2);
14440 0 : if (arg1) (arg1)->leader = arg2;
14441 0 : ST(argvi) = sv_newmortal();
14442 :
14443 :
14444 0 : XSRETURN(argvi);
14445 0 : fail:
14446 :
14447 :
14448 0 : SWIG_croak_null();
14449 : }
14450 : }
14451 :
14452 :
14453 0 : XS(_wrap_labelObj_leader_get) {
14454 : {
14455 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14456 0 : void *argp1 = 0 ;
14457 : int res1 = 0 ;
14458 : int argvi = 0;
14459 : labelLeaderObj *result = 0 ;
14460 0 : dXSARGS;
14461 :
14462 0 : if ((items < 1) || (items > 1)) {
14463 0 : SWIG_croak("Usage: labelObj_leader_get(self);");
14464 : }
14465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14466 0 : if (!SWIG_IsOK(res1)) {
14467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_get" "', argument " "1"" of type '" "struct labelObj *""'");
14468 : }
14469 0 : arg1 = (struct labelObj *)(argp1);
14470 0 : result = (labelLeaderObj *) ((arg1)->leader);
14471 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
14472 :
14473 0 : XSRETURN(argvi);
14474 0 : fail:
14475 :
14476 0 : SWIG_croak_null();
14477 : }
14478 : }
14479 :
14480 :
14481 0 : XS(_wrap_labelObj_sizeunits_set) {
14482 : {
14483 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14484 : int arg2 ;
14485 0 : void *argp1 = 0 ;
14486 : int res1 = 0 ;
14487 : int val2 ;
14488 : int ecode2 = 0 ;
14489 : int argvi = 0;
14490 0 : dXSARGS;
14491 :
14492 0 : if ((items < 2) || (items > 2)) {
14493 0 : SWIG_croak("Usage: labelObj_sizeunits_set(self,sizeunits);");
14494 : }
14495 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14496 0 : if (!SWIG_IsOK(res1)) {
14497 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_set" "', argument " "1"" of type '" "struct labelObj *""'");
14498 : }
14499 0 : arg1 = (struct labelObj *)(argp1);
14500 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14501 0 : if (!SWIG_IsOK(ecode2)) {
14502 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
14503 : }
14504 : arg2 = (int)(val2);
14505 0 : if (arg1) (arg1)->sizeunits = arg2;
14506 0 : ST(argvi) = sv_newmortal();
14507 :
14508 :
14509 0 : XSRETURN(argvi);
14510 0 : fail:
14511 :
14512 :
14513 0 : SWIG_croak_null();
14514 : }
14515 : }
14516 :
14517 :
14518 0 : XS(_wrap_labelObj_sizeunits_get) {
14519 : {
14520 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14521 0 : void *argp1 = 0 ;
14522 : int res1 = 0 ;
14523 : int argvi = 0;
14524 : int result;
14525 0 : dXSARGS;
14526 :
14527 0 : if ((items < 1) || (items > 1)) {
14528 0 : SWIG_croak("Usage: labelObj_sizeunits_get(self);");
14529 : }
14530 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14531 0 : if (!SWIG_IsOK(res1)) {
14532 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_get" "', argument " "1"" of type '" "struct labelObj *""'");
14533 : }
14534 0 : arg1 = (struct labelObj *)(argp1);
14535 0 : result = (int) ((arg1)->sizeunits);
14536 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14537 :
14538 0 : XSRETURN(argvi);
14539 0 : fail:
14540 :
14541 0 : SWIG_croak_null();
14542 : }
14543 : }
14544 :
14545 :
14546 0 : XS(_wrap_new_labelObj) {
14547 : {
14548 : int argvi = 0;
14549 : struct labelObj *result = 0 ;
14550 0 : dXSARGS;
14551 :
14552 0 : if ((items < 0) || (items > 0)) {
14553 0 : SWIG_croak("Usage: new_labelObj();");
14554 : }
14555 0 : result = (struct labelObj *)new_labelObj();
14556 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14557 0 : XSRETURN(argvi);
14558 : fail:
14559 0 : SWIG_croak_null();
14560 : }
14561 : }
14562 :
14563 :
14564 0 : XS(_wrap_delete_labelObj) {
14565 : {
14566 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14567 0 : void *argp1 = 0 ;
14568 : int res1 = 0 ;
14569 : int argvi = 0;
14570 0 : dXSARGS;
14571 :
14572 0 : if ((items < 1) || (items > 1)) {
14573 0 : SWIG_croak("Usage: delete_labelObj(self);");
14574 : }
14575 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, SWIG_POINTER_DISOWN | 0 );
14576 0 : if (!SWIG_IsOK(res1)) {
14577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelObj" "', argument " "1"" of type '" "struct labelObj *""'");
14578 : }
14579 0 : arg1 = (struct labelObj *)(argp1);
14580 : delete_labelObj(arg1);
14581 0 : ST(argvi) = sv_newmortal();
14582 :
14583 0 : XSRETURN(argvi);
14584 0 : fail:
14585 :
14586 0 : SWIG_croak_null();
14587 : }
14588 : }
14589 :
14590 :
14591 0 : XS(_wrap_labelObj_updateFromString) {
14592 : {
14593 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14594 : char *arg2 = (char *) 0 ;
14595 0 : void *argp1 = 0 ;
14596 : int res1 = 0 ;
14597 : int res2 ;
14598 0 : char *buf2 = 0 ;
14599 0 : int alloc2 = 0 ;
14600 : int argvi = 0;
14601 : int result;
14602 0 : dXSARGS;
14603 :
14604 0 : if ((items < 2) || (items > 2)) {
14605 0 : SWIG_croak("Usage: labelObj_updateFromString(self,snippet);");
14606 : }
14607 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14608 0 : if (!SWIG_IsOK(res1)) {
14609 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_updateFromString" "', argument " "1"" of type '" "struct labelObj *""'");
14610 : }
14611 0 : arg1 = (struct labelObj *)(argp1);
14612 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14613 0 : if (!SWIG_IsOK(res2)) {
14614 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_updateFromString" "', argument " "2"" of type '" "char *""'");
14615 : }
14616 0 : arg2 = (char *)(buf2);
14617 : result = (int)labelObj_updateFromString(arg1,arg2);
14618 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14619 :
14620 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14621 0 : XSRETURN(argvi);
14622 0 : fail:
14623 :
14624 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14625 0 : SWIG_croak_null();
14626 : }
14627 : }
14628 :
14629 :
14630 0 : XS(_wrap_labelObj_convertToString) {
14631 : {
14632 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14633 0 : void *argp1 = 0 ;
14634 : int res1 = 0 ;
14635 : int argvi = 0;
14636 : char *result = 0 ;
14637 0 : dXSARGS;
14638 :
14639 0 : if ((items < 1) || (items > 1)) {
14640 0 : SWIG_croak("Usage: labelObj_convertToString(self);");
14641 : }
14642 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14643 0 : if (!SWIG_IsOK(res1)) {
14644 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_convertToString" "', argument " "1"" of type '" "struct labelObj *""'");
14645 : }
14646 0 : arg1 = (struct labelObj *)(argp1);
14647 : result = (char *)labelObj_convertToString(arg1);
14648 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14649 :
14650 0 : free((char*)result);
14651 0 : XSRETURN(argvi);
14652 0 : fail:
14653 :
14654 0 : SWIG_croak_null();
14655 : }
14656 : }
14657 :
14658 :
14659 0 : XS(_wrap_labelObj_removeBinding) {
14660 : {
14661 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14662 : int arg2 ;
14663 0 : void *argp1 = 0 ;
14664 : int res1 = 0 ;
14665 : int val2 ;
14666 : int ecode2 = 0 ;
14667 : int argvi = 0;
14668 : int result;
14669 0 : dXSARGS;
14670 :
14671 0 : if ((items < 2) || (items > 2)) {
14672 0 : SWIG_croak("Usage: labelObj_removeBinding(self,binding);");
14673 : }
14674 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14675 0 : if (!SWIG_IsOK(res1)) {
14676 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14677 : }
14678 0 : arg1 = (struct labelObj *)(argp1);
14679 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14680 0 : if (!SWIG_IsOK(ecode2)) {
14681 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeBinding" "', argument " "2"" of type '" "int""'");
14682 : }
14683 : arg2 = (int)(val2);
14684 : result = (int)labelObj_removeBinding(arg1,arg2);
14685 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14686 :
14687 :
14688 0 : XSRETURN(argvi);
14689 0 : fail:
14690 :
14691 :
14692 0 : SWIG_croak_null();
14693 : }
14694 : }
14695 :
14696 :
14697 0 : XS(_wrap_labelObj_getBinding) {
14698 : {
14699 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14700 : int arg2 ;
14701 0 : void *argp1 = 0 ;
14702 : int res1 = 0 ;
14703 : int val2 ;
14704 : int ecode2 = 0 ;
14705 : int argvi = 0;
14706 : char *result = 0 ;
14707 0 : dXSARGS;
14708 :
14709 0 : if ((items < 2) || (items > 2)) {
14710 0 : SWIG_croak("Usage: labelObj_getBinding(self,binding);");
14711 : }
14712 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14713 0 : if (!SWIG_IsOK(res1)) {
14714 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14715 : }
14716 0 : arg1 = (struct labelObj *)(argp1);
14717 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14718 0 : if (!SWIG_IsOK(ecode2)) {
14719 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getBinding" "', argument " "2"" of type '" "int""'");
14720 : }
14721 : arg2 = (int)(val2);
14722 : result = (char *)labelObj_getBinding(arg1,arg2);
14723 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14724 :
14725 :
14726 0 : XSRETURN(argvi);
14727 0 : fail:
14728 :
14729 :
14730 0 : SWIG_croak_null();
14731 : }
14732 : }
14733 :
14734 :
14735 0 : XS(_wrap_labelObj_setBinding) {
14736 : {
14737 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14738 : int arg2 ;
14739 : char *arg3 = (char *) 0 ;
14740 0 : void *argp1 = 0 ;
14741 : int res1 = 0 ;
14742 : int val2 ;
14743 : int ecode2 = 0 ;
14744 : int res3 ;
14745 0 : char *buf3 = 0 ;
14746 0 : int alloc3 = 0 ;
14747 : int argvi = 0;
14748 : int result;
14749 0 : dXSARGS;
14750 :
14751 0 : if ((items < 3) || (items > 3)) {
14752 0 : SWIG_croak("Usage: labelObj_setBinding(self,binding,item);");
14753 : }
14754 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14755 0 : if (!SWIG_IsOK(res1)) {
14756 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14757 : }
14758 0 : arg1 = (struct labelObj *)(argp1);
14759 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14760 0 : if (!SWIG_IsOK(ecode2)) {
14761 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_setBinding" "', argument " "2"" of type '" "int""'");
14762 : }
14763 : arg2 = (int)(val2);
14764 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
14765 0 : if (!SWIG_IsOK(res3)) {
14766 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "labelObj_setBinding" "', argument " "3"" of type '" "char *""'");
14767 : }
14768 0 : arg3 = (char *)(buf3);
14769 0 : result = (int)labelObj_setBinding(arg1,arg2,arg3);
14770 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14771 :
14772 :
14773 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14774 0 : XSRETURN(argvi);
14775 0 : fail:
14776 :
14777 :
14778 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14779 0 : SWIG_croak_null();
14780 : }
14781 : }
14782 :
14783 :
14784 0 : XS(_wrap_labelObj_setExpression) {
14785 : {
14786 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14787 : char *arg2 = (char *) 0 ;
14788 0 : void *argp1 = 0 ;
14789 : int res1 = 0 ;
14790 : int res2 ;
14791 0 : char *buf2 = 0 ;
14792 0 : int alloc2 = 0 ;
14793 : int argvi = 0;
14794 : int result;
14795 0 : dXSARGS;
14796 :
14797 0 : if ((items < 2) || (items > 2)) {
14798 0 : SWIG_croak("Usage: labelObj_setExpression(self,expression);");
14799 : }
14800 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14801 0 : if (!SWIG_IsOK(res1)) {
14802 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setExpression" "', argument " "1"" of type '" "struct labelObj *""'");
14803 : }
14804 0 : arg1 = (struct labelObj *)(argp1);
14805 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14806 0 : if (!SWIG_IsOK(res2)) {
14807 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setExpression" "', argument " "2"" of type '" "char *""'");
14808 : }
14809 0 : arg2 = (char *)(buf2);
14810 0 : result = (int)labelObj_setExpression(arg1,arg2);
14811 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14812 :
14813 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14814 0 : XSRETURN(argvi);
14815 0 : fail:
14816 :
14817 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14818 0 : SWIG_croak_null();
14819 : }
14820 : }
14821 :
14822 :
14823 0 : XS(_wrap_labelObj_getExpressionString) {
14824 : {
14825 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14826 0 : void *argp1 = 0 ;
14827 : int res1 = 0 ;
14828 : int argvi = 0;
14829 : char *result = 0 ;
14830 0 : dXSARGS;
14831 :
14832 0 : if ((items < 1) || (items > 1)) {
14833 0 : SWIG_croak("Usage: labelObj_getExpressionString(self);");
14834 : }
14835 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14836 0 : if (!SWIG_IsOK(res1)) {
14837 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getExpressionString" "', argument " "1"" of type '" "struct labelObj *""'");
14838 : }
14839 0 : arg1 = (struct labelObj *)(argp1);
14840 : result = (char *)labelObj_getExpressionString(arg1);
14841 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14842 :
14843 0 : free((char*)result);
14844 0 : XSRETURN(argvi);
14845 0 : fail:
14846 :
14847 0 : SWIG_croak_null();
14848 : }
14849 : }
14850 :
14851 :
14852 0 : XS(_wrap_labelObj_setText) {
14853 : {
14854 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14855 : char *arg2 = (char *) 0 ;
14856 0 : void *argp1 = 0 ;
14857 : int res1 = 0 ;
14858 : int res2 ;
14859 0 : char *buf2 = 0 ;
14860 0 : int alloc2 = 0 ;
14861 : int argvi = 0;
14862 : int result;
14863 0 : dXSARGS;
14864 :
14865 0 : if ((items < 2) || (items > 2)) {
14866 0 : SWIG_croak("Usage: labelObj_setText(self,text);");
14867 : }
14868 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14869 0 : if (!SWIG_IsOK(res1)) {
14870 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setText" "', argument " "1"" of type '" "struct labelObj *""'");
14871 : }
14872 0 : arg1 = (struct labelObj *)(argp1);
14873 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14874 0 : if (!SWIG_IsOK(res2)) {
14875 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setText" "', argument " "2"" of type '" "char *""'");
14876 : }
14877 0 : arg2 = (char *)(buf2);
14878 0 : result = (int)labelObj_setText(arg1,arg2);
14879 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14880 :
14881 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14882 0 : XSRETURN(argvi);
14883 0 : fail:
14884 :
14885 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14886 0 : SWIG_croak_null();
14887 : }
14888 : }
14889 :
14890 :
14891 0 : XS(_wrap_labelObj_getTextString) {
14892 : {
14893 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14894 0 : void *argp1 = 0 ;
14895 : int res1 = 0 ;
14896 : int argvi = 0;
14897 : char *result = 0 ;
14898 0 : dXSARGS;
14899 :
14900 0 : if ((items < 1) || (items > 1)) {
14901 0 : SWIG_croak("Usage: labelObj_getTextString(self);");
14902 : }
14903 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14904 0 : if (!SWIG_IsOK(res1)) {
14905 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getTextString" "', argument " "1"" of type '" "struct labelObj *""'");
14906 : }
14907 0 : arg1 = (struct labelObj *)(argp1);
14908 : result = (char *)labelObj_getTextString(arg1);
14909 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14910 :
14911 0 : free((char*)result);
14912 0 : XSRETURN(argvi);
14913 0 : fail:
14914 :
14915 0 : SWIG_croak_null();
14916 : }
14917 : }
14918 :
14919 :
14920 0 : XS(_wrap_labelObj_getStyle) {
14921 : {
14922 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14923 : int arg2 ;
14924 0 : void *argp1 = 0 ;
14925 : int res1 = 0 ;
14926 : int val2 ;
14927 : int ecode2 = 0 ;
14928 : int argvi = 0;
14929 : styleObj *result = 0 ;
14930 0 : dXSARGS;
14931 :
14932 0 : if ((items < 2) || (items > 2)) {
14933 0 : SWIG_croak("Usage: labelObj_getStyle(self,i);");
14934 : }
14935 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14936 0 : if (!SWIG_IsOK(res1)) {
14937 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14938 : }
14939 0 : arg1 = (struct labelObj *)(argp1);
14940 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14941 0 : if (!SWIG_IsOK(ecode2)) {
14942 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getStyle" "', argument " "2"" of type '" "int""'");
14943 : }
14944 : arg2 = (int)(val2);
14945 0 : result = (styleObj *)labelObj_getStyle(arg1,arg2);
14946 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14947 :
14948 :
14949 0 : XSRETURN(argvi);
14950 0 : fail:
14951 :
14952 :
14953 0 : SWIG_croak_null();
14954 : }
14955 : }
14956 :
14957 :
14958 0 : XS(_wrap_labelObj_insertStyle) {
14959 : {
14960 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14961 : styleObj *arg2 = (styleObj *) 0 ;
14962 : int arg3 = (int) -1 ;
14963 0 : void *argp1 = 0 ;
14964 : int res1 = 0 ;
14965 0 : void *argp2 = 0 ;
14966 : int res2 = 0 ;
14967 : int val3 ;
14968 : int ecode3 = 0 ;
14969 : int argvi = 0;
14970 : int result;
14971 0 : dXSARGS;
14972 :
14973 0 : if ((items < 2) || (items > 3)) {
14974 0 : SWIG_croak("Usage: labelObj_insertStyle(self,style,index);");
14975 : }
14976 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14977 0 : if (!SWIG_IsOK(res1)) {
14978 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_insertStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14979 : }
14980 0 : arg1 = (struct labelObj *)(argp1);
14981 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
14982 0 : if (!SWIG_IsOK(res2)) {
14983 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
14984 : }
14985 0 : arg2 = (styleObj *)(argp2);
14986 0 : if (items > 2) {
14987 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14988 0 : if (!SWIG_IsOK(ecode3)) {
14989 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "labelObj_insertStyle" "', argument " "3"" of type '" "int""'");
14990 : }
14991 : arg3 = (int)(val3);
14992 : }
14993 : result = (int)labelObj_insertStyle(arg1,arg2,arg3);
14994 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14995 :
14996 :
14997 :
14998 0 : XSRETURN(argvi);
14999 0 : fail:
15000 :
15001 :
15002 :
15003 0 : SWIG_croak_null();
15004 : }
15005 : }
15006 :
15007 :
15008 0 : XS(_wrap_labelObj_removeStyle) {
15009 : {
15010 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15011 : int arg2 ;
15012 0 : void *argp1 = 0 ;
15013 : int res1 = 0 ;
15014 : int val2 ;
15015 : int ecode2 = 0 ;
15016 : int argvi = 0;
15017 : styleObj *result = 0 ;
15018 0 : dXSARGS;
15019 :
15020 0 : if ((items < 2) || (items > 2)) {
15021 0 : SWIG_croak("Usage: labelObj_removeStyle(self,index);");
15022 : }
15023 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15024 0 : if (!SWIG_IsOK(res1)) {
15025 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeStyle" "', argument " "1"" of type '" "struct labelObj *""'");
15026 : }
15027 0 : arg1 = (struct labelObj *)(argp1);
15028 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15029 0 : if (!SWIG_IsOK(ecode2)) {
15030 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeStyle" "', argument " "2"" of type '" "int""'");
15031 : }
15032 : arg2 = (int)(val2);
15033 0 : result = (styleObj *)labelObj_removeStyle(arg1,arg2);
15034 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
15035 :
15036 :
15037 0 : XSRETURN(argvi);
15038 0 : fail:
15039 :
15040 :
15041 0 : SWIG_croak_null();
15042 : }
15043 : }
15044 :
15045 :
15046 0 : XS(_wrap_labelObj_moveStyleUp) {
15047 : {
15048 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15049 : int arg2 ;
15050 0 : void *argp1 = 0 ;
15051 : int res1 = 0 ;
15052 : int val2 ;
15053 : int ecode2 = 0 ;
15054 : int argvi = 0;
15055 : int result;
15056 0 : dXSARGS;
15057 :
15058 0 : if ((items < 2) || (items > 2)) {
15059 0 : SWIG_croak("Usage: labelObj_moveStyleUp(self,index);");
15060 : }
15061 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15062 0 : if (!SWIG_IsOK(res1)) {
15063 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleUp" "', argument " "1"" of type '" "struct labelObj *""'");
15064 : }
15065 0 : arg1 = (struct labelObj *)(argp1);
15066 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15067 0 : if (!SWIG_IsOK(ecode2)) {
15068 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
15069 : }
15070 : arg2 = (int)(val2);
15071 : result = (int)labelObj_moveStyleUp(arg1,arg2);
15072 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15073 :
15074 :
15075 0 : XSRETURN(argvi);
15076 0 : fail:
15077 :
15078 :
15079 0 : SWIG_croak_null();
15080 : }
15081 : }
15082 :
15083 :
15084 0 : XS(_wrap_labelObj_moveStyleDown) {
15085 : {
15086 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15087 : int arg2 ;
15088 0 : void *argp1 = 0 ;
15089 : int res1 = 0 ;
15090 : int val2 ;
15091 : int ecode2 = 0 ;
15092 : int argvi = 0;
15093 : int result;
15094 0 : dXSARGS;
15095 :
15096 0 : if ((items < 2) || (items > 2)) {
15097 0 : SWIG_croak("Usage: labelObj_moveStyleDown(self,index);");
15098 : }
15099 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15100 0 : if (!SWIG_IsOK(res1)) {
15101 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleDown" "', argument " "1"" of type '" "struct labelObj *""'");
15102 : }
15103 0 : arg1 = (struct labelObj *)(argp1);
15104 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15105 0 : if (!SWIG_IsOK(ecode2)) {
15106 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
15107 : }
15108 : arg2 = (int)(val2);
15109 : result = (int)labelObj_moveStyleDown(arg1,arg2);
15110 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15111 :
15112 :
15113 0 : XSRETURN(argvi);
15114 0 : fail:
15115 :
15116 :
15117 0 : SWIG_croak_null();
15118 : }
15119 : }
15120 :
15121 :
15122 0 : XS(_wrap_classObj_metadata_get) {
15123 : {
15124 : struct classObj *arg1 = (struct classObj *) 0 ;
15125 0 : void *argp1 = 0 ;
15126 : int res1 = 0 ;
15127 : int argvi = 0;
15128 : hashTableObj *result = 0 ;
15129 0 : dXSARGS;
15130 :
15131 0 : if ((items < 1) || (items > 1)) {
15132 0 : SWIG_croak("Usage: classObj_metadata_get(self);");
15133 : }
15134 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15135 0 : if (!SWIG_IsOK(res1)) {
15136 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_metadata_get" "', argument " "1"" of type '" "struct classObj *""'");
15137 : }
15138 0 : arg1 = (struct classObj *)(argp1);
15139 0 : result = (hashTableObj *)& ((arg1)->metadata);
15140 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15141 :
15142 0 : XSRETURN(argvi);
15143 0 : fail:
15144 :
15145 0 : SWIG_croak_null();
15146 : }
15147 : }
15148 :
15149 :
15150 0 : XS(_wrap_classObj_validation_get) {
15151 : {
15152 : struct classObj *arg1 = (struct classObj *) 0 ;
15153 0 : void *argp1 = 0 ;
15154 : int res1 = 0 ;
15155 : int argvi = 0;
15156 : hashTableObj *result = 0 ;
15157 0 : dXSARGS;
15158 :
15159 0 : if ((items < 1) || (items > 1)) {
15160 0 : SWIG_croak("Usage: classObj_validation_get(self);");
15161 : }
15162 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15163 0 : if (!SWIG_IsOK(res1)) {
15164 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_validation_get" "', argument " "1"" of type '" "struct classObj *""'");
15165 : }
15166 0 : arg1 = (struct classObj *)(argp1);
15167 0 : result = (hashTableObj *)& ((arg1)->validation);
15168 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15169 :
15170 0 : XSRETURN(argvi);
15171 0 : fail:
15172 :
15173 0 : SWIG_croak_null();
15174 : }
15175 : }
15176 :
15177 :
15178 0 : XS(_wrap_classObj_numstyles_get) {
15179 : {
15180 : struct classObj *arg1 = (struct classObj *) 0 ;
15181 0 : void *argp1 = 0 ;
15182 : int res1 = 0 ;
15183 : int argvi = 0;
15184 : int result;
15185 0 : dXSARGS;
15186 :
15187 0 : if ((items < 1) || (items > 1)) {
15188 0 : SWIG_croak("Usage: classObj_numstyles_get(self);");
15189 : }
15190 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15191 0 : if (!SWIG_IsOK(res1)) {
15192 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numstyles_get" "', argument " "1"" of type '" "struct classObj *""'");
15193 : }
15194 0 : arg1 = (struct classObj *)(argp1);
15195 0 : result = (int) ((arg1)->numstyles);
15196 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15197 :
15198 0 : XSRETURN(argvi);
15199 0 : fail:
15200 :
15201 0 : SWIG_croak_null();
15202 : }
15203 : }
15204 :
15205 :
15206 0 : XS(_wrap_classObj_numlabels_get) {
15207 : {
15208 : struct classObj *arg1 = (struct classObj *) 0 ;
15209 0 : void *argp1 = 0 ;
15210 : int res1 = 0 ;
15211 : int argvi = 0;
15212 : int result;
15213 0 : dXSARGS;
15214 :
15215 0 : if ((items < 1) || (items > 1)) {
15216 0 : SWIG_croak("Usage: classObj_numlabels_get(self);");
15217 : }
15218 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15219 0 : if (!SWIG_IsOK(res1)) {
15220 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_get" "', argument " "1"" of type '" "struct classObj *""'");
15221 : }
15222 0 : arg1 = (struct classObj *)(argp1);
15223 0 : result = (int) ((arg1)->numlabels);
15224 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15225 :
15226 0 : XSRETURN(argvi);
15227 0 : fail:
15228 :
15229 0 : SWIG_croak_null();
15230 : }
15231 : }
15232 :
15233 :
15234 0 : XS(_wrap_classObj_refcount_get) {
15235 : {
15236 : struct classObj *arg1 = (struct classObj *) 0 ;
15237 0 : void *argp1 = 0 ;
15238 : int res1 = 0 ;
15239 : int argvi = 0;
15240 : int result;
15241 0 : dXSARGS;
15242 :
15243 0 : if ((items < 1) || (items > 1)) {
15244 0 : SWIG_croak("Usage: classObj_refcount_get(self);");
15245 : }
15246 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15247 0 : if (!SWIG_IsOK(res1)) {
15248 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_refcount_get" "', argument " "1"" of type '" "struct classObj *""'");
15249 : }
15250 0 : arg1 = (struct classObj *)(argp1);
15251 0 : result = (int) ((arg1)->refcount);
15252 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15253 :
15254 0 : XSRETURN(argvi);
15255 0 : fail:
15256 :
15257 0 : SWIG_croak_null();
15258 : }
15259 : }
15260 :
15261 :
15262 1 : XS(_wrap_classObj_layer_get) {
15263 : {
15264 : struct classObj *arg1 = (struct classObj *) 0 ;
15265 1 : void *argp1 = 0 ;
15266 : int res1 = 0 ;
15267 : int argvi = 0;
15268 : struct layerObj *result = 0 ;
15269 1 : dXSARGS;
15270 :
15271 1 : if ((items < 1) || (items > 1)) {
15272 0 : SWIG_croak("Usage: classObj_layer_get(self);");
15273 : }
15274 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15275 1 : if (!SWIG_IsOK(res1)) {
15276 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_layer_get" "', argument " "1"" of type '" "struct classObj *""'");
15277 : }
15278 1 : arg1 = (struct classObj *)(argp1);
15279 : {
15280 : /* Accessing layer */
15281 1 : result = (struct layerObj *) ((arg1)->layer);;
15282 1 : MS_REFCNT_INCR(result);
15283 : }
15284 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, 0 | SWIG_SHADOW); argvi++ ;
15285 :
15286 1 : XSRETURN(argvi);
15287 0 : fail:
15288 :
15289 0 : SWIG_croak_null();
15290 : }
15291 : }
15292 :
15293 :
15294 0 : XS(_wrap_classObj_leader_get) {
15295 : {
15296 : struct classObj *arg1 = (struct classObj *) 0 ;
15297 0 : void *argp1 = 0 ;
15298 : int res1 = 0 ;
15299 : int argvi = 0;
15300 : labelLeaderObj *result = 0 ;
15301 0 : dXSARGS;
15302 :
15303 0 : if ((items < 1) || (items > 1)) {
15304 0 : SWIG_croak("Usage: classObj_leader_get(self);");
15305 : }
15306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15307 0 : if (!SWIG_IsOK(res1)) {
15308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_get" "', argument " "1"" of type '" "struct classObj *""'");
15309 : }
15310 0 : arg1 = (struct classObj *)(argp1);
15311 0 : result = (labelLeaderObj *) ((arg1)->leader);
15312 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
15313 :
15314 0 : XSRETURN(argvi);
15315 0 : fail:
15316 :
15317 0 : SWIG_croak_null();
15318 : }
15319 : }
15320 :
15321 :
15322 0 : XS(_wrap_classObj_status_set) {
15323 : {
15324 : struct classObj *arg1 = (struct classObj *) 0 ;
15325 : int arg2 ;
15326 0 : void *argp1 = 0 ;
15327 : int res1 = 0 ;
15328 : int val2 ;
15329 : int ecode2 = 0 ;
15330 : int argvi = 0;
15331 0 : dXSARGS;
15332 :
15333 0 : if ((items < 2) || (items > 2)) {
15334 0 : SWIG_croak("Usage: classObj_status_set(self,status);");
15335 : }
15336 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15337 0 : if (!SWIG_IsOK(res1)) {
15338 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_set" "', argument " "1"" of type '" "struct classObj *""'");
15339 : }
15340 0 : arg1 = (struct classObj *)(argp1);
15341 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15342 0 : if (!SWIG_IsOK(ecode2)) {
15343 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_status_set" "', argument " "2"" of type '" "int""'");
15344 : }
15345 : arg2 = (int)(val2);
15346 0 : if (arg1) (arg1)->status = arg2;
15347 0 : ST(argvi) = sv_newmortal();
15348 :
15349 :
15350 0 : XSRETURN(argvi);
15351 0 : fail:
15352 :
15353 :
15354 0 : SWIG_croak_null();
15355 : }
15356 : }
15357 :
15358 :
15359 0 : XS(_wrap_classObj_status_get) {
15360 : {
15361 : struct classObj *arg1 = (struct classObj *) 0 ;
15362 0 : void *argp1 = 0 ;
15363 : int res1 = 0 ;
15364 : int argvi = 0;
15365 : int result;
15366 0 : dXSARGS;
15367 :
15368 0 : if ((items < 1) || (items > 1)) {
15369 0 : SWIG_croak("Usage: classObj_status_get(self);");
15370 : }
15371 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15372 0 : if (!SWIG_IsOK(res1)) {
15373 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_get" "', argument " "1"" of type '" "struct classObj *""'");
15374 : }
15375 0 : arg1 = (struct classObj *)(argp1);
15376 0 : result = (int) ((arg1)->status);
15377 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15378 :
15379 0 : XSRETURN(argvi);
15380 0 : fail:
15381 :
15382 0 : SWIG_croak_null();
15383 : }
15384 : }
15385 :
15386 :
15387 0 : XS(_wrap_classObj_isfallback_set) {
15388 : {
15389 : struct classObj *arg1 = (struct classObj *) 0 ;
15390 : int arg2 ;
15391 0 : void *argp1 = 0 ;
15392 : int res1 = 0 ;
15393 : int val2 ;
15394 : int ecode2 = 0 ;
15395 : int argvi = 0;
15396 0 : dXSARGS;
15397 :
15398 0 : if ((items < 2) || (items > 2)) {
15399 0 : SWIG_croak("Usage: classObj_isfallback_set(self,isfallback);");
15400 : }
15401 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15402 0 : if (!SWIG_IsOK(res1)) {
15403 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_set" "', argument " "1"" of type '" "struct classObj *""'");
15404 : }
15405 0 : arg1 = (struct classObj *)(argp1);
15406 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15407 0 : if (!SWIG_IsOK(ecode2)) {
15408 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_isfallback_set" "', argument " "2"" of type '" "int""'");
15409 : }
15410 : arg2 = (int)(val2);
15411 0 : if (arg1) (arg1)->isfallback = arg2;
15412 0 : ST(argvi) = sv_newmortal();
15413 :
15414 :
15415 0 : XSRETURN(argvi);
15416 0 : fail:
15417 :
15418 :
15419 0 : SWIG_croak_null();
15420 : }
15421 : }
15422 :
15423 :
15424 0 : XS(_wrap_classObj_isfallback_get) {
15425 : {
15426 : struct classObj *arg1 = (struct classObj *) 0 ;
15427 0 : void *argp1 = 0 ;
15428 : int res1 = 0 ;
15429 : int argvi = 0;
15430 : int result;
15431 0 : dXSARGS;
15432 :
15433 0 : if ((items < 1) || (items > 1)) {
15434 0 : SWIG_croak("Usage: classObj_isfallback_get(self);");
15435 : }
15436 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15437 0 : if (!SWIG_IsOK(res1)) {
15438 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_get" "', argument " "1"" of type '" "struct classObj *""'");
15439 : }
15440 0 : arg1 = (struct classObj *)(argp1);
15441 0 : result = (int) ((arg1)->isfallback);
15442 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15443 :
15444 0 : XSRETURN(argvi);
15445 0 : fail:
15446 :
15447 0 : SWIG_croak_null();
15448 : }
15449 : }
15450 :
15451 :
15452 0 : XS(_wrap_classObj_name_set) {
15453 : {
15454 : struct classObj *arg1 = (struct classObj *) 0 ;
15455 : char *arg2 = (char *) 0 ;
15456 0 : void *argp1 = 0 ;
15457 : int res1 = 0 ;
15458 : int res2 ;
15459 0 : char *buf2 = 0 ;
15460 0 : int alloc2 = 0 ;
15461 : int argvi = 0;
15462 0 : dXSARGS;
15463 :
15464 0 : if ((items < 2) || (items > 2)) {
15465 0 : SWIG_croak("Usage: classObj_name_set(self,name);");
15466 : }
15467 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15468 0 : if (!SWIG_IsOK(res1)) {
15469 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_set" "', argument " "1"" of type '" "struct classObj *""'");
15470 : }
15471 0 : arg1 = (struct classObj *)(argp1);
15472 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15473 0 : if (!SWIG_IsOK(res2)) {
15474 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_name_set" "', argument " "2"" of type '" "char *""'");
15475 : }
15476 0 : arg2 = (char *)(buf2);
15477 : {
15478 0 : if (arg1->name) free((char*)arg1->name);
15479 0 : if (arg2) {
15480 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
15481 : strcpy((char*)arg1->name,arg2);
15482 : } else {
15483 0 : arg1->name = 0;
15484 : }
15485 : }
15486 0 : ST(argvi) = sv_newmortal();
15487 :
15488 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15489 0 : XSRETURN(argvi);
15490 0 : fail:
15491 :
15492 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15493 0 : SWIG_croak_null();
15494 : }
15495 : }
15496 :
15497 :
15498 0 : XS(_wrap_classObj_name_get) {
15499 : {
15500 : struct classObj *arg1 = (struct classObj *) 0 ;
15501 0 : void *argp1 = 0 ;
15502 : int res1 = 0 ;
15503 : int argvi = 0;
15504 : char *result = 0 ;
15505 0 : dXSARGS;
15506 :
15507 0 : if ((items < 1) || (items > 1)) {
15508 0 : SWIG_croak("Usage: classObj_name_get(self);");
15509 : }
15510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15511 0 : if (!SWIG_IsOK(res1)) {
15512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_get" "', argument " "1"" of type '" "struct classObj *""'");
15513 : }
15514 0 : arg1 = (struct classObj *)(argp1);
15515 0 : result = (char *) ((arg1)->name);
15516 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15517 :
15518 0 : XSRETURN(argvi);
15519 0 : fail:
15520 :
15521 0 : SWIG_croak_null();
15522 : }
15523 : }
15524 :
15525 :
15526 0 : XS(_wrap_classObj_title_set) {
15527 : {
15528 : struct classObj *arg1 = (struct classObj *) 0 ;
15529 : char *arg2 = (char *) 0 ;
15530 0 : void *argp1 = 0 ;
15531 : int res1 = 0 ;
15532 : int res2 ;
15533 0 : char *buf2 = 0 ;
15534 0 : int alloc2 = 0 ;
15535 : int argvi = 0;
15536 0 : dXSARGS;
15537 :
15538 0 : if ((items < 2) || (items > 2)) {
15539 0 : SWIG_croak("Usage: classObj_title_set(self,title);");
15540 : }
15541 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15542 0 : if (!SWIG_IsOK(res1)) {
15543 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_set" "', argument " "1"" of type '" "struct classObj *""'");
15544 : }
15545 0 : arg1 = (struct classObj *)(argp1);
15546 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15547 0 : if (!SWIG_IsOK(res2)) {
15548 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_title_set" "', argument " "2"" of type '" "char *""'");
15549 : }
15550 0 : arg2 = (char *)(buf2);
15551 : {
15552 0 : if (arg1->title) free((char*)arg1->title);
15553 0 : if (arg2) {
15554 0 : arg1->title = (char *) malloc(strlen(arg2)+1);
15555 : strcpy((char*)arg1->title,arg2);
15556 : } else {
15557 0 : arg1->title = 0;
15558 : }
15559 : }
15560 0 : ST(argvi) = sv_newmortal();
15561 :
15562 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15563 0 : XSRETURN(argvi);
15564 0 : fail:
15565 :
15566 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15567 0 : SWIG_croak_null();
15568 : }
15569 : }
15570 :
15571 :
15572 0 : XS(_wrap_classObj_title_get) {
15573 : {
15574 : struct classObj *arg1 = (struct classObj *) 0 ;
15575 0 : void *argp1 = 0 ;
15576 : int res1 = 0 ;
15577 : int argvi = 0;
15578 : char *result = 0 ;
15579 0 : dXSARGS;
15580 :
15581 0 : if ((items < 1) || (items > 1)) {
15582 0 : SWIG_croak("Usage: classObj_title_get(self);");
15583 : }
15584 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15585 0 : if (!SWIG_IsOK(res1)) {
15586 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_get" "', argument " "1"" of type '" "struct classObj *""'");
15587 : }
15588 0 : arg1 = (struct classObj *)(argp1);
15589 0 : result = (char *) ((arg1)->title);
15590 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15591 :
15592 0 : XSRETURN(argvi);
15593 0 : fail:
15594 :
15595 0 : SWIG_croak_null();
15596 : }
15597 : }
15598 :
15599 :
15600 0 : XS(_wrap_classObj_minscaledenom_set) {
15601 : {
15602 : struct classObj *arg1 = (struct classObj *) 0 ;
15603 : double arg2 ;
15604 0 : void *argp1 = 0 ;
15605 : int res1 = 0 ;
15606 : double val2 ;
15607 : int ecode2 = 0 ;
15608 : int argvi = 0;
15609 0 : dXSARGS;
15610 :
15611 0 : if ((items < 2) || (items > 2)) {
15612 0 : SWIG_croak("Usage: classObj_minscaledenom_set(self,minscaledenom);");
15613 : }
15614 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15615 0 : if (!SWIG_IsOK(res1)) {
15616 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15617 : }
15618 0 : arg1 = (struct classObj *)(argp1);
15619 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15620 0 : if (!SWIG_IsOK(ecode2)) {
15621 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
15622 : }
15623 0 : arg2 = (double)(val2);
15624 0 : if (arg1) (arg1)->minscaledenom = arg2;
15625 0 : ST(argvi) = sv_newmortal();
15626 :
15627 :
15628 0 : XSRETURN(argvi);
15629 0 : fail:
15630 :
15631 :
15632 0 : SWIG_croak_null();
15633 : }
15634 : }
15635 :
15636 :
15637 0 : XS(_wrap_classObj_minscaledenom_get) {
15638 : {
15639 : struct classObj *arg1 = (struct classObj *) 0 ;
15640 0 : void *argp1 = 0 ;
15641 : int res1 = 0 ;
15642 : int argvi = 0;
15643 : double result;
15644 0 : dXSARGS;
15645 :
15646 0 : if ((items < 1) || (items > 1)) {
15647 0 : SWIG_croak("Usage: classObj_minscaledenom_get(self);");
15648 : }
15649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15650 0 : if (!SWIG_IsOK(res1)) {
15651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15652 : }
15653 0 : arg1 = (struct classObj *)(argp1);
15654 0 : result = (double) ((arg1)->minscaledenom);
15655 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15656 :
15657 0 : XSRETURN(argvi);
15658 0 : fail:
15659 :
15660 0 : SWIG_croak_null();
15661 : }
15662 : }
15663 :
15664 :
15665 0 : XS(_wrap_classObj_maxscaledenom_set) {
15666 : {
15667 : struct classObj *arg1 = (struct classObj *) 0 ;
15668 : double arg2 ;
15669 0 : void *argp1 = 0 ;
15670 : int res1 = 0 ;
15671 : double val2 ;
15672 : int ecode2 = 0 ;
15673 : int argvi = 0;
15674 0 : dXSARGS;
15675 :
15676 0 : if ((items < 2) || (items > 2)) {
15677 0 : SWIG_croak("Usage: classObj_maxscaledenom_set(self,maxscaledenom);");
15678 : }
15679 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15680 0 : if (!SWIG_IsOK(res1)) {
15681 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15682 : }
15683 0 : arg1 = (struct classObj *)(argp1);
15684 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15685 0 : if (!SWIG_IsOK(ecode2)) {
15686 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
15687 : }
15688 0 : arg2 = (double)(val2);
15689 0 : if (arg1) (arg1)->maxscaledenom = arg2;
15690 0 : ST(argvi) = sv_newmortal();
15691 :
15692 :
15693 0 : XSRETURN(argvi);
15694 0 : fail:
15695 :
15696 :
15697 0 : SWIG_croak_null();
15698 : }
15699 : }
15700 :
15701 :
15702 0 : XS(_wrap_classObj_maxscaledenom_get) {
15703 : {
15704 : struct classObj *arg1 = (struct classObj *) 0 ;
15705 0 : void *argp1 = 0 ;
15706 : int res1 = 0 ;
15707 : int argvi = 0;
15708 : double result;
15709 0 : dXSARGS;
15710 :
15711 0 : if ((items < 1) || (items > 1)) {
15712 0 : SWIG_croak("Usage: classObj_maxscaledenom_get(self);");
15713 : }
15714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15715 0 : if (!SWIG_IsOK(res1)) {
15716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15717 : }
15718 0 : arg1 = (struct classObj *)(argp1);
15719 0 : result = (double) ((arg1)->maxscaledenom);
15720 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15721 :
15722 0 : XSRETURN(argvi);
15723 0 : fail:
15724 :
15725 0 : SWIG_croak_null();
15726 : }
15727 : }
15728 :
15729 :
15730 0 : XS(_wrap_classObj_minfeaturesize_set) {
15731 : {
15732 : struct classObj *arg1 = (struct classObj *) 0 ;
15733 : int arg2 ;
15734 0 : void *argp1 = 0 ;
15735 : int res1 = 0 ;
15736 : int val2 ;
15737 : int ecode2 = 0 ;
15738 : int argvi = 0;
15739 0 : dXSARGS;
15740 :
15741 0 : if ((items < 2) || (items > 2)) {
15742 0 : SWIG_croak("Usage: classObj_minfeaturesize_set(self,minfeaturesize);");
15743 : }
15744 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15745 0 : if (!SWIG_IsOK(res1)) {
15746 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_set" "', argument " "1"" of type '" "struct classObj *""'");
15747 : }
15748 0 : arg1 = (struct classObj *)(argp1);
15749 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15750 0 : if (!SWIG_IsOK(ecode2)) {
15751 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
15752 : }
15753 : arg2 = (int)(val2);
15754 0 : if (arg1) (arg1)->minfeaturesize = arg2;
15755 0 : ST(argvi) = sv_newmortal();
15756 :
15757 :
15758 0 : XSRETURN(argvi);
15759 0 : fail:
15760 :
15761 :
15762 0 : SWIG_croak_null();
15763 : }
15764 : }
15765 :
15766 :
15767 0 : XS(_wrap_classObj_minfeaturesize_get) {
15768 : {
15769 : struct classObj *arg1 = (struct classObj *) 0 ;
15770 0 : void *argp1 = 0 ;
15771 : int res1 = 0 ;
15772 : int argvi = 0;
15773 : int result;
15774 0 : dXSARGS;
15775 :
15776 0 : if ((items < 1) || (items > 1)) {
15777 0 : SWIG_croak("Usage: classObj_minfeaturesize_get(self);");
15778 : }
15779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15780 0 : if (!SWIG_IsOK(res1)) {
15781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_get" "', argument " "1"" of type '" "struct classObj *""'");
15782 : }
15783 0 : arg1 = (struct classObj *)(argp1);
15784 0 : result = (int) ((arg1)->minfeaturesize);
15785 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15786 :
15787 0 : XSRETURN(argvi);
15788 0 : fail:
15789 :
15790 0 : SWIG_croak_null();
15791 : }
15792 : }
15793 :
15794 :
15795 0 : XS(_wrap_classObj_debug_set) {
15796 : {
15797 : struct classObj *arg1 = (struct classObj *) 0 ;
15798 : int arg2 ;
15799 0 : void *argp1 = 0 ;
15800 : int res1 = 0 ;
15801 : int val2 ;
15802 : int ecode2 = 0 ;
15803 : int argvi = 0;
15804 0 : dXSARGS;
15805 :
15806 0 : if ((items < 2) || (items > 2)) {
15807 0 : SWIG_croak("Usage: classObj_debug_set(self,debug);");
15808 : }
15809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15810 0 : if (!SWIG_IsOK(res1)) {
15811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_set" "', argument " "1"" of type '" "struct classObj *""'");
15812 : }
15813 0 : arg1 = (struct classObj *)(argp1);
15814 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15815 0 : if (!SWIG_IsOK(ecode2)) {
15816 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_debug_set" "', argument " "2"" of type '" "int""'");
15817 : }
15818 : arg2 = (int)(val2);
15819 0 : if (arg1) (arg1)->debug = arg2;
15820 0 : ST(argvi) = sv_newmortal();
15821 :
15822 :
15823 0 : XSRETURN(argvi);
15824 0 : fail:
15825 :
15826 :
15827 0 : SWIG_croak_null();
15828 : }
15829 : }
15830 :
15831 :
15832 0 : XS(_wrap_classObj_debug_get) {
15833 : {
15834 : struct classObj *arg1 = (struct classObj *) 0 ;
15835 0 : void *argp1 = 0 ;
15836 : int res1 = 0 ;
15837 : int argvi = 0;
15838 : int result;
15839 0 : dXSARGS;
15840 :
15841 0 : if ((items < 1) || (items > 1)) {
15842 0 : SWIG_croak("Usage: classObj_debug_get(self);");
15843 : }
15844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15845 0 : if (!SWIG_IsOK(res1)) {
15846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_get" "', argument " "1"" of type '" "struct classObj *""'");
15847 : }
15848 0 : arg1 = (struct classObj *)(argp1);
15849 0 : result = (int) ((arg1)->debug);
15850 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15851 :
15852 0 : XSRETURN(argvi);
15853 0 : fail:
15854 :
15855 0 : SWIG_croak_null();
15856 : }
15857 : }
15858 :
15859 :
15860 0 : XS(_wrap_classObj_keyimage_set) {
15861 : {
15862 : struct classObj *arg1 = (struct classObj *) 0 ;
15863 : char *arg2 = (char *) 0 ;
15864 0 : void *argp1 = 0 ;
15865 : int res1 = 0 ;
15866 : int res2 ;
15867 0 : char *buf2 = 0 ;
15868 0 : int alloc2 = 0 ;
15869 : int argvi = 0;
15870 0 : dXSARGS;
15871 :
15872 0 : if ((items < 2) || (items > 2)) {
15873 0 : SWIG_croak("Usage: classObj_keyimage_set(self,keyimage);");
15874 : }
15875 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15876 0 : if (!SWIG_IsOK(res1)) {
15877 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_set" "', argument " "1"" of type '" "struct classObj *""'");
15878 : }
15879 0 : arg1 = (struct classObj *)(argp1);
15880 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15881 0 : if (!SWIG_IsOK(res2)) {
15882 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_keyimage_set" "', argument " "2"" of type '" "char *""'");
15883 : }
15884 0 : arg2 = (char *)(buf2);
15885 : {
15886 0 : if (arg1->keyimage) free((char*)arg1->keyimage);
15887 0 : if (arg2) {
15888 0 : arg1->keyimage = (char *) malloc(strlen(arg2)+1);
15889 : strcpy((char*)arg1->keyimage,arg2);
15890 : } else {
15891 0 : arg1->keyimage = 0;
15892 : }
15893 : }
15894 0 : ST(argvi) = sv_newmortal();
15895 :
15896 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15897 0 : XSRETURN(argvi);
15898 0 : fail:
15899 :
15900 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15901 0 : SWIG_croak_null();
15902 : }
15903 : }
15904 :
15905 :
15906 0 : XS(_wrap_classObj_keyimage_get) {
15907 : {
15908 : struct classObj *arg1 = (struct classObj *) 0 ;
15909 0 : void *argp1 = 0 ;
15910 : int res1 = 0 ;
15911 : int argvi = 0;
15912 : char *result = 0 ;
15913 0 : dXSARGS;
15914 :
15915 0 : if ((items < 1) || (items > 1)) {
15916 0 : SWIG_croak("Usage: classObj_keyimage_get(self);");
15917 : }
15918 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15919 0 : if (!SWIG_IsOK(res1)) {
15920 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_get" "', argument " "1"" of type '" "struct classObj *""'");
15921 : }
15922 0 : arg1 = (struct classObj *)(argp1);
15923 0 : result = (char *) ((arg1)->keyimage);
15924 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15925 :
15926 0 : XSRETURN(argvi);
15927 0 : fail:
15928 :
15929 0 : SWIG_croak_null();
15930 : }
15931 : }
15932 :
15933 :
15934 0 : XS(_wrap_classObj_group_set) {
15935 : {
15936 : struct classObj *arg1 = (struct classObj *) 0 ;
15937 : char *arg2 = (char *) 0 ;
15938 0 : void *argp1 = 0 ;
15939 : int res1 = 0 ;
15940 : int res2 ;
15941 0 : char *buf2 = 0 ;
15942 0 : int alloc2 = 0 ;
15943 : int argvi = 0;
15944 0 : dXSARGS;
15945 :
15946 0 : if ((items < 2) || (items > 2)) {
15947 0 : SWIG_croak("Usage: classObj_group_set(self,group);");
15948 : }
15949 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15950 0 : if (!SWIG_IsOK(res1)) {
15951 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_set" "', argument " "1"" of type '" "struct classObj *""'");
15952 : }
15953 0 : arg1 = (struct classObj *)(argp1);
15954 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15955 0 : if (!SWIG_IsOK(res2)) {
15956 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_group_set" "', argument " "2"" of type '" "char *""'");
15957 : }
15958 0 : arg2 = (char *)(buf2);
15959 : {
15960 0 : if (arg1->group) free((char*)arg1->group);
15961 0 : if (arg2) {
15962 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
15963 : strcpy((char*)arg1->group,arg2);
15964 : } else {
15965 0 : arg1->group = 0;
15966 : }
15967 : }
15968 0 : ST(argvi) = sv_newmortal();
15969 :
15970 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15971 0 : XSRETURN(argvi);
15972 0 : fail:
15973 :
15974 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15975 0 : SWIG_croak_null();
15976 : }
15977 : }
15978 :
15979 :
15980 0 : XS(_wrap_classObj_group_get) {
15981 : {
15982 : struct classObj *arg1 = (struct classObj *) 0 ;
15983 0 : void *argp1 = 0 ;
15984 : int res1 = 0 ;
15985 : int argvi = 0;
15986 : char *result = 0 ;
15987 0 : dXSARGS;
15988 :
15989 0 : if ((items < 1) || (items > 1)) {
15990 0 : SWIG_croak("Usage: classObj_group_get(self);");
15991 : }
15992 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15993 0 : if (!SWIG_IsOK(res1)) {
15994 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_get" "', argument " "1"" of type '" "struct classObj *""'");
15995 : }
15996 0 : arg1 = (struct classObj *)(argp1);
15997 0 : result = (char *) ((arg1)->group);
15998 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15999 :
16000 0 : XSRETURN(argvi);
16001 0 : fail:
16002 :
16003 0 : SWIG_croak_null();
16004 : }
16005 : }
16006 :
16007 :
16008 0 : XS(_wrap_classObj_sizeunits_set) {
16009 : {
16010 : struct classObj *arg1 = (struct classObj *) 0 ;
16011 : int arg2 ;
16012 0 : void *argp1 = 0 ;
16013 : int res1 = 0 ;
16014 : int val2 ;
16015 : int ecode2 = 0 ;
16016 : int argvi = 0;
16017 0 : dXSARGS;
16018 :
16019 0 : if ((items < 2) || (items > 2)) {
16020 0 : SWIG_croak("Usage: classObj_sizeunits_set(self,sizeunits);");
16021 : }
16022 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16023 0 : if (!SWIG_IsOK(res1)) {
16024 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_set" "', argument " "1"" of type '" "struct classObj *""'");
16025 : }
16026 0 : arg1 = (struct classObj *)(argp1);
16027 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16028 0 : if (!SWIG_IsOK(ecode2)) {
16029 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
16030 : }
16031 : arg2 = (int)(val2);
16032 0 : if (arg1) (arg1)->sizeunits = arg2;
16033 0 : ST(argvi) = sv_newmortal();
16034 :
16035 :
16036 0 : XSRETURN(argvi);
16037 0 : fail:
16038 :
16039 :
16040 0 : SWIG_croak_null();
16041 : }
16042 : }
16043 :
16044 :
16045 0 : XS(_wrap_classObj_sizeunits_get) {
16046 : {
16047 : struct classObj *arg1 = (struct classObj *) 0 ;
16048 0 : void *argp1 = 0 ;
16049 : int res1 = 0 ;
16050 : int argvi = 0;
16051 : int result;
16052 0 : dXSARGS;
16053 :
16054 0 : if ((items < 1) || (items > 1)) {
16055 0 : SWIG_croak("Usage: classObj_sizeunits_get(self);");
16056 : }
16057 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16058 0 : if (!SWIG_IsOK(res1)) {
16059 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_get" "', argument " "1"" of type '" "struct classObj *""'");
16060 : }
16061 0 : arg1 = (struct classObj *)(argp1);
16062 0 : result = (int) ((arg1)->sizeunits);
16063 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16064 :
16065 0 : XSRETURN(argvi);
16066 0 : fail:
16067 :
16068 0 : SWIG_croak_null();
16069 : }
16070 : }
16071 :
16072 :
16073 0 : XS(_wrap_classObj_template_set) {
16074 : {
16075 : struct classObj *arg1 = (struct classObj *) 0 ;
16076 : char *arg2 = (char *) 0 ;
16077 0 : void *argp1 = 0 ;
16078 : int res1 = 0 ;
16079 : int res2 ;
16080 0 : char *buf2 = 0 ;
16081 0 : int alloc2 = 0 ;
16082 : int argvi = 0;
16083 0 : dXSARGS;
16084 :
16085 0 : if ((items < 2) || (items > 2)) {
16086 0 : SWIG_croak("Usage: classObj_template_set(self,template);");
16087 : }
16088 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16089 0 : if (!SWIG_IsOK(res1)) {
16090 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_set" "', argument " "1"" of type '" "struct classObj *""'");
16091 : }
16092 0 : arg1 = (struct classObj *)(argp1);
16093 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16094 0 : if (!SWIG_IsOK(res2)) {
16095 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_template_set" "', argument " "2"" of type '" "char *""'");
16096 : }
16097 0 : arg2 = (char *)(buf2);
16098 : {
16099 0 : if (arg1->template) free((char*)arg1->template);
16100 0 : if (arg2) {
16101 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
16102 : strcpy((char*)arg1->template,arg2);
16103 : } else {
16104 0 : arg1->template = 0;
16105 : }
16106 : }
16107 0 : ST(argvi) = sv_newmortal();
16108 :
16109 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16110 0 : XSRETURN(argvi);
16111 0 : fail:
16112 :
16113 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16114 0 : SWIG_croak_null();
16115 : }
16116 : }
16117 :
16118 :
16119 0 : XS(_wrap_classObj_template_get) {
16120 : {
16121 : struct classObj *arg1 = (struct classObj *) 0 ;
16122 0 : void *argp1 = 0 ;
16123 : int res1 = 0 ;
16124 : int argvi = 0;
16125 : char *result = 0 ;
16126 0 : dXSARGS;
16127 :
16128 0 : if ((items < 1) || (items > 1)) {
16129 0 : SWIG_croak("Usage: classObj_template_get(self);");
16130 : }
16131 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16132 0 : if (!SWIG_IsOK(res1)) {
16133 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_get" "', argument " "1"" of type '" "struct classObj *""'");
16134 : }
16135 0 : arg1 = (struct classObj *)(argp1);
16136 0 : result = (char *) ((arg1)->template);
16137 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16138 :
16139 0 : XSRETURN(argvi);
16140 0 : fail:
16141 :
16142 0 : SWIG_croak_null();
16143 : }
16144 : }
16145 :
16146 :
16147 1 : XS(_wrap_new_classObj) {
16148 : {
16149 : layerObj *arg1 = (layerObj *) NULL ;
16150 1 : void *argp1 = 0 ;
16151 : int res1 = 0 ;
16152 : int argvi = 0;
16153 : struct classObj *result = 0 ;
16154 1 : dXSARGS;
16155 :
16156 1 : if ((items < 0) || (items > 1)) {
16157 0 : SWIG_croak("Usage: new_classObj(layer);");
16158 : }
16159 1 : if (items > 0) {
16160 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
16161 1 : if (!SWIG_IsOK(res1)) {
16162 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_classObj" "', argument " "1"" of type '" "layerObj *""'");
16163 : }
16164 1 : arg1 = (layerObj *)(argp1);
16165 : }
16166 1 : result = (struct classObj *)new_classObj(arg1);
16167 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16168 :
16169 1 : XSRETURN(argvi);
16170 0 : fail:
16171 :
16172 0 : SWIG_croak_null();
16173 : }
16174 : }
16175 :
16176 :
16177 1 : XS(_wrap_delete_classObj) {
16178 : {
16179 : struct classObj *arg1 = (struct classObj *) 0 ;
16180 1 : void *argp1 = 0 ;
16181 : int res1 = 0 ;
16182 : int argvi = 0;
16183 1 : dXSARGS;
16184 :
16185 1 : if ((items < 1) || (items > 1)) {
16186 0 : SWIG_croak("Usage: delete_classObj(self);");
16187 : }
16188 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, SWIG_POINTER_DISOWN | 0 );
16189 1 : if (!SWIG_IsOK(res1)) {
16190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_classObj" "', argument " "1"" of type '" "struct classObj *""'");
16191 : }
16192 1 : arg1 = (struct classObj *)(argp1);
16193 1 : delete_classObj(arg1);
16194 1 : ST(argvi) = sv_newmortal();
16195 :
16196 1 : XSRETURN(argvi);
16197 0 : fail:
16198 :
16199 0 : SWIG_croak_null();
16200 : }
16201 : }
16202 :
16203 :
16204 0 : XS(_wrap_classObj_updateFromString) {
16205 : {
16206 : struct classObj *arg1 = (struct classObj *) 0 ;
16207 : char *arg2 = (char *) 0 ;
16208 0 : void *argp1 = 0 ;
16209 : int res1 = 0 ;
16210 : int res2 ;
16211 0 : char *buf2 = 0 ;
16212 0 : int alloc2 = 0 ;
16213 : int argvi = 0;
16214 : int result;
16215 0 : dXSARGS;
16216 :
16217 0 : if ((items < 2) || (items > 2)) {
16218 0 : SWIG_croak("Usage: classObj_updateFromString(self,snippet);");
16219 : }
16220 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16221 0 : if (!SWIG_IsOK(res1)) {
16222 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_updateFromString" "', argument " "1"" of type '" "struct classObj *""'");
16223 : }
16224 0 : arg1 = (struct classObj *)(argp1);
16225 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16226 0 : if (!SWIG_IsOK(res2)) {
16227 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_updateFromString" "', argument " "2"" of type '" "char *""'");
16228 : }
16229 0 : arg2 = (char *)(buf2);
16230 : result = (int)classObj_updateFromString(arg1,arg2);
16231 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16232 :
16233 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16234 0 : XSRETURN(argvi);
16235 0 : fail:
16236 :
16237 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16238 0 : SWIG_croak_null();
16239 : }
16240 : }
16241 :
16242 :
16243 0 : XS(_wrap_classObj_convertToString) {
16244 : {
16245 : struct classObj *arg1 = (struct classObj *) 0 ;
16246 0 : void *argp1 = 0 ;
16247 : int res1 = 0 ;
16248 : int argvi = 0;
16249 : char *result = 0 ;
16250 0 : dXSARGS;
16251 :
16252 0 : if ((items < 1) || (items > 1)) {
16253 0 : SWIG_croak("Usage: classObj_convertToString(self);");
16254 : }
16255 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16256 0 : if (!SWIG_IsOK(res1)) {
16257 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_convertToString" "', argument " "1"" of type '" "struct classObj *""'");
16258 : }
16259 0 : arg1 = (struct classObj *)(argp1);
16260 : result = (char *)classObj_convertToString(arg1);
16261 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16262 :
16263 0 : free((char*)result);
16264 0 : XSRETURN(argvi);
16265 0 : fail:
16266 :
16267 0 : SWIG_croak_null();
16268 : }
16269 : }
16270 :
16271 :
16272 0 : XS(_wrap_classObj_clone) {
16273 : {
16274 : struct classObj *arg1 = (struct classObj *) 0 ;
16275 0 : void *argp1 = 0 ;
16276 : int res1 = 0 ;
16277 : int argvi = 0;
16278 : classObj *result = 0 ;
16279 0 : dXSARGS;
16280 :
16281 0 : if ((items < 1) || (items > 1)) {
16282 0 : SWIG_croak("Usage: classObj_clone(self);");
16283 : }
16284 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16285 0 : if (!SWIG_IsOK(res1)) {
16286 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_clone" "', argument " "1"" of type '" "struct classObj *""'");
16287 : }
16288 0 : arg1 = (struct classObj *)(argp1);
16289 0 : result = (classObj *)classObj_clone(arg1);
16290 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16291 :
16292 0 : XSRETURN(argvi);
16293 0 : fail:
16294 :
16295 0 : SWIG_croak_null();
16296 : }
16297 : }
16298 :
16299 :
16300 0 : XS(_wrap_classObj_setExpression) {
16301 : {
16302 : struct classObj *arg1 = (struct classObj *) 0 ;
16303 : char *arg2 = (char *) 0 ;
16304 0 : void *argp1 = 0 ;
16305 : int res1 = 0 ;
16306 : int res2 ;
16307 0 : char *buf2 = 0 ;
16308 0 : int alloc2 = 0 ;
16309 : int argvi = 0;
16310 : int result;
16311 0 : dXSARGS;
16312 :
16313 0 : if ((items < 2) || (items > 2)) {
16314 0 : SWIG_croak("Usage: classObj_setExpression(self,expression);");
16315 : }
16316 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16317 0 : if (!SWIG_IsOK(res1)) {
16318 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setExpression" "', argument " "1"" of type '" "struct classObj *""'");
16319 : }
16320 0 : arg1 = (struct classObj *)(argp1);
16321 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16322 0 : if (!SWIG_IsOK(res2)) {
16323 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setExpression" "', argument " "2"" of type '" "char *""'");
16324 : }
16325 0 : arg2 = (char *)(buf2);
16326 0 : result = (int)classObj_setExpression(arg1,arg2);
16327 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16328 :
16329 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16330 0 : XSRETURN(argvi);
16331 0 : fail:
16332 :
16333 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16334 0 : SWIG_croak_null();
16335 : }
16336 : }
16337 :
16338 :
16339 0 : XS(_wrap_classObj_getExpressionString) {
16340 : {
16341 : struct classObj *arg1 = (struct classObj *) 0 ;
16342 0 : void *argp1 = 0 ;
16343 : int res1 = 0 ;
16344 : int argvi = 0;
16345 : char *result = 0 ;
16346 0 : dXSARGS;
16347 :
16348 0 : if ((items < 1) || (items > 1)) {
16349 0 : SWIG_croak("Usage: classObj_getExpressionString(self);");
16350 : }
16351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16352 0 : if (!SWIG_IsOK(res1)) {
16353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getExpressionString" "', argument " "1"" of type '" "struct classObj *""'");
16354 : }
16355 0 : arg1 = (struct classObj *)(argp1);
16356 : result = (char *)classObj_getExpressionString(arg1);
16357 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16358 :
16359 0 : free((char*)result);
16360 0 : XSRETURN(argvi);
16361 0 : fail:
16362 :
16363 0 : SWIG_croak_null();
16364 : }
16365 : }
16366 :
16367 :
16368 0 : XS(_wrap_classObj_setText) {
16369 : {
16370 : struct classObj *arg1 = (struct classObj *) 0 ;
16371 : char *arg2 = (char *) 0 ;
16372 0 : void *argp1 = 0 ;
16373 : int res1 = 0 ;
16374 : int res2 ;
16375 0 : char *buf2 = 0 ;
16376 0 : int alloc2 = 0 ;
16377 : int argvi = 0;
16378 : int result;
16379 0 : dXSARGS;
16380 :
16381 0 : if ((items < 2) || (items > 2)) {
16382 0 : SWIG_croak("Usage: classObj_setText(self,text);");
16383 : }
16384 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16385 0 : if (!SWIG_IsOK(res1)) {
16386 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setText" "', argument " "1"" of type '" "struct classObj *""'");
16387 : }
16388 0 : arg1 = (struct classObj *)(argp1);
16389 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16390 0 : if (!SWIG_IsOK(res2)) {
16391 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setText" "', argument " "2"" of type '" "char *""'");
16392 : }
16393 0 : arg2 = (char *)(buf2);
16394 0 : result = (int)classObj_setText(arg1,arg2);
16395 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16396 :
16397 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16398 0 : XSRETURN(argvi);
16399 0 : fail:
16400 :
16401 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16402 0 : SWIG_croak_null();
16403 : }
16404 : }
16405 :
16406 :
16407 0 : XS(_wrap_classObj_getTextString) {
16408 : {
16409 : struct classObj *arg1 = (struct classObj *) 0 ;
16410 0 : void *argp1 = 0 ;
16411 : int res1 = 0 ;
16412 : int argvi = 0;
16413 : char *result = 0 ;
16414 0 : dXSARGS;
16415 :
16416 0 : if ((items < 1) || (items > 1)) {
16417 0 : SWIG_croak("Usage: classObj_getTextString(self);");
16418 : }
16419 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16420 0 : if (!SWIG_IsOK(res1)) {
16421 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getTextString" "', argument " "1"" of type '" "struct classObj *""'");
16422 : }
16423 0 : arg1 = (struct classObj *)(argp1);
16424 : result = (char *)classObj_getTextString(arg1);
16425 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16426 :
16427 0 : free((char*)result);
16428 0 : XSRETURN(argvi);
16429 0 : fail:
16430 :
16431 0 : SWIG_croak_null();
16432 : }
16433 : }
16434 :
16435 :
16436 0 : XS(_wrap_classObj_getMetaData) {
16437 : {
16438 : struct classObj *arg1 = (struct classObj *) 0 ;
16439 : char *arg2 = (char *) 0 ;
16440 0 : void *argp1 = 0 ;
16441 : int res1 = 0 ;
16442 : int res2 ;
16443 0 : char *buf2 = 0 ;
16444 0 : int alloc2 = 0 ;
16445 : int argvi = 0;
16446 : char *result = 0 ;
16447 0 : dXSARGS;
16448 :
16449 0 : if ((items < 2) || (items > 2)) {
16450 0 : SWIG_croak("Usage: classObj_getMetaData(self,name);");
16451 : }
16452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16453 0 : if (!SWIG_IsOK(res1)) {
16454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16455 : }
16456 0 : arg1 = (struct classObj *)(argp1);
16457 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16458 0 : if (!SWIG_IsOK(res2)) {
16459 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getMetaData" "', argument " "2"" of type '" "char *""'");
16460 : }
16461 0 : arg2 = (char *)(buf2);
16462 0 : result = (char *)classObj_getMetaData(arg1,arg2);
16463 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16464 :
16465 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16466 0 : XSRETURN(argvi);
16467 0 : fail:
16468 :
16469 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16470 0 : SWIG_croak_null();
16471 : }
16472 : }
16473 :
16474 :
16475 0 : XS(_wrap_classObj_setMetaData) {
16476 : {
16477 : struct classObj *arg1 = (struct classObj *) 0 ;
16478 : char *arg2 = (char *) 0 ;
16479 : char *arg3 = (char *) 0 ;
16480 0 : void *argp1 = 0 ;
16481 : int res1 = 0 ;
16482 : int res2 ;
16483 0 : char *buf2 = 0 ;
16484 0 : int alloc2 = 0 ;
16485 : int res3 ;
16486 0 : char *buf3 = 0 ;
16487 0 : int alloc3 = 0 ;
16488 : int argvi = 0;
16489 : int result;
16490 0 : dXSARGS;
16491 :
16492 0 : if ((items < 3) || (items > 3)) {
16493 0 : SWIG_croak("Usage: classObj_setMetaData(self,name,value);");
16494 : }
16495 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16496 0 : if (!SWIG_IsOK(res1)) {
16497 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16498 : }
16499 0 : arg1 = (struct classObj *)(argp1);
16500 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16501 0 : if (!SWIG_IsOK(res2)) {
16502 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setMetaData" "', argument " "2"" of type '" "char *""'");
16503 : }
16504 0 : arg2 = (char *)(buf2);
16505 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
16506 0 : if (!SWIG_IsOK(res3)) {
16507 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_setMetaData" "', argument " "3"" of type '" "char *""'");
16508 : }
16509 0 : arg3 = (char *)(buf3);
16510 : result = (int)classObj_setMetaData(arg1,arg2,arg3);
16511 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16512 :
16513 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16514 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16515 0 : XSRETURN(argvi);
16516 0 : fail:
16517 :
16518 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16519 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16520 0 : SWIG_croak_null();
16521 : }
16522 : }
16523 :
16524 :
16525 0 : XS(_wrap_classObj_getFirstMetaDataKey) {
16526 : {
16527 : struct classObj *arg1 = (struct classObj *) 0 ;
16528 0 : void *argp1 = 0 ;
16529 : int res1 = 0 ;
16530 : int argvi = 0;
16531 : char *result = 0 ;
16532 0 : dXSARGS;
16533 :
16534 0 : if ((items < 1) || (items > 1)) {
16535 0 : SWIG_croak("Usage: classObj_getFirstMetaDataKey(self);");
16536 : }
16537 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16538 0 : if (!SWIG_IsOK(res1)) {
16539 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16540 : }
16541 0 : arg1 = (struct classObj *)(argp1);
16542 : result = (char *)classObj_getFirstMetaDataKey(arg1);
16543 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16544 :
16545 0 : XSRETURN(argvi);
16546 0 : fail:
16547 :
16548 0 : SWIG_croak_null();
16549 : }
16550 : }
16551 :
16552 :
16553 0 : XS(_wrap_classObj_getNextMetaDataKey) {
16554 : {
16555 : struct classObj *arg1 = (struct classObj *) 0 ;
16556 : char *arg2 = (char *) 0 ;
16557 0 : void *argp1 = 0 ;
16558 : int res1 = 0 ;
16559 : int res2 ;
16560 0 : char *buf2 = 0 ;
16561 0 : int alloc2 = 0 ;
16562 : int argvi = 0;
16563 : char *result = 0 ;
16564 0 : dXSARGS;
16565 :
16566 0 : if ((items < 2) || (items > 2)) {
16567 0 : SWIG_croak("Usage: classObj_getNextMetaDataKey(self,lastkey);");
16568 : }
16569 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16570 0 : if (!SWIG_IsOK(res1)) {
16571 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16572 : }
16573 0 : arg1 = (struct classObj *)(argp1);
16574 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16575 0 : if (!SWIG_IsOK(res2)) {
16576 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
16577 : }
16578 0 : arg2 = (char *)(buf2);
16579 : result = (char *)classObj_getNextMetaDataKey(arg1,arg2);
16580 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16581 :
16582 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16583 0 : XSRETURN(argvi);
16584 0 : fail:
16585 :
16586 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16587 0 : SWIG_croak_null();
16588 : }
16589 : }
16590 :
16591 :
16592 0 : XS(_wrap_classObj_drawLegendIcon) {
16593 : {
16594 : struct classObj *arg1 = (struct classObj *) 0 ;
16595 : mapObj *arg2 = (mapObj *) 0 ;
16596 : layerObj *arg3 = (layerObj *) 0 ;
16597 : int arg4 ;
16598 : int arg5 ;
16599 : imageObj *arg6 = (imageObj *) 0 ;
16600 : int arg7 ;
16601 : int arg8 ;
16602 0 : void *argp1 = 0 ;
16603 : int res1 = 0 ;
16604 0 : void *argp2 = 0 ;
16605 : int res2 = 0 ;
16606 0 : void *argp3 = 0 ;
16607 : int res3 = 0 ;
16608 : int val4 ;
16609 : int ecode4 = 0 ;
16610 : int val5 ;
16611 : int ecode5 = 0 ;
16612 0 : void *argp6 = 0 ;
16613 : int res6 = 0 ;
16614 : int val7 ;
16615 : int ecode7 = 0 ;
16616 : int val8 ;
16617 : int ecode8 = 0 ;
16618 : int argvi = 0;
16619 : int result;
16620 0 : dXSARGS;
16621 :
16622 0 : if ((items < 8) || (items > 8)) {
16623 0 : SWIG_croak("Usage: classObj_drawLegendIcon(self,map,layer,width,height,dstImage,dstX,dstY);");
16624 : }
16625 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16626 0 : if (!SWIG_IsOK(res1)) {
16627 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_drawLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16628 : }
16629 0 : arg1 = (struct classObj *)(argp1);
16630 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16631 0 : if (!SWIG_IsOK(res2)) {
16632 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_drawLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16633 : }
16634 0 : arg2 = (mapObj *)(argp2);
16635 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16636 0 : if (!SWIG_IsOK(res3)) {
16637 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_drawLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16638 : }
16639 0 : arg3 = (layerObj *)(argp3);
16640 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16641 0 : if (!SWIG_IsOK(ecode4)) {
16642 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_drawLegendIcon" "', argument " "4"" of type '" "int""'");
16643 : }
16644 : arg4 = (int)(val4);
16645 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16646 0 : if (!SWIG_IsOK(ecode5)) {
16647 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_drawLegendIcon" "', argument " "5"" of type '" "int""'");
16648 : }
16649 : arg5 = (int)(val5);
16650 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_imageObj, 0 | 0 );
16651 0 : if (!SWIG_IsOK(res6)) {
16652 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "classObj_drawLegendIcon" "', argument " "6"" of type '" "imageObj *""'");
16653 : }
16654 0 : arg6 = (imageObj *)(argp6);
16655 0 : ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
16656 0 : if (!SWIG_IsOK(ecode7)) {
16657 0 : SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "classObj_drawLegendIcon" "', argument " "7"" of type '" "int""'");
16658 : }
16659 : arg7 = (int)(val7);
16660 0 : ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
16661 0 : if (!SWIG_IsOK(ecode8)) {
16662 0 : SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "classObj_drawLegendIcon" "', argument " "8"" of type '" "int""'");
16663 : }
16664 : arg8 = (int)(val8);
16665 0 : result = (int)classObj_drawLegendIcon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
16666 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16667 :
16668 :
16669 :
16670 :
16671 :
16672 :
16673 :
16674 :
16675 0 : XSRETURN(argvi);
16676 0 : fail:
16677 :
16678 :
16679 :
16680 :
16681 :
16682 :
16683 :
16684 :
16685 0 : SWIG_croak_null();
16686 : }
16687 : }
16688 :
16689 :
16690 0 : XS(_wrap_classObj_createLegendIcon) {
16691 : {
16692 : struct classObj *arg1 = (struct classObj *) 0 ;
16693 : mapObj *arg2 = (mapObj *) 0 ;
16694 : layerObj *arg3 = (layerObj *) 0 ;
16695 : int arg4 ;
16696 : int arg5 ;
16697 0 : void *argp1 = 0 ;
16698 : int res1 = 0 ;
16699 0 : void *argp2 = 0 ;
16700 : int res2 = 0 ;
16701 0 : void *argp3 = 0 ;
16702 : int res3 = 0 ;
16703 : int val4 ;
16704 : int ecode4 = 0 ;
16705 : int val5 ;
16706 : int ecode5 = 0 ;
16707 : int argvi = 0;
16708 : imageObj *result = 0 ;
16709 0 : dXSARGS;
16710 :
16711 0 : if ((items < 5) || (items > 5)) {
16712 0 : SWIG_croak("Usage: classObj_createLegendIcon(self,map,layer,width,height);");
16713 : }
16714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16715 0 : if (!SWIG_IsOK(res1)) {
16716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_createLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16717 : }
16718 0 : arg1 = (struct classObj *)(argp1);
16719 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16720 0 : if (!SWIG_IsOK(res2)) {
16721 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_createLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16722 : }
16723 0 : arg2 = (mapObj *)(argp2);
16724 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16725 0 : if (!SWIG_IsOK(res3)) {
16726 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_createLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16727 : }
16728 0 : arg3 = (layerObj *)(argp3);
16729 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16730 0 : if (!SWIG_IsOK(ecode4)) {
16731 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_createLegendIcon" "', argument " "4"" of type '" "int""'");
16732 : }
16733 : arg4 = (int)(val4);
16734 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16735 0 : if (!SWIG_IsOK(ecode5)) {
16736 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_createLegendIcon" "', argument " "5"" of type '" "int""'");
16737 : }
16738 : arg5 = (int)(val5);
16739 : result = (imageObj *)classObj_createLegendIcon(arg1,arg2,arg3,arg4,arg5);
16740 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16741 :
16742 :
16743 :
16744 :
16745 :
16746 0 : XSRETURN(argvi);
16747 0 : fail:
16748 :
16749 :
16750 :
16751 :
16752 :
16753 0 : SWIG_croak_null();
16754 : }
16755 : }
16756 :
16757 :
16758 0 : XS(_wrap_classObj_getLabel) {
16759 : {
16760 : struct classObj *arg1 = (struct classObj *) 0 ;
16761 : int arg2 ;
16762 0 : void *argp1 = 0 ;
16763 : int res1 = 0 ;
16764 : int val2 ;
16765 : int ecode2 = 0 ;
16766 : int argvi = 0;
16767 : labelObj *result = 0 ;
16768 0 : dXSARGS;
16769 :
16770 0 : if ((items < 2) || (items > 2)) {
16771 0 : SWIG_croak("Usage: classObj_getLabel(self,i);");
16772 : }
16773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16774 0 : if (!SWIG_IsOK(res1)) {
16775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getLabel" "', argument " "1"" of type '" "struct classObj *""'");
16776 : }
16777 0 : arg1 = (struct classObj *)(argp1);
16778 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16779 0 : if (!SWIG_IsOK(ecode2)) {
16780 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getLabel" "', argument " "2"" of type '" "int""'");
16781 : }
16782 : arg2 = (int)(val2);
16783 0 : result = (labelObj *)classObj_getLabel(arg1,arg2);
16784 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16785 :
16786 :
16787 0 : XSRETURN(argvi);
16788 0 : fail:
16789 :
16790 :
16791 0 : SWIG_croak_null();
16792 : }
16793 : }
16794 :
16795 :
16796 0 : XS(_wrap_classObj_addLabel) {
16797 : {
16798 : struct classObj *arg1 = (struct classObj *) 0 ;
16799 : labelObj *arg2 = (labelObj *) 0 ;
16800 0 : void *argp1 = 0 ;
16801 : int res1 = 0 ;
16802 0 : void *argp2 = 0 ;
16803 : int res2 = 0 ;
16804 : int argvi = 0;
16805 : int result;
16806 0 : dXSARGS;
16807 :
16808 0 : if ((items < 2) || (items > 2)) {
16809 0 : SWIG_croak("Usage: classObj_addLabel(self,label);");
16810 : }
16811 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16812 0 : if (!SWIG_IsOK(res1)) {
16813 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_addLabel" "', argument " "1"" of type '" "struct classObj *""'");
16814 : }
16815 0 : arg1 = (struct classObj *)(argp1);
16816 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
16817 0 : if (!SWIG_IsOK(res2)) {
16818 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_addLabel" "', argument " "2"" of type '" "labelObj *""'");
16819 : }
16820 0 : arg2 = (labelObj *)(argp2);
16821 : result = (int)classObj_addLabel(arg1,arg2);
16822 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16823 :
16824 :
16825 0 : XSRETURN(argvi);
16826 0 : fail:
16827 :
16828 :
16829 0 : SWIG_croak_null();
16830 : }
16831 : }
16832 :
16833 :
16834 0 : XS(_wrap_classObj_removeLabel) {
16835 : {
16836 : struct classObj *arg1 = (struct classObj *) 0 ;
16837 : int arg2 ;
16838 0 : void *argp1 = 0 ;
16839 : int res1 = 0 ;
16840 : int val2 ;
16841 : int ecode2 = 0 ;
16842 : int argvi = 0;
16843 : labelObj *result = 0 ;
16844 0 : dXSARGS;
16845 :
16846 0 : if ((items < 2) || (items > 2)) {
16847 0 : SWIG_croak("Usage: classObj_removeLabel(self,index);");
16848 : }
16849 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16850 0 : if (!SWIG_IsOK(res1)) {
16851 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeLabel" "', argument " "1"" of type '" "struct classObj *""'");
16852 : }
16853 0 : arg1 = (struct classObj *)(argp1);
16854 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16855 0 : if (!SWIG_IsOK(ecode2)) {
16856 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeLabel" "', argument " "2"" of type '" "int""'");
16857 : }
16858 : arg2 = (int)(val2);
16859 0 : result = (labelObj *)classObj_removeLabel(arg1,arg2);
16860 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16861 :
16862 :
16863 0 : XSRETURN(argvi);
16864 0 : fail:
16865 :
16866 :
16867 0 : SWIG_croak_null();
16868 : }
16869 : }
16870 :
16871 :
16872 0 : XS(_wrap_classObj_getStyle) {
16873 : {
16874 : struct classObj *arg1 = (struct classObj *) 0 ;
16875 : int arg2 ;
16876 0 : void *argp1 = 0 ;
16877 : int res1 = 0 ;
16878 : int val2 ;
16879 : int ecode2 = 0 ;
16880 : int argvi = 0;
16881 : styleObj *result = 0 ;
16882 0 : dXSARGS;
16883 :
16884 0 : if ((items < 2) || (items > 2)) {
16885 0 : SWIG_croak("Usage: classObj_getStyle(self,i);");
16886 : }
16887 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16888 0 : if (!SWIG_IsOK(res1)) {
16889 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getStyle" "', argument " "1"" of type '" "struct classObj *""'");
16890 : }
16891 0 : arg1 = (struct classObj *)(argp1);
16892 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16893 0 : if (!SWIG_IsOK(ecode2)) {
16894 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getStyle" "', argument " "2"" of type '" "int""'");
16895 : }
16896 : arg2 = (int)(val2);
16897 0 : result = (styleObj *)classObj_getStyle(arg1,arg2);
16898 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16899 :
16900 :
16901 0 : XSRETURN(argvi);
16902 0 : fail:
16903 :
16904 :
16905 0 : SWIG_croak_null();
16906 : }
16907 : }
16908 :
16909 :
16910 0 : XS(_wrap_classObj_insertStyle) {
16911 : {
16912 : struct classObj *arg1 = (struct classObj *) 0 ;
16913 : styleObj *arg2 = (styleObj *) 0 ;
16914 : int arg3 = (int) -1 ;
16915 0 : void *argp1 = 0 ;
16916 : int res1 = 0 ;
16917 0 : void *argp2 = 0 ;
16918 : int res2 = 0 ;
16919 : int val3 ;
16920 : int ecode3 = 0 ;
16921 : int argvi = 0;
16922 : int result;
16923 0 : dXSARGS;
16924 :
16925 0 : if ((items < 2) || (items > 3)) {
16926 0 : SWIG_croak("Usage: classObj_insertStyle(self,style,index);");
16927 : }
16928 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16929 0 : if (!SWIG_IsOK(res1)) {
16930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_insertStyle" "', argument " "1"" of type '" "struct classObj *""'");
16931 : }
16932 0 : arg1 = (struct classObj *)(argp1);
16933 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
16934 0 : if (!SWIG_IsOK(res2)) {
16935 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
16936 : }
16937 0 : arg2 = (styleObj *)(argp2);
16938 0 : if (items > 2) {
16939 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16940 0 : if (!SWIG_IsOK(ecode3)) {
16941 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "classObj_insertStyle" "', argument " "3"" of type '" "int""'");
16942 : }
16943 : arg3 = (int)(val3);
16944 : }
16945 : result = (int)classObj_insertStyle(arg1,arg2,arg3);
16946 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16947 :
16948 :
16949 :
16950 0 : XSRETURN(argvi);
16951 0 : fail:
16952 :
16953 :
16954 :
16955 0 : SWIG_croak_null();
16956 : }
16957 : }
16958 :
16959 :
16960 0 : XS(_wrap_classObj_removeStyle) {
16961 : {
16962 : struct classObj *arg1 = (struct classObj *) 0 ;
16963 : int arg2 ;
16964 0 : void *argp1 = 0 ;
16965 : int res1 = 0 ;
16966 : int val2 ;
16967 : int ecode2 = 0 ;
16968 : int argvi = 0;
16969 : styleObj *result = 0 ;
16970 0 : dXSARGS;
16971 :
16972 0 : if ((items < 2) || (items > 2)) {
16973 0 : SWIG_croak("Usage: classObj_removeStyle(self,index);");
16974 : }
16975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16976 0 : if (!SWIG_IsOK(res1)) {
16977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeStyle" "', argument " "1"" of type '" "struct classObj *""'");
16978 : }
16979 0 : arg1 = (struct classObj *)(argp1);
16980 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16981 0 : if (!SWIG_IsOK(ecode2)) {
16982 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeStyle" "', argument " "2"" of type '" "int""'");
16983 : }
16984 : arg2 = (int)(val2);
16985 0 : result = (styleObj *)classObj_removeStyle(arg1,arg2);
16986 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16987 :
16988 :
16989 0 : XSRETURN(argvi);
16990 0 : fail:
16991 :
16992 :
16993 0 : SWIG_croak_null();
16994 : }
16995 : }
16996 :
16997 :
16998 0 : XS(_wrap_classObj_moveStyleUp) {
16999 : {
17000 : struct classObj *arg1 = (struct classObj *) 0 ;
17001 : int arg2 ;
17002 0 : void *argp1 = 0 ;
17003 : int res1 = 0 ;
17004 : int val2 ;
17005 : int ecode2 = 0 ;
17006 : int argvi = 0;
17007 : int result;
17008 0 : dXSARGS;
17009 :
17010 0 : if ((items < 2) || (items > 2)) {
17011 0 : SWIG_croak("Usage: classObj_moveStyleUp(self,index);");
17012 : }
17013 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
17014 0 : if (!SWIG_IsOK(res1)) {
17015 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleUp" "', argument " "1"" of type '" "struct classObj *""'");
17016 : }
17017 0 : arg1 = (struct classObj *)(argp1);
17018 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17019 0 : if (!SWIG_IsOK(ecode2)) {
17020 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
17021 : }
17022 : arg2 = (int)(val2);
17023 : result = (int)classObj_moveStyleUp(arg1,arg2);
17024 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17025 :
17026 :
17027 0 : XSRETURN(argvi);
17028 0 : fail:
17029 :
17030 :
17031 0 : SWIG_croak_null();
17032 : }
17033 : }
17034 :
17035 :
17036 0 : XS(_wrap_classObj_moveStyleDown) {
17037 : {
17038 : struct classObj *arg1 = (struct classObj *) 0 ;
17039 : int arg2 ;
17040 0 : void *argp1 = 0 ;
17041 : int res1 = 0 ;
17042 : int val2 ;
17043 : int ecode2 = 0 ;
17044 : int argvi = 0;
17045 : int result;
17046 0 : dXSARGS;
17047 :
17048 0 : if ((items < 2) || (items > 2)) {
17049 0 : SWIG_croak("Usage: classObj_moveStyleDown(self,index);");
17050 : }
17051 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
17052 0 : if (!SWIG_IsOK(res1)) {
17053 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleDown" "', argument " "1"" of type '" "struct classObj *""'");
17054 : }
17055 0 : arg1 = (struct classObj *)(argp1);
17056 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17057 0 : if (!SWIG_IsOK(ecode2)) {
17058 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
17059 : }
17060 : arg2 = (int)(val2);
17061 : result = (int)classObj_moveStyleDown(arg1,arg2);
17062 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17063 :
17064 :
17065 0 : XSRETURN(argvi);
17066 0 : fail:
17067 :
17068 :
17069 0 : SWIG_croak_null();
17070 : }
17071 : }
17072 :
17073 :
17074 0 : XS(_wrap_labelCacheMemberObj_textsymbols_get) {
17075 : {
17076 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17077 0 : void *argp1 = 0 ;
17078 : int res1 = 0 ;
17079 : int argvi = 0;
17080 : textSymbolObj **result = 0 ;
17081 0 : dXSARGS;
17082 :
17083 0 : if ((items < 1) || (items > 1)) {
17084 0 : SWIG_croak("Usage: labelCacheMemberObj_textsymbols_get(self);");
17085 : }
17086 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17087 0 : if (!SWIG_IsOK(res1)) {
17088 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_textsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17089 : }
17090 0 : arg1 = (labelCacheMemberObj *)(argp1);
17091 0 : result = (textSymbolObj **) ((arg1)->textsymbols);
17092 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_textSymbolObj, 0 | 0); argvi++ ;
17093 :
17094 0 : XSRETURN(argvi);
17095 0 : fail:
17096 :
17097 0 : SWIG_croak_null();
17098 : }
17099 : }
17100 :
17101 :
17102 0 : XS(_wrap_labelCacheMemberObj_numtextsymbols_get) {
17103 : {
17104 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17105 0 : void *argp1 = 0 ;
17106 : int res1 = 0 ;
17107 : int argvi = 0;
17108 : int result;
17109 0 : dXSARGS;
17110 :
17111 0 : if ((items < 1) || (items > 1)) {
17112 0 : SWIG_croak("Usage: labelCacheMemberObj_numtextsymbols_get(self);");
17113 : }
17114 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17115 0 : if (!SWIG_IsOK(res1)) {
17116 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_numtextsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17117 : }
17118 0 : arg1 = (labelCacheMemberObj *)(argp1);
17119 0 : result = (int) ((arg1)->numtextsymbols);
17120 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17121 :
17122 0 : XSRETURN(argvi);
17123 0 : fail:
17124 :
17125 0 : SWIG_croak_null();
17126 : }
17127 : }
17128 :
17129 :
17130 0 : XS(_wrap_labelCacheMemberObj_layerindex_get) {
17131 : {
17132 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17133 0 : void *argp1 = 0 ;
17134 : int res1 = 0 ;
17135 : int argvi = 0;
17136 : int result;
17137 0 : dXSARGS;
17138 :
17139 0 : if ((items < 1) || (items > 1)) {
17140 0 : SWIG_croak("Usage: labelCacheMemberObj_layerindex_get(self);");
17141 : }
17142 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17143 0 : if (!SWIG_IsOK(res1)) {
17144 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_layerindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17145 : }
17146 0 : arg1 = (labelCacheMemberObj *)(argp1);
17147 0 : result = (int) ((arg1)->layerindex);
17148 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17149 :
17150 0 : XSRETURN(argvi);
17151 0 : fail:
17152 :
17153 0 : SWIG_croak_null();
17154 : }
17155 : }
17156 :
17157 :
17158 0 : XS(_wrap_labelCacheMemberObj_classindex_get) {
17159 : {
17160 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17161 0 : void *argp1 = 0 ;
17162 : int res1 = 0 ;
17163 : int argvi = 0;
17164 : int result;
17165 0 : dXSARGS;
17166 :
17167 0 : if ((items < 1) || (items > 1)) {
17168 0 : SWIG_croak("Usage: labelCacheMemberObj_classindex_get(self);");
17169 : }
17170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17171 0 : if (!SWIG_IsOK(res1)) {
17172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_classindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17173 : }
17174 0 : arg1 = (labelCacheMemberObj *)(argp1);
17175 0 : result = (int) ((arg1)->classindex);
17176 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17177 :
17178 0 : XSRETURN(argvi);
17179 0 : fail:
17180 :
17181 0 : SWIG_croak_null();
17182 : }
17183 : }
17184 :
17185 :
17186 0 : XS(_wrap_labelCacheMemberObj_point_get) {
17187 : {
17188 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17189 0 : void *argp1 = 0 ;
17190 : int res1 = 0 ;
17191 : int argvi = 0;
17192 : pointObj *result = 0 ;
17193 0 : dXSARGS;
17194 :
17195 0 : if ((items < 1) || (items > 1)) {
17196 0 : SWIG_croak("Usage: labelCacheMemberObj_point_get(self);");
17197 : }
17198 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17199 0 : if (!SWIG_IsOK(res1)) {
17200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_point_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17201 : }
17202 0 : arg1 = (labelCacheMemberObj *)(argp1);
17203 0 : result = (pointObj *)& ((arg1)->point);
17204 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
17205 :
17206 0 : XSRETURN(argvi);
17207 0 : fail:
17208 :
17209 0 : SWIG_croak_null();
17210 : }
17211 : }
17212 :
17213 :
17214 0 : XS(_wrap_labelCacheMemberObj_bbox_get) {
17215 : {
17216 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17217 0 : void *argp1 = 0 ;
17218 : int res1 = 0 ;
17219 : int argvi = 0;
17220 : rectObj *result = 0 ;
17221 0 : dXSARGS;
17222 :
17223 0 : if ((items < 1) || (items > 1)) {
17224 0 : SWIG_croak("Usage: labelCacheMemberObj_bbox_get(self);");
17225 : }
17226 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17227 0 : if (!SWIG_IsOK(res1)) {
17228 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_bbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17229 : }
17230 0 : arg1 = (labelCacheMemberObj *)(argp1);
17231 0 : result = (rectObj *)& ((arg1)->bbox);
17232 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17233 :
17234 0 : XSRETURN(argvi);
17235 0 : fail:
17236 :
17237 0 : SWIG_croak_null();
17238 : }
17239 : }
17240 :
17241 :
17242 0 : XS(_wrap_labelCacheMemberObj_status_get) {
17243 : {
17244 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17245 0 : void *argp1 = 0 ;
17246 : int res1 = 0 ;
17247 : int argvi = 0;
17248 : int result;
17249 0 : dXSARGS;
17250 :
17251 0 : if ((items < 1) || (items > 1)) {
17252 0 : SWIG_croak("Usage: labelCacheMemberObj_status_get(self);");
17253 : }
17254 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17255 0 : if (!SWIG_IsOK(res1)) {
17256 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_status_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17257 : }
17258 0 : arg1 = (labelCacheMemberObj *)(argp1);
17259 0 : result = (int) ((arg1)->status);
17260 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17261 :
17262 0 : XSRETURN(argvi);
17263 0 : fail:
17264 :
17265 0 : SWIG_croak_null();
17266 : }
17267 : }
17268 :
17269 :
17270 0 : XS(_wrap_labelCacheMemberObj_markerid_get) {
17271 : {
17272 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17273 0 : void *argp1 = 0 ;
17274 : int res1 = 0 ;
17275 : int argvi = 0;
17276 : int result;
17277 0 : dXSARGS;
17278 :
17279 0 : if ((items < 1) || (items > 1)) {
17280 0 : SWIG_croak("Usage: labelCacheMemberObj_markerid_get(self);");
17281 : }
17282 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17283 0 : if (!SWIG_IsOK(res1)) {
17284 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_markerid_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17285 : }
17286 0 : arg1 = (labelCacheMemberObj *)(argp1);
17287 0 : result = (int) ((arg1)->markerid);
17288 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17289 :
17290 0 : XSRETURN(argvi);
17291 0 : fail:
17292 :
17293 0 : SWIG_croak_null();
17294 : }
17295 : }
17296 :
17297 :
17298 0 : XS(_wrap_labelCacheMemberObj_leaderline_get) {
17299 : {
17300 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17301 0 : void *argp1 = 0 ;
17302 : int res1 = 0 ;
17303 : int argvi = 0;
17304 : lineObj *result = 0 ;
17305 0 : dXSARGS;
17306 :
17307 0 : if ((items < 1) || (items > 1)) {
17308 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderline_get(self);");
17309 : }
17310 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17311 0 : if (!SWIG_IsOK(res1)) {
17312 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderline_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17313 : }
17314 0 : arg1 = (labelCacheMemberObj *)(argp1);
17315 0 : result = (lineObj *) ((arg1)->leaderline);
17316 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
17317 :
17318 0 : XSRETURN(argvi);
17319 0 : fail:
17320 :
17321 0 : SWIG_croak_null();
17322 : }
17323 : }
17324 :
17325 :
17326 0 : XS(_wrap_labelCacheMemberObj_leaderbbox_get) {
17327 : {
17328 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17329 0 : void *argp1 = 0 ;
17330 : int res1 = 0 ;
17331 : int argvi = 0;
17332 : rectObj *result = 0 ;
17333 0 : dXSARGS;
17334 :
17335 0 : if ((items < 1) || (items > 1)) {
17336 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderbbox_get(self);");
17337 : }
17338 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17339 0 : if (!SWIG_IsOK(res1)) {
17340 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderbbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17341 : }
17342 0 : arg1 = (labelCacheMemberObj *)(argp1);
17343 0 : result = (rectObj *) ((arg1)->leaderbbox);
17344 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17345 :
17346 0 : XSRETURN(argvi);
17347 0 : fail:
17348 :
17349 0 : SWIG_croak_null();
17350 : }
17351 : }
17352 :
17353 :
17354 0 : XS(_wrap_new_labelCacheMemberObj) {
17355 : {
17356 : int argvi = 0;
17357 : labelCacheMemberObj *result = 0 ;
17358 0 : dXSARGS;
17359 :
17360 0 : if ((items < 0) || (items > 0)) {
17361 0 : SWIG_croak("Usage: new_labelCacheMemberObj();");
17362 : }
17363 0 : result = (labelCacheMemberObj *)calloc(1, sizeof(labelCacheMemberObj));
17364 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17365 0 : XSRETURN(argvi);
17366 : fail:
17367 0 : SWIG_croak_null();
17368 : }
17369 : }
17370 :
17371 :
17372 0 : XS(_wrap_delete_labelCacheMemberObj) {
17373 : {
17374 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17375 0 : void *argp1 = 0 ;
17376 : int res1 = 0 ;
17377 : int argvi = 0;
17378 0 : dXSARGS;
17379 :
17380 0 : if ((items < 1) || (items > 1)) {
17381 0 : SWIG_croak("Usage: delete_labelCacheMemberObj(self);");
17382 : }
17383 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17384 0 : if (!SWIG_IsOK(res1)) {
17385 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheMemberObj" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17386 : }
17387 0 : arg1 = (labelCacheMemberObj *)(argp1);
17388 0 : free((char *) arg1);
17389 0 : ST(argvi) = sv_newmortal();
17390 :
17391 0 : XSRETURN(argvi);
17392 0 : fail:
17393 :
17394 0 : SWIG_croak_null();
17395 : }
17396 : }
17397 :
17398 :
17399 0 : XS(_wrap_markerCacheMemberObj_id_get) {
17400 : {
17401 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17402 0 : void *argp1 = 0 ;
17403 : int res1 = 0 ;
17404 : int argvi = 0;
17405 : int result;
17406 0 : dXSARGS;
17407 :
17408 0 : if ((items < 1) || (items > 1)) {
17409 0 : SWIG_croak("Usage: markerCacheMemberObj_id_get(self);");
17410 : }
17411 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17412 0 : if (!SWIG_IsOK(res1)) {
17413 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_id_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17414 : }
17415 0 : arg1 = (markerCacheMemberObj *)(argp1);
17416 0 : result = (int) ((arg1)->id);
17417 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17418 :
17419 0 : XSRETURN(argvi);
17420 0 : fail:
17421 :
17422 0 : SWIG_croak_null();
17423 : }
17424 : }
17425 :
17426 :
17427 0 : XS(_wrap_markerCacheMemberObj_bounds_get) {
17428 : {
17429 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17430 0 : void *argp1 = 0 ;
17431 : int res1 = 0 ;
17432 : int argvi = 0;
17433 : rectObj *result = 0 ;
17434 0 : dXSARGS;
17435 :
17436 0 : if ((items < 1) || (items > 1)) {
17437 0 : SWIG_croak("Usage: markerCacheMemberObj_bounds_get(self);");
17438 : }
17439 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17440 0 : if (!SWIG_IsOK(res1)) {
17441 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_bounds_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17442 : }
17443 0 : arg1 = (markerCacheMemberObj *)(argp1);
17444 0 : result = (rectObj *)& ((arg1)->bounds);
17445 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17446 :
17447 0 : XSRETURN(argvi);
17448 0 : fail:
17449 :
17450 0 : SWIG_croak_null();
17451 : }
17452 : }
17453 :
17454 :
17455 0 : XS(_wrap_new_markerCacheMemberObj) {
17456 : {
17457 : int argvi = 0;
17458 : markerCacheMemberObj *result = 0 ;
17459 0 : dXSARGS;
17460 :
17461 0 : if ((items < 0) || (items > 0)) {
17462 0 : SWIG_croak("Usage: new_markerCacheMemberObj();");
17463 : }
17464 0 : result = (markerCacheMemberObj *)calloc(1, sizeof(markerCacheMemberObj));
17465 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17466 0 : XSRETURN(argvi);
17467 : fail:
17468 0 : SWIG_croak_null();
17469 : }
17470 : }
17471 :
17472 :
17473 0 : XS(_wrap_delete_markerCacheMemberObj) {
17474 : {
17475 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17476 0 : void *argp1 = 0 ;
17477 : int res1 = 0 ;
17478 : int argvi = 0;
17479 0 : dXSARGS;
17480 :
17481 0 : if ((items < 1) || (items > 1)) {
17482 0 : SWIG_croak("Usage: delete_markerCacheMemberObj(self);");
17483 : }
17484 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17485 0 : if (!SWIG_IsOK(res1)) {
17486 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_markerCacheMemberObj" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17487 : }
17488 0 : arg1 = (markerCacheMemberObj *)(argp1);
17489 0 : free((char *) arg1);
17490 0 : ST(argvi) = sv_newmortal();
17491 :
17492 0 : XSRETURN(argvi);
17493 0 : fail:
17494 :
17495 0 : SWIG_croak_null();
17496 : }
17497 : }
17498 :
17499 :
17500 0 : XS(_wrap_labelCacheSlotObj_labels_get) {
17501 : {
17502 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17503 0 : void *argp1 = 0 ;
17504 : int res1 = 0 ;
17505 : int argvi = 0;
17506 : labelCacheMemberObj *result = 0 ;
17507 0 : dXSARGS;
17508 :
17509 0 : if ((items < 1) || (items > 1)) {
17510 0 : SWIG_croak("Usage: labelCacheSlotObj_labels_get(self);");
17511 : }
17512 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17513 0 : if (!SWIG_IsOK(res1)) {
17514 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_labels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17515 : }
17516 0 : arg1 = (labelCacheSlotObj *)(argp1);
17517 0 : result = (labelCacheMemberObj *) ((arg1)->labels);
17518 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17519 :
17520 0 : XSRETURN(argvi);
17521 0 : fail:
17522 :
17523 0 : SWIG_croak_null();
17524 : }
17525 : }
17526 :
17527 :
17528 0 : XS(_wrap_labelCacheSlotObj_numlabels_get) {
17529 : {
17530 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17531 0 : void *argp1 = 0 ;
17532 : int res1 = 0 ;
17533 : int argvi = 0;
17534 : int result;
17535 0 : dXSARGS;
17536 :
17537 0 : if ((items < 1) || (items > 1)) {
17538 0 : SWIG_croak("Usage: labelCacheSlotObj_numlabels_get(self);");
17539 : }
17540 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17541 0 : if (!SWIG_IsOK(res1)) {
17542 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_numlabels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17543 : }
17544 0 : arg1 = (labelCacheSlotObj *)(argp1);
17545 0 : result = (int) ((arg1)->numlabels);
17546 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17547 :
17548 0 : XSRETURN(argvi);
17549 0 : fail:
17550 :
17551 0 : SWIG_croak_null();
17552 : }
17553 : }
17554 :
17555 :
17556 0 : XS(_wrap_labelCacheSlotObj_cachesize_get) {
17557 : {
17558 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17559 0 : void *argp1 = 0 ;
17560 : int res1 = 0 ;
17561 : int argvi = 0;
17562 : int result;
17563 0 : dXSARGS;
17564 :
17565 0 : if ((items < 1) || (items > 1)) {
17566 0 : SWIG_croak("Usage: labelCacheSlotObj_cachesize_get(self);");
17567 : }
17568 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17569 0 : if (!SWIG_IsOK(res1)) {
17570 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_cachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17571 : }
17572 0 : arg1 = (labelCacheSlotObj *)(argp1);
17573 0 : result = (int) ((arg1)->cachesize);
17574 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17575 :
17576 0 : XSRETURN(argvi);
17577 0 : fail:
17578 :
17579 0 : SWIG_croak_null();
17580 : }
17581 : }
17582 :
17583 :
17584 0 : XS(_wrap_labelCacheSlotObj_markers_get) {
17585 : {
17586 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17587 0 : void *argp1 = 0 ;
17588 : int res1 = 0 ;
17589 : int argvi = 0;
17590 : markerCacheMemberObj *result = 0 ;
17591 0 : dXSARGS;
17592 :
17593 0 : if ((items < 1) || (items > 1)) {
17594 0 : SWIG_croak("Usage: labelCacheSlotObj_markers_get(self);");
17595 : }
17596 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17597 0 : if (!SWIG_IsOK(res1)) {
17598 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17599 : }
17600 0 : arg1 = (labelCacheSlotObj *)(argp1);
17601 0 : result = (markerCacheMemberObj *) ((arg1)->markers);
17602 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17603 :
17604 0 : XSRETURN(argvi);
17605 0 : fail:
17606 :
17607 0 : SWIG_croak_null();
17608 : }
17609 : }
17610 :
17611 :
17612 0 : XS(_wrap_labelCacheSlotObj_nummarkers_get) {
17613 : {
17614 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17615 0 : void *argp1 = 0 ;
17616 : int res1 = 0 ;
17617 : int argvi = 0;
17618 : int result;
17619 0 : dXSARGS;
17620 :
17621 0 : if ((items < 1) || (items > 1)) {
17622 0 : SWIG_croak("Usage: labelCacheSlotObj_nummarkers_get(self);");
17623 : }
17624 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17625 0 : if (!SWIG_IsOK(res1)) {
17626 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_nummarkers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17627 : }
17628 0 : arg1 = (labelCacheSlotObj *)(argp1);
17629 0 : result = (int) ((arg1)->nummarkers);
17630 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17631 :
17632 0 : XSRETURN(argvi);
17633 0 : fail:
17634 :
17635 0 : SWIG_croak_null();
17636 : }
17637 : }
17638 :
17639 :
17640 0 : XS(_wrap_labelCacheSlotObj_markercachesize_get) {
17641 : {
17642 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17643 0 : void *argp1 = 0 ;
17644 : int res1 = 0 ;
17645 : int argvi = 0;
17646 : int result;
17647 0 : dXSARGS;
17648 :
17649 0 : if ((items < 1) || (items > 1)) {
17650 0 : SWIG_croak("Usage: labelCacheSlotObj_markercachesize_get(self);");
17651 : }
17652 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17653 0 : if (!SWIG_IsOK(res1)) {
17654 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markercachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17655 : }
17656 0 : arg1 = (labelCacheSlotObj *)(argp1);
17657 0 : result = (int) ((arg1)->markercachesize);
17658 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17659 :
17660 0 : XSRETURN(argvi);
17661 0 : fail:
17662 :
17663 0 : SWIG_croak_null();
17664 : }
17665 : }
17666 :
17667 :
17668 0 : XS(_wrap_new_labelCacheSlotObj) {
17669 : {
17670 : int argvi = 0;
17671 : labelCacheSlotObj *result = 0 ;
17672 0 : dXSARGS;
17673 :
17674 0 : if ((items < 0) || (items > 0)) {
17675 0 : SWIG_croak("Usage: new_labelCacheSlotObj();");
17676 : }
17677 0 : result = (labelCacheSlotObj *)calloc(1, sizeof(labelCacheSlotObj));
17678 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17679 0 : XSRETURN(argvi);
17680 : fail:
17681 0 : SWIG_croak_null();
17682 : }
17683 : }
17684 :
17685 :
17686 0 : XS(_wrap_delete_labelCacheSlotObj) {
17687 : {
17688 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17689 0 : void *argp1 = 0 ;
17690 : int res1 = 0 ;
17691 : int argvi = 0;
17692 0 : dXSARGS;
17693 :
17694 0 : if ((items < 1) || (items > 1)) {
17695 0 : SWIG_croak("Usage: delete_labelCacheSlotObj(self);");
17696 : }
17697 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, SWIG_POINTER_DISOWN | 0 );
17698 0 : if (!SWIG_IsOK(res1)) {
17699 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheSlotObj" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17700 : }
17701 0 : arg1 = (labelCacheSlotObj *)(argp1);
17702 0 : free((char *) arg1);
17703 0 : ST(argvi) = sv_newmortal();
17704 :
17705 0 : XSRETURN(argvi);
17706 0 : fail:
17707 :
17708 0 : SWIG_croak_null();
17709 : }
17710 : }
17711 :
17712 :
17713 0 : XS(_wrap_labelCacheObj_slots_get) {
17714 : {
17715 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17716 0 : void *argp1 = 0 ;
17717 : int res1 = 0 ;
17718 : int argvi = 0;
17719 : labelCacheSlotObj *result = 0 ;
17720 0 : dXSARGS;
17721 :
17722 0 : if ((items < 1) || (items > 1)) {
17723 0 : SWIG_croak("Usage: labelCacheObj_slots_get(self);");
17724 : }
17725 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17726 0 : if (!SWIG_IsOK(res1)) {
17727 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_slots_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17728 : }
17729 0 : arg1 = (labelCacheObj *)(argp1);
17730 0 : result = (labelCacheSlotObj *)(labelCacheSlotObj *) ((arg1)->slots);
17731 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, 0 | SWIG_SHADOW); argvi++ ;
17732 :
17733 0 : XSRETURN(argvi);
17734 0 : fail:
17735 :
17736 0 : SWIG_croak_null();
17737 : }
17738 : }
17739 :
17740 :
17741 0 : XS(_wrap_labelCacheObj_gutter_get) {
17742 : {
17743 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17744 0 : void *argp1 = 0 ;
17745 : int res1 = 0 ;
17746 : int argvi = 0;
17747 : int result;
17748 0 : dXSARGS;
17749 :
17750 0 : if ((items < 1) || (items > 1)) {
17751 0 : SWIG_croak("Usage: labelCacheObj_gutter_get(self);");
17752 : }
17753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17754 0 : if (!SWIG_IsOK(res1)) {
17755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_gutter_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17756 : }
17757 0 : arg1 = (labelCacheObj *)(argp1);
17758 0 : result = (int) ((arg1)->gutter);
17759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17760 :
17761 0 : XSRETURN(argvi);
17762 0 : fail:
17763 :
17764 0 : SWIG_croak_null();
17765 : }
17766 : }
17767 :
17768 :
17769 0 : XS(_wrap_labelCacheObj_rendered_text_symbols_get) {
17770 : {
17771 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17772 0 : void *argp1 = 0 ;
17773 : int res1 = 0 ;
17774 : int argvi = 0;
17775 : labelCacheMemberObj **result = 0 ;
17776 0 : dXSARGS;
17777 :
17778 0 : if ((items < 1) || (items > 1)) {
17779 0 : SWIG_croak("Usage: labelCacheObj_rendered_text_symbols_get(self);");
17780 : }
17781 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17782 0 : if (!SWIG_IsOK(res1)) {
17783 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_rendered_text_symbols_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17784 : }
17785 0 : arg1 = (labelCacheObj *)(argp1);
17786 0 : result = (labelCacheMemberObj **) ((arg1)->rendered_text_symbols);
17787 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_labelCacheMemberObj, 0 | 0); argvi++ ;
17788 :
17789 0 : XSRETURN(argvi);
17790 0 : fail:
17791 :
17792 0 : SWIG_croak_null();
17793 : }
17794 : }
17795 :
17796 :
17797 0 : XS(_wrap_labelCacheObj_num_allocated_rendered_members_get) {
17798 : {
17799 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17800 0 : void *argp1 = 0 ;
17801 : int res1 = 0 ;
17802 : int argvi = 0;
17803 : int result;
17804 0 : dXSARGS;
17805 :
17806 0 : if ((items < 1) || (items > 1)) {
17807 0 : SWIG_croak("Usage: labelCacheObj_num_allocated_rendered_members_get(self);");
17808 : }
17809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17810 0 : if (!SWIG_IsOK(res1)) {
17811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_allocated_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17812 : }
17813 0 : arg1 = (labelCacheObj *)(argp1);
17814 0 : result = (int) ((arg1)->num_allocated_rendered_members);
17815 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17816 :
17817 0 : XSRETURN(argvi);
17818 0 : fail:
17819 :
17820 0 : SWIG_croak_null();
17821 : }
17822 : }
17823 :
17824 :
17825 0 : XS(_wrap_labelCacheObj_num_rendered_members_get) {
17826 : {
17827 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17828 0 : void *argp1 = 0 ;
17829 : int res1 = 0 ;
17830 : int argvi = 0;
17831 : int result;
17832 0 : dXSARGS;
17833 :
17834 0 : if ((items < 1) || (items > 1)) {
17835 0 : SWIG_croak("Usage: labelCacheObj_num_rendered_members_get(self);");
17836 : }
17837 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17838 0 : if (!SWIG_IsOK(res1)) {
17839 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17840 : }
17841 0 : arg1 = (labelCacheObj *)(argp1);
17842 0 : result = (int) ((arg1)->num_rendered_members);
17843 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17844 :
17845 0 : XSRETURN(argvi);
17846 0 : fail:
17847 :
17848 0 : SWIG_croak_null();
17849 : }
17850 : }
17851 :
17852 :
17853 0 : XS(_wrap_labelCacheObj_freeCache) {
17854 : {
17855 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17856 0 : void *argp1 = 0 ;
17857 : int res1 = 0 ;
17858 : int argvi = 0;
17859 0 : dXSARGS;
17860 :
17861 0 : if ((items < 1) || (items > 1)) {
17862 0 : SWIG_croak("Usage: labelCacheObj_freeCache(self);");
17863 : }
17864 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17865 0 : if (!SWIG_IsOK(res1)) {
17866 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_freeCache" "', argument " "1"" of type '" "labelCacheObj *""'");
17867 : }
17868 0 : arg1 = (labelCacheObj *)(argp1);
17869 : labelCacheObj_freeCache(arg1);
17870 0 : ST(argvi) = sv_newmortal();
17871 :
17872 0 : XSRETURN(argvi);
17873 0 : fail:
17874 :
17875 0 : SWIG_croak_null();
17876 : }
17877 : }
17878 :
17879 :
17880 0 : XS(_wrap_new_labelCacheObj) {
17881 : {
17882 : int argvi = 0;
17883 : labelCacheObj *result = 0 ;
17884 0 : dXSARGS;
17885 :
17886 0 : if ((items < 0) || (items > 0)) {
17887 0 : SWIG_croak("Usage: new_labelCacheObj();");
17888 : }
17889 0 : result = (labelCacheObj *)calloc(1, sizeof(labelCacheObj));
17890 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17891 0 : XSRETURN(argvi);
17892 : fail:
17893 0 : SWIG_croak_null();
17894 : }
17895 : }
17896 :
17897 :
17898 0 : XS(_wrap_delete_labelCacheObj) {
17899 : {
17900 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17901 0 : void *argp1 = 0 ;
17902 : int res1 = 0 ;
17903 : int argvi = 0;
17904 0 : dXSARGS;
17905 :
17906 0 : if ((items < 1) || (items > 1)) {
17907 0 : SWIG_croak("Usage: delete_labelCacheObj(self);");
17908 : }
17909 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, SWIG_POINTER_DISOWN | 0 );
17910 0 : if (!SWIG_IsOK(res1)) {
17911 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheObj" "', argument " "1"" of type '" "labelCacheObj *""'");
17912 : }
17913 0 : arg1 = (labelCacheObj *)(argp1);
17914 0 : free((char *) arg1);
17915 0 : ST(argvi) = sv_newmortal();
17916 :
17917 0 : XSRETURN(argvi);
17918 0 : fail:
17919 :
17920 0 : SWIG_croak_null();
17921 : }
17922 : }
17923 :
17924 :
17925 0 : XS(_wrap_resultObj_shapeindex_get) {
17926 : {
17927 : resultObj *arg1 = (resultObj *) 0 ;
17928 0 : void *argp1 = 0 ;
17929 : int res1 = 0 ;
17930 : int argvi = 0;
17931 : long result;
17932 0 : dXSARGS;
17933 :
17934 0 : if ((items < 1) || (items > 1)) {
17935 0 : SWIG_croak("Usage: resultObj_shapeindex_get(self);");
17936 : }
17937 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17938 0 : if (!SWIG_IsOK(res1)) {
17939 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_shapeindex_get" "', argument " "1"" of type '" "resultObj *""'");
17940 : }
17941 0 : arg1 = (resultObj *)(argp1);
17942 0 : result = (long) ((arg1)->shapeindex);
17943 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
17944 :
17945 0 : XSRETURN(argvi);
17946 0 : fail:
17947 :
17948 0 : SWIG_croak_null();
17949 : }
17950 : }
17951 :
17952 :
17953 0 : XS(_wrap_resultObj_tileindex_get) {
17954 : {
17955 : resultObj *arg1 = (resultObj *) 0 ;
17956 0 : void *argp1 = 0 ;
17957 : int res1 = 0 ;
17958 : int argvi = 0;
17959 : int result;
17960 0 : dXSARGS;
17961 :
17962 0 : if ((items < 1) || (items > 1)) {
17963 0 : SWIG_croak("Usage: resultObj_tileindex_get(self);");
17964 : }
17965 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17966 0 : if (!SWIG_IsOK(res1)) {
17967 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_tileindex_get" "', argument " "1"" of type '" "resultObj *""'");
17968 : }
17969 0 : arg1 = (resultObj *)(argp1);
17970 0 : result = (int) ((arg1)->tileindex);
17971 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17972 :
17973 0 : XSRETURN(argvi);
17974 0 : fail:
17975 :
17976 0 : SWIG_croak_null();
17977 : }
17978 : }
17979 :
17980 :
17981 0 : XS(_wrap_resultObj_resultindex_get) {
17982 : {
17983 : resultObj *arg1 = (resultObj *) 0 ;
17984 0 : void *argp1 = 0 ;
17985 : int res1 = 0 ;
17986 : int argvi = 0;
17987 : int result;
17988 0 : dXSARGS;
17989 :
17990 0 : if ((items < 1) || (items > 1)) {
17991 0 : SWIG_croak("Usage: resultObj_resultindex_get(self);");
17992 : }
17993 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17994 0 : if (!SWIG_IsOK(res1)) {
17995 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_resultindex_get" "', argument " "1"" of type '" "resultObj *""'");
17996 : }
17997 0 : arg1 = (resultObj *)(argp1);
17998 0 : result = (int) ((arg1)->resultindex);
17999 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18000 :
18001 0 : XSRETURN(argvi);
18002 0 : fail:
18003 :
18004 0 : SWIG_croak_null();
18005 : }
18006 : }
18007 :
18008 :
18009 0 : XS(_wrap_resultObj_classindex_get) {
18010 : {
18011 : resultObj *arg1 = (resultObj *) 0 ;
18012 0 : void *argp1 = 0 ;
18013 : int res1 = 0 ;
18014 : int argvi = 0;
18015 : int result;
18016 0 : dXSARGS;
18017 :
18018 0 : if ((items < 1) || (items > 1)) {
18019 0 : SWIG_croak("Usage: resultObj_classindex_get(self);");
18020 : }
18021 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
18022 0 : if (!SWIG_IsOK(res1)) {
18023 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_classindex_get" "', argument " "1"" of type '" "resultObj *""'");
18024 : }
18025 0 : arg1 = (resultObj *)(argp1);
18026 0 : result = (int) ((arg1)->classindex);
18027 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18028 :
18029 0 : XSRETURN(argvi);
18030 0 : fail:
18031 :
18032 0 : SWIG_croak_null();
18033 : }
18034 : }
18035 :
18036 :
18037 0 : XS(_wrap_new_resultObj) {
18038 : {
18039 : long arg1 ;
18040 : long val1 ;
18041 : int ecode1 = 0 ;
18042 : int argvi = 0;
18043 : resultObj *result = 0 ;
18044 0 : dXSARGS;
18045 :
18046 0 : if ((items < 1) || (items > 1)) {
18047 0 : SWIG_croak("Usage: new_resultObj(shapeindex);");
18048 : }
18049 0 : ecode1 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
18050 0 : if (!SWIG_IsOK(ecode1)) {
18051 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_resultObj" "', argument " "1"" of type '" "long""'");
18052 : }
18053 0 : arg1 = (long)(val1);
18054 : result = (resultObj *)new_resultObj(arg1);
18055 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18056 :
18057 0 : XSRETURN(argvi);
18058 0 : fail:
18059 :
18060 0 : SWIG_croak_null();
18061 : }
18062 : }
18063 :
18064 :
18065 0 : XS(_wrap_delete_resultObj) {
18066 : {
18067 : resultObj *arg1 = (resultObj *) 0 ;
18068 0 : void *argp1 = 0 ;
18069 : int res1 = 0 ;
18070 : int argvi = 0;
18071 0 : dXSARGS;
18072 :
18073 0 : if ((items < 1) || (items > 1)) {
18074 0 : SWIG_croak("Usage: delete_resultObj(self);");
18075 : }
18076 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, SWIG_POINTER_DISOWN | 0 );
18077 0 : if (!SWIG_IsOK(res1)) {
18078 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultObj" "', argument " "1"" of type '" "resultObj *""'");
18079 : }
18080 0 : arg1 = (resultObj *)(argp1);
18081 : delete_resultObj(arg1);
18082 0 : ST(argvi) = sv_newmortal();
18083 :
18084 0 : XSRETURN(argvi);
18085 0 : fail:
18086 :
18087 0 : SWIG_croak_null();
18088 : }
18089 : }
18090 :
18091 :
18092 0 : XS(_wrap_resultCacheObj_numresults_get) {
18093 : {
18094 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18095 0 : void *argp1 = 0 ;
18096 : int res1 = 0 ;
18097 : int argvi = 0;
18098 : int result;
18099 0 : dXSARGS;
18100 :
18101 0 : if ((items < 1) || (items > 1)) {
18102 0 : SWIG_croak("Usage: resultCacheObj_numresults_get(self);");
18103 : }
18104 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18105 0 : if (!SWIG_IsOK(res1)) {
18106 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_numresults_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18107 : }
18108 0 : arg1 = (resultCacheObj *)(argp1);
18109 0 : result = (int) ((arg1)->numresults);
18110 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18111 :
18112 0 : XSRETURN(argvi);
18113 0 : fail:
18114 :
18115 0 : SWIG_croak_null();
18116 : }
18117 : }
18118 :
18119 :
18120 0 : XS(_wrap_resultCacheObj_bounds_get) {
18121 : {
18122 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18123 0 : void *argp1 = 0 ;
18124 : int res1 = 0 ;
18125 : int argvi = 0;
18126 : rectObj *result = 0 ;
18127 0 : dXSARGS;
18128 :
18129 0 : if ((items < 1) || (items > 1)) {
18130 0 : SWIG_croak("Usage: resultCacheObj_bounds_get(self);");
18131 : }
18132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18133 0 : if (!SWIG_IsOK(res1)) {
18134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_bounds_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18135 : }
18136 0 : arg1 = (resultCacheObj *)(argp1);
18137 0 : result = (rectObj *)& ((arg1)->bounds);
18138 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18139 :
18140 0 : XSRETURN(argvi);
18141 0 : fail:
18142 :
18143 0 : SWIG_croak_null();
18144 : }
18145 : }
18146 :
18147 :
18148 0 : XS(_wrap_resultCacheObj_usegetshape_set) {
18149 : {
18150 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18151 : int arg2 ;
18152 0 : void *argp1 = 0 ;
18153 : int res1 = 0 ;
18154 : int val2 ;
18155 : int ecode2 = 0 ;
18156 : int argvi = 0;
18157 0 : dXSARGS;
18158 :
18159 0 : if ((items < 2) || (items > 2)) {
18160 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_set(self,usegetshape);");
18161 : }
18162 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18163 0 : if (!SWIG_IsOK(res1)) {
18164 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_set" "', argument " "1"" of type '" "resultCacheObj *""'");
18165 : }
18166 0 : arg1 = (resultCacheObj *)(argp1);
18167 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18168 0 : if (!SWIG_IsOK(ecode2)) {
18169 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_usegetshape_set" "', argument " "2"" of type '" "int""'");
18170 : }
18171 : arg2 = (int)(val2);
18172 0 : if (arg1) (arg1)->usegetshape = arg2;
18173 0 : ST(argvi) = sv_newmortal();
18174 :
18175 :
18176 0 : XSRETURN(argvi);
18177 0 : fail:
18178 :
18179 :
18180 0 : SWIG_croak_null();
18181 : }
18182 : }
18183 :
18184 :
18185 0 : XS(_wrap_resultCacheObj_usegetshape_get) {
18186 : {
18187 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18188 0 : void *argp1 = 0 ;
18189 : int res1 = 0 ;
18190 : int argvi = 0;
18191 : int result;
18192 0 : dXSARGS;
18193 :
18194 0 : if ((items < 1) || (items > 1)) {
18195 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_get(self);");
18196 : }
18197 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18198 0 : if (!SWIG_IsOK(res1)) {
18199 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18200 : }
18201 0 : arg1 = (resultCacheObj *)(argp1);
18202 0 : result = (int) ((arg1)->usegetshape);
18203 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18204 :
18205 0 : XSRETURN(argvi);
18206 0 : fail:
18207 :
18208 0 : SWIG_croak_null();
18209 : }
18210 : }
18211 :
18212 :
18213 0 : XS(_wrap_resultCacheObj_getResult) {
18214 : {
18215 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18216 : int arg2 ;
18217 0 : void *argp1 = 0 ;
18218 : int res1 = 0 ;
18219 : int val2 ;
18220 : int ecode2 = 0 ;
18221 : int argvi = 0;
18222 : resultObj *result = 0 ;
18223 0 : dXSARGS;
18224 :
18225 0 : if ((items < 2) || (items > 2)) {
18226 0 : SWIG_croak("Usage: resultCacheObj_getResult(self,i);");
18227 : }
18228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18229 0 : if (!SWIG_IsOK(res1)) {
18230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_getResult" "', argument " "1"" of type '" "resultCacheObj *""'");
18231 : }
18232 0 : arg1 = (resultCacheObj *)(argp1);
18233 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18234 0 : if (!SWIG_IsOK(ecode2)) {
18235 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_getResult" "', argument " "2"" of type '" "int""'");
18236 : }
18237 : arg2 = (int)(val2);
18238 : result = (resultObj *)resultCacheObj_getResult(arg1,arg2);
18239 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
18240 :
18241 :
18242 0 : XSRETURN(argvi);
18243 0 : fail:
18244 :
18245 :
18246 0 : SWIG_croak_null();
18247 : }
18248 : }
18249 :
18250 :
18251 0 : XS(_wrap_new_resultCacheObj) {
18252 : {
18253 : int argvi = 0;
18254 : resultCacheObj *result = 0 ;
18255 0 : dXSARGS;
18256 :
18257 0 : if ((items < 0) || (items > 0)) {
18258 0 : SWIG_croak("Usage: new_resultCacheObj();");
18259 : }
18260 0 : result = (resultCacheObj *)calloc(1, sizeof(resultCacheObj));
18261 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18262 0 : XSRETURN(argvi);
18263 : fail:
18264 0 : SWIG_croak_null();
18265 : }
18266 : }
18267 :
18268 :
18269 0 : XS(_wrap_delete_resultCacheObj) {
18270 : {
18271 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18272 0 : void *argp1 = 0 ;
18273 : int res1 = 0 ;
18274 : int argvi = 0;
18275 0 : dXSARGS;
18276 :
18277 0 : if ((items < 1) || (items > 1)) {
18278 0 : SWIG_croak("Usage: delete_resultCacheObj(self);");
18279 : }
18280 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, SWIG_POINTER_DISOWN | 0 );
18281 0 : if (!SWIG_IsOK(res1)) {
18282 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultCacheObj" "', argument " "1"" of type '" "resultCacheObj *""'");
18283 : }
18284 0 : arg1 = (resultCacheObj *)(argp1);
18285 0 : free((char *) arg1);
18286 0 : ST(argvi) = sv_newmortal();
18287 :
18288 0 : XSRETURN(argvi);
18289 0 : fail:
18290 :
18291 0 : SWIG_croak_null();
18292 : }
18293 : }
18294 :
18295 :
18296 0 : XS(_wrap_symbolSetObj_filename_set) {
18297 : {
18298 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18299 : char *arg2 = (char *) 0 ;
18300 0 : void *argp1 = 0 ;
18301 : int res1 = 0 ;
18302 : int res2 ;
18303 0 : char *buf2 = 0 ;
18304 0 : int alloc2 = 0 ;
18305 : int argvi = 0;
18306 0 : dXSARGS;
18307 :
18308 0 : if ((items < 2) || (items > 2)) {
18309 0 : SWIG_croak("Usage: symbolSetObj_filename_set(self,filename);");
18310 : }
18311 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18312 0 : if (!SWIG_IsOK(res1)) {
18313 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18314 : }
18315 0 : arg1 = (symbolSetObj *)(argp1);
18316 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18317 0 : if (!SWIG_IsOK(res2)) {
18318 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_filename_set" "', argument " "2"" of type '" "char *""'");
18319 : }
18320 0 : arg2 = (char *)(buf2);
18321 : {
18322 0 : if (arg1->filename) free((char*)arg1->filename);
18323 0 : if (arg2) {
18324 0 : arg1->filename = (char *) malloc(strlen(arg2)+1);
18325 : strcpy((char*)arg1->filename,arg2);
18326 : } else {
18327 0 : arg1->filename = 0;
18328 : }
18329 : }
18330 0 : ST(argvi) = sv_newmortal();
18331 :
18332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18333 0 : XSRETURN(argvi);
18334 0 : fail:
18335 :
18336 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18337 0 : SWIG_croak_null();
18338 : }
18339 : }
18340 :
18341 :
18342 0 : XS(_wrap_symbolSetObj_filename_get) {
18343 : {
18344 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18345 0 : void *argp1 = 0 ;
18346 : int res1 = 0 ;
18347 : int argvi = 0;
18348 : char *result = 0 ;
18349 0 : dXSARGS;
18350 :
18351 0 : if ((items < 1) || (items > 1)) {
18352 0 : SWIG_croak("Usage: symbolSetObj_filename_get(self);");
18353 : }
18354 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18355 0 : if (!SWIG_IsOK(res1)) {
18356 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18357 : }
18358 0 : arg1 = (symbolSetObj *)(argp1);
18359 0 : result = (char *) ((arg1)->filename);
18360 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
18361 :
18362 0 : XSRETURN(argvi);
18363 0 : fail:
18364 :
18365 0 : SWIG_croak_null();
18366 : }
18367 : }
18368 :
18369 :
18370 0 : XS(_wrap_symbolSetObj_imagecachesize_set) {
18371 : {
18372 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18373 : int arg2 ;
18374 0 : void *argp1 = 0 ;
18375 : int res1 = 0 ;
18376 : int val2 ;
18377 : int ecode2 = 0 ;
18378 : int argvi = 0;
18379 0 : dXSARGS;
18380 :
18381 0 : if ((items < 2) || (items > 2)) {
18382 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_set(self,imagecachesize);");
18383 : }
18384 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18385 0 : if (!SWIG_IsOK(res1)) {
18386 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18387 : }
18388 0 : arg1 = (symbolSetObj *)(argp1);
18389 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18390 0 : if (!SWIG_IsOK(ecode2)) {
18391 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "2"" of type '" "int""'");
18392 : }
18393 : arg2 = (int)(val2);
18394 0 : if (arg1) (arg1)->imagecachesize = arg2;
18395 0 : ST(argvi) = sv_newmortal();
18396 :
18397 :
18398 0 : XSRETURN(argvi);
18399 0 : fail:
18400 :
18401 :
18402 0 : SWIG_croak_null();
18403 : }
18404 : }
18405 :
18406 :
18407 0 : XS(_wrap_symbolSetObj_imagecachesize_get) {
18408 : {
18409 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18410 0 : void *argp1 = 0 ;
18411 : int res1 = 0 ;
18412 : int argvi = 0;
18413 : int result;
18414 0 : dXSARGS;
18415 :
18416 0 : if ((items < 1) || (items > 1)) {
18417 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_get(self);");
18418 : }
18419 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18420 0 : if (!SWIG_IsOK(res1)) {
18421 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18422 : }
18423 0 : arg1 = (symbolSetObj *)(argp1);
18424 0 : result = (int) ((arg1)->imagecachesize);
18425 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18426 :
18427 0 : XSRETURN(argvi);
18428 0 : fail:
18429 :
18430 0 : SWIG_croak_null();
18431 : }
18432 : }
18433 :
18434 :
18435 0 : XS(_wrap_symbolSetObj_numsymbols_get) {
18436 : {
18437 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18438 0 : void *argp1 = 0 ;
18439 : int res1 = 0 ;
18440 : int argvi = 0;
18441 : int result;
18442 0 : dXSARGS;
18443 :
18444 0 : if ((items < 1) || (items > 1)) {
18445 0 : SWIG_croak("Usage: symbolSetObj_numsymbols_get(self);");
18446 : }
18447 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18448 0 : if (!SWIG_IsOK(res1)) {
18449 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_numsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18450 : }
18451 0 : arg1 = (symbolSetObj *)(argp1);
18452 0 : result = (int) ((arg1)->numsymbols);
18453 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18454 :
18455 0 : XSRETURN(argvi);
18456 0 : fail:
18457 :
18458 0 : SWIG_croak_null();
18459 : }
18460 : }
18461 :
18462 :
18463 0 : XS(_wrap_symbolSetObj_maxsymbols_get) {
18464 : {
18465 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18466 0 : void *argp1 = 0 ;
18467 : int res1 = 0 ;
18468 : int argvi = 0;
18469 : int result;
18470 0 : dXSARGS;
18471 :
18472 0 : if ((items < 1) || (items > 1)) {
18473 0 : SWIG_croak("Usage: symbolSetObj_maxsymbols_get(self);");
18474 : }
18475 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18476 0 : if (!SWIG_IsOK(res1)) {
18477 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_maxsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18478 : }
18479 0 : arg1 = (symbolSetObj *)(argp1);
18480 0 : result = (int) ((arg1)->maxsymbols);
18481 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18482 :
18483 0 : XSRETURN(argvi);
18484 0 : fail:
18485 :
18486 0 : SWIG_croak_null();
18487 : }
18488 : }
18489 :
18490 :
18491 0 : XS(_wrap_new_symbolSetObj) {
18492 : {
18493 : char *arg1 = (char *) NULL ;
18494 : int res1 ;
18495 0 : char *buf1 = 0 ;
18496 0 : int alloc1 = 0 ;
18497 : int argvi = 0;
18498 : symbolSetObj *result = 0 ;
18499 0 : dXSARGS;
18500 :
18501 0 : if ((items < 0) || (items > 1)) {
18502 0 : SWIG_croak("Usage: new_symbolSetObj(symbolfile);");
18503 : }
18504 0 : if (items > 0) {
18505 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18506 0 : if (!SWIG_IsOK(res1)) {
18507 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolSetObj" "', argument " "1"" of type '" "char const *""'");
18508 : }
18509 0 : arg1 = (char *)(buf1);
18510 : }
18511 0 : result = (symbolSetObj *)new_symbolSetObj((char const *)arg1);
18512 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18513 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18514 0 : XSRETURN(argvi);
18515 0 : fail:
18516 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18517 0 : SWIG_croak_null();
18518 : }
18519 : }
18520 :
18521 :
18522 0 : XS(_wrap_delete_symbolSetObj) {
18523 : {
18524 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18525 0 : void *argp1 = 0 ;
18526 : int res1 = 0 ;
18527 : int argvi = 0;
18528 0 : dXSARGS;
18529 :
18530 0 : if ((items < 1) || (items > 1)) {
18531 0 : SWIG_croak("Usage: delete_symbolSetObj(self);");
18532 : }
18533 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, SWIG_POINTER_DISOWN | 0 );
18534 0 : if (!SWIG_IsOK(res1)) {
18535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolSetObj" "', argument " "1"" of type '" "symbolSetObj *""'");
18536 : }
18537 0 : arg1 = (symbolSetObj *)(argp1);
18538 0 : delete_symbolSetObj(arg1);
18539 0 : ST(argvi) = sv_newmortal();
18540 :
18541 0 : XSRETURN(argvi);
18542 0 : fail:
18543 :
18544 0 : SWIG_croak_null();
18545 : }
18546 : }
18547 :
18548 :
18549 0 : XS(_wrap_symbolSetObj_getSymbol) {
18550 : {
18551 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18552 : int arg2 ;
18553 0 : void *argp1 = 0 ;
18554 : int res1 = 0 ;
18555 : int val2 ;
18556 : int ecode2 = 0 ;
18557 : int argvi = 0;
18558 : symbolObj *result = 0 ;
18559 0 : dXSARGS;
18560 :
18561 0 : if ((items < 2) || (items > 2)) {
18562 0 : SWIG_croak("Usage: symbolSetObj_getSymbol(self,i);");
18563 : }
18564 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18565 0 : if (!SWIG_IsOK(res1)) {
18566 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18567 : }
18568 0 : arg1 = (symbolSetObj *)(argp1);
18569 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18570 0 : if (!SWIG_IsOK(ecode2)) {
18571 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_getSymbol" "', argument " "2"" of type '" "int""'");
18572 : }
18573 : arg2 = (int)(val2);
18574 : result = (symbolObj *)symbolSetObj_getSymbol(arg1,arg2);
18575 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18576 :
18577 :
18578 0 : XSRETURN(argvi);
18579 0 : fail:
18580 :
18581 :
18582 0 : SWIG_croak_null();
18583 : }
18584 : }
18585 :
18586 :
18587 0 : XS(_wrap_symbolSetObj_getSymbolByName) {
18588 : {
18589 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18590 : char *arg2 = (char *) 0 ;
18591 0 : void *argp1 = 0 ;
18592 : int res1 = 0 ;
18593 : int res2 ;
18594 0 : char *buf2 = 0 ;
18595 0 : int alloc2 = 0 ;
18596 : int argvi = 0;
18597 : symbolObj *result = 0 ;
18598 0 : dXSARGS;
18599 :
18600 0 : if ((items < 2) || (items > 2)) {
18601 0 : SWIG_croak("Usage: symbolSetObj_getSymbolByName(self,symbolname);");
18602 : }
18603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18604 0 : if (!SWIG_IsOK(res1)) {
18605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbolByName" "', argument " "1"" of type '" "symbolSetObj *""'");
18606 : }
18607 0 : arg1 = (symbolSetObj *)(argp1);
18608 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18609 0 : if (!SWIG_IsOK(res2)) {
18610 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
18611 : }
18612 0 : arg2 = (char *)(buf2);
18613 0 : result = (symbolObj *)symbolSetObj_getSymbolByName(arg1,arg2);
18614 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18615 :
18616 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18617 0 : XSRETURN(argvi);
18618 0 : fail:
18619 :
18620 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18621 0 : SWIG_croak_null();
18622 : }
18623 : }
18624 :
18625 :
18626 0 : XS(_wrap_symbolSetObj_index) {
18627 : {
18628 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18629 : char *arg2 = (char *) 0 ;
18630 0 : void *argp1 = 0 ;
18631 : int res1 = 0 ;
18632 : int res2 ;
18633 0 : char *buf2 = 0 ;
18634 0 : int alloc2 = 0 ;
18635 : int argvi = 0;
18636 : int result;
18637 0 : dXSARGS;
18638 :
18639 0 : if ((items < 2) || (items > 2)) {
18640 0 : SWIG_croak("Usage: symbolSetObj_index(self,symbolname);");
18641 : }
18642 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18643 0 : if (!SWIG_IsOK(res1)) {
18644 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_index" "', argument " "1"" of type '" "symbolSetObj *""'");
18645 : }
18646 0 : arg1 = (symbolSetObj *)(argp1);
18647 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18648 0 : if (!SWIG_IsOK(res2)) {
18649 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_index" "', argument " "2"" of type '" "char *""'");
18650 : }
18651 0 : arg2 = (char *)(buf2);
18652 : result = (int)symbolSetObj_index(arg1,arg2);
18653 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18654 :
18655 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18656 0 : XSRETURN(argvi);
18657 0 : fail:
18658 :
18659 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18660 0 : SWIG_croak_null();
18661 : }
18662 : }
18663 :
18664 :
18665 0 : XS(_wrap_symbolSetObj_appendSymbol) {
18666 : {
18667 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18668 : symbolObj *arg2 = (symbolObj *) 0 ;
18669 0 : void *argp1 = 0 ;
18670 : int res1 = 0 ;
18671 0 : void *argp2 = 0 ;
18672 : int res2 = 0 ;
18673 : int argvi = 0;
18674 : int result;
18675 0 : dXSARGS;
18676 :
18677 0 : if ((items < 2) || (items > 2)) {
18678 0 : SWIG_croak("Usage: symbolSetObj_appendSymbol(self,symbol);");
18679 : }
18680 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18681 0 : if (!SWIG_IsOK(res1)) {
18682 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_appendSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18683 : }
18684 0 : arg1 = (symbolSetObj *)(argp1);
18685 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_symbolObj, 0 | 0 );
18686 0 : if (!SWIG_IsOK(res2)) {
18687 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_appendSymbol" "', argument " "2"" of type '" "symbolObj *""'");
18688 : }
18689 0 : arg2 = (symbolObj *)(argp2);
18690 : result = (int)symbolSetObj_appendSymbol(arg1,arg2);
18691 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18692 :
18693 :
18694 0 : XSRETURN(argvi);
18695 0 : fail:
18696 :
18697 :
18698 0 : SWIG_croak_null();
18699 : }
18700 : }
18701 :
18702 :
18703 0 : XS(_wrap_symbolSetObj_removeSymbol) {
18704 : {
18705 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18706 : int arg2 ;
18707 0 : void *argp1 = 0 ;
18708 : int res1 = 0 ;
18709 : int val2 ;
18710 : int ecode2 = 0 ;
18711 : int argvi = 0;
18712 : symbolObj *result = 0 ;
18713 0 : dXSARGS;
18714 :
18715 0 : if ((items < 2) || (items > 2)) {
18716 0 : SWIG_croak("Usage: symbolSetObj_removeSymbol(self,index);");
18717 : }
18718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18719 0 : if (!SWIG_IsOK(res1)) {
18720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_removeSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18721 : }
18722 0 : arg1 = (symbolSetObj *)(argp1);
18723 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18724 0 : if (!SWIG_IsOK(ecode2)) {
18725 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_removeSymbol" "', argument " "2"" of type '" "int""'");
18726 : }
18727 : arg2 = (int)(val2);
18728 0 : result = (symbolObj *)symbolSetObj_removeSymbol(arg1,arg2);
18729 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18730 :
18731 :
18732 0 : XSRETURN(argvi);
18733 0 : fail:
18734 :
18735 :
18736 0 : SWIG_croak_null();
18737 : }
18738 : }
18739 :
18740 :
18741 0 : XS(_wrap_symbolSetObj_save) {
18742 : {
18743 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18744 : char *arg2 = (char *) 0 ;
18745 0 : void *argp1 = 0 ;
18746 : int res1 = 0 ;
18747 : int res2 ;
18748 0 : char *buf2 = 0 ;
18749 0 : int alloc2 = 0 ;
18750 : int argvi = 0;
18751 : int result;
18752 0 : dXSARGS;
18753 :
18754 0 : if ((items < 2) || (items > 2)) {
18755 0 : SWIG_croak("Usage: symbolSetObj_save(self,filename);");
18756 : }
18757 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18758 0 : if (!SWIG_IsOK(res1)) {
18759 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_save" "', argument " "1"" of type '" "symbolSetObj *""'");
18760 : }
18761 0 : arg1 = (symbolSetObj *)(argp1);
18762 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18763 0 : if (!SWIG_IsOK(res2)) {
18764 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_save" "', argument " "2"" of type '" "char const *""'");
18765 : }
18766 0 : arg2 = (char *)(buf2);
18767 : result = (int)symbolSetObj_save(arg1,(char const *)arg2);
18768 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18769 :
18770 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18771 0 : XSRETURN(argvi);
18772 0 : fail:
18773 :
18774 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18775 0 : SWIG_croak_null();
18776 : }
18777 : }
18778 :
18779 :
18780 0 : XS(_wrap_referenceMapObj_extent_set) {
18781 : {
18782 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18783 : rectObj *arg2 = (rectObj *) 0 ;
18784 0 : void *argp1 = 0 ;
18785 : int res1 = 0 ;
18786 0 : void *argp2 = 0 ;
18787 : int res2 = 0 ;
18788 : int argvi = 0;
18789 0 : dXSARGS;
18790 :
18791 0 : if ((items < 2) || (items > 2)) {
18792 0 : SWIG_croak("Usage: referenceMapObj_extent_set(self,extent);");
18793 : }
18794 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18795 0 : if (!SWIG_IsOK(res1)) {
18796 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18797 : }
18798 0 : arg1 = (referenceMapObj *)(argp1);
18799 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
18800 0 : if (!SWIG_IsOK(res2)) {
18801 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
18802 : }
18803 0 : arg2 = (rectObj *)(argp2);
18804 0 : if (arg1) (arg1)->extent = *arg2;
18805 0 : ST(argvi) = sv_newmortal();
18806 :
18807 :
18808 0 : XSRETURN(argvi);
18809 0 : fail:
18810 :
18811 :
18812 0 : SWIG_croak_null();
18813 : }
18814 : }
18815 :
18816 :
18817 0 : XS(_wrap_referenceMapObj_extent_get) {
18818 : {
18819 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18820 0 : void *argp1 = 0 ;
18821 : int res1 = 0 ;
18822 : int argvi = 0;
18823 : rectObj *result = 0 ;
18824 0 : dXSARGS;
18825 :
18826 0 : if ((items < 1) || (items > 1)) {
18827 0 : SWIG_croak("Usage: referenceMapObj_extent_get(self);");
18828 : }
18829 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18830 0 : if (!SWIG_IsOK(res1)) {
18831 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18832 : }
18833 0 : arg1 = (referenceMapObj *)(argp1);
18834 0 : result = (rectObj *)& ((arg1)->extent);
18835 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18836 :
18837 0 : XSRETURN(argvi);
18838 0 : fail:
18839 :
18840 0 : SWIG_croak_null();
18841 : }
18842 : }
18843 :
18844 :
18845 0 : XS(_wrap_referenceMapObj_height_set) {
18846 : {
18847 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18848 : int arg2 ;
18849 0 : void *argp1 = 0 ;
18850 : int res1 = 0 ;
18851 : int val2 ;
18852 : int ecode2 = 0 ;
18853 : int argvi = 0;
18854 0 : dXSARGS;
18855 :
18856 0 : if ((items < 2) || (items > 2)) {
18857 0 : SWIG_croak("Usage: referenceMapObj_height_set(self,height);");
18858 : }
18859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18860 0 : if (!SWIG_IsOK(res1)) {
18861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18862 : }
18863 0 : arg1 = (referenceMapObj *)(argp1);
18864 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18865 0 : if (!SWIG_IsOK(ecode2)) {
18866 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_height_set" "', argument " "2"" of type '" "int""'");
18867 : }
18868 : arg2 = (int)(val2);
18869 0 : if (arg1) (arg1)->height = arg2;
18870 0 : ST(argvi) = sv_newmortal();
18871 :
18872 :
18873 0 : XSRETURN(argvi);
18874 0 : fail:
18875 :
18876 :
18877 0 : SWIG_croak_null();
18878 : }
18879 : }
18880 :
18881 :
18882 0 : XS(_wrap_referenceMapObj_height_get) {
18883 : {
18884 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18885 0 : void *argp1 = 0 ;
18886 : int res1 = 0 ;
18887 : int argvi = 0;
18888 : int result;
18889 0 : dXSARGS;
18890 :
18891 0 : if ((items < 1) || (items > 1)) {
18892 0 : SWIG_croak("Usage: referenceMapObj_height_get(self);");
18893 : }
18894 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18895 0 : if (!SWIG_IsOK(res1)) {
18896 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18897 : }
18898 0 : arg1 = (referenceMapObj *)(argp1);
18899 0 : result = (int) ((arg1)->height);
18900 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18901 :
18902 0 : XSRETURN(argvi);
18903 0 : fail:
18904 :
18905 0 : SWIG_croak_null();
18906 : }
18907 : }
18908 :
18909 :
18910 0 : XS(_wrap_referenceMapObj_width_set) {
18911 : {
18912 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18913 : int arg2 ;
18914 0 : void *argp1 = 0 ;
18915 : int res1 = 0 ;
18916 : int val2 ;
18917 : int ecode2 = 0 ;
18918 : int argvi = 0;
18919 0 : dXSARGS;
18920 :
18921 0 : if ((items < 2) || (items > 2)) {
18922 0 : SWIG_croak("Usage: referenceMapObj_width_set(self,width);");
18923 : }
18924 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18925 0 : if (!SWIG_IsOK(res1)) {
18926 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18927 : }
18928 0 : arg1 = (referenceMapObj *)(argp1);
18929 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18930 0 : if (!SWIG_IsOK(ecode2)) {
18931 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_width_set" "', argument " "2"" of type '" "int""'");
18932 : }
18933 : arg2 = (int)(val2);
18934 0 : if (arg1) (arg1)->width = arg2;
18935 0 : ST(argvi) = sv_newmortal();
18936 :
18937 :
18938 0 : XSRETURN(argvi);
18939 0 : fail:
18940 :
18941 :
18942 0 : SWIG_croak_null();
18943 : }
18944 : }
18945 :
18946 :
18947 0 : XS(_wrap_referenceMapObj_width_get) {
18948 : {
18949 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18950 0 : void *argp1 = 0 ;
18951 : int res1 = 0 ;
18952 : int argvi = 0;
18953 : int result;
18954 0 : dXSARGS;
18955 :
18956 0 : if ((items < 1) || (items > 1)) {
18957 0 : SWIG_croak("Usage: referenceMapObj_width_get(self);");
18958 : }
18959 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18960 0 : if (!SWIG_IsOK(res1)) {
18961 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18962 : }
18963 0 : arg1 = (referenceMapObj *)(argp1);
18964 0 : result = (int) ((arg1)->width);
18965 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18966 :
18967 0 : XSRETURN(argvi);
18968 0 : fail:
18969 :
18970 0 : SWIG_croak_null();
18971 : }
18972 : }
18973 :
18974 :
18975 0 : XS(_wrap_referenceMapObj_color_set) {
18976 : {
18977 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18978 : colorObj *arg2 = (colorObj *) 0 ;
18979 0 : void *argp1 = 0 ;
18980 : int res1 = 0 ;
18981 0 : void *argp2 = 0 ;
18982 : int res2 = 0 ;
18983 : int argvi = 0;
18984 0 : dXSARGS;
18985 :
18986 0 : if ((items < 2) || (items > 2)) {
18987 0 : SWIG_croak("Usage: referenceMapObj_color_set(self,color);");
18988 : }
18989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18990 0 : if (!SWIG_IsOK(res1)) {
18991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18992 : }
18993 0 : arg1 = (referenceMapObj *)(argp1);
18994 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
18995 0 : if (!SWIG_IsOK(res2)) {
18996 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
18997 : }
18998 0 : arg2 = (colorObj *)(argp2);
18999 0 : if (arg1) (arg1)->color = *arg2;
19000 0 : ST(argvi) = sv_newmortal();
19001 :
19002 :
19003 0 : XSRETURN(argvi);
19004 0 : fail:
19005 :
19006 :
19007 0 : SWIG_croak_null();
19008 : }
19009 : }
19010 :
19011 :
19012 0 : XS(_wrap_referenceMapObj_color_get) {
19013 : {
19014 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19015 0 : void *argp1 = 0 ;
19016 : int res1 = 0 ;
19017 : int argvi = 0;
19018 : colorObj *result = 0 ;
19019 0 : dXSARGS;
19020 :
19021 0 : if ((items < 1) || (items > 1)) {
19022 0 : SWIG_croak("Usage: referenceMapObj_color_get(self);");
19023 : }
19024 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19025 0 : if (!SWIG_IsOK(res1)) {
19026 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19027 : }
19028 0 : arg1 = (referenceMapObj *)(argp1);
19029 0 : result = (colorObj *)& ((arg1)->color);
19030 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19031 :
19032 0 : XSRETURN(argvi);
19033 0 : fail:
19034 :
19035 0 : SWIG_croak_null();
19036 : }
19037 : }
19038 :
19039 :
19040 0 : XS(_wrap_referenceMapObj_outlinecolor_set) {
19041 : {
19042 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19043 : colorObj *arg2 = (colorObj *) 0 ;
19044 0 : void *argp1 = 0 ;
19045 : int res1 = 0 ;
19046 0 : void *argp2 = 0 ;
19047 : int res2 = 0 ;
19048 : int argvi = 0;
19049 0 : dXSARGS;
19050 :
19051 0 : if ((items < 2) || (items > 2)) {
19052 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_set(self,outlinecolor);");
19053 : }
19054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19055 0 : if (!SWIG_IsOK(res1)) {
19056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19057 : }
19058 0 : arg1 = (referenceMapObj *)(argp1);
19059 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19060 0 : if (!SWIG_IsOK(res2)) {
19061 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
19062 : }
19063 0 : arg2 = (colorObj *)(argp2);
19064 0 : if (arg1) (arg1)->outlinecolor = *arg2;
19065 0 : ST(argvi) = sv_newmortal();
19066 :
19067 :
19068 0 : XSRETURN(argvi);
19069 0 : fail:
19070 :
19071 :
19072 0 : SWIG_croak_null();
19073 : }
19074 : }
19075 :
19076 :
19077 0 : XS(_wrap_referenceMapObj_outlinecolor_get) {
19078 : {
19079 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19080 0 : void *argp1 = 0 ;
19081 : int res1 = 0 ;
19082 : int argvi = 0;
19083 : colorObj *result = 0 ;
19084 0 : dXSARGS;
19085 :
19086 0 : if ((items < 1) || (items > 1)) {
19087 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_get(self);");
19088 : }
19089 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19090 0 : if (!SWIG_IsOK(res1)) {
19091 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19092 : }
19093 0 : arg1 = (referenceMapObj *)(argp1);
19094 0 : result = (colorObj *)& ((arg1)->outlinecolor);
19095 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19096 :
19097 0 : XSRETURN(argvi);
19098 0 : fail:
19099 :
19100 0 : SWIG_croak_null();
19101 : }
19102 : }
19103 :
19104 :
19105 0 : XS(_wrap_referenceMapObj_image_set) {
19106 : {
19107 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19108 : char *arg2 = (char *) 0 ;
19109 0 : void *argp1 = 0 ;
19110 : int res1 = 0 ;
19111 : int res2 ;
19112 0 : char *buf2 = 0 ;
19113 0 : int alloc2 = 0 ;
19114 : int argvi = 0;
19115 0 : dXSARGS;
19116 :
19117 0 : if ((items < 2) || (items > 2)) {
19118 0 : SWIG_croak("Usage: referenceMapObj_image_set(self,image);");
19119 : }
19120 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19121 0 : if (!SWIG_IsOK(res1)) {
19122 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19123 : }
19124 0 : arg1 = (referenceMapObj *)(argp1);
19125 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19126 0 : if (!SWIG_IsOK(res2)) {
19127 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_image_set" "', argument " "2"" of type '" "char *""'");
19128 : }
19129 0 : arg2 = (char *)(buf2);
19130 : {
19131 0 : if (arg1->image) free((char*)arg1->image);
19132 0 : if (arg2) {
19133 0 : arg1->image = (char *) malloc(strlen(arg2)+1);
19134 : strcpy((char*)arg1->image,arg2);
19135 : } else {
19136 0 : arg1->image = 0;
19137 : }
19138 : }
19139 0 : ST(argvi) = sv_newmortal();
19140 :
19141 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19142 0 : XSRETURN(argvi);
19143 0 : fail:
19144 :
19145 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19146 0 : SWIG_croak_null();
19147 : }
19148 : }
19149 :
19150 :
19151 0 : XS(_wrap_referenceMapObj_image_get) {
19152 : {
19153 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19154 0 : void *argp1 = 0 ;
19155 : int res1 = 0 ;
19156 : int argvi = 0;
19157 : char *result = 0 ;
19158 0 : dXSARGS;
19159 :
19160 0 : if ((items < 1) || (items > 1)) {
19161 0 : SWIG_croak("Usage: referenceMapObj_image_get(self);");
19162 : }
19163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19164 0 : if (!SWIG_IsOK(res1)) {
19165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19166 : }
19167 0 : arg1 = (referenceMapObj *)(argp1);
19168 0 : result = (char *) ((arg1)->image);
19169 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19170 :
19171 0 : XSRETURN(argvi);
19172 0 : fail:
19173 :
19174 0 : SWIG_croak_null();
19175 : }
19176 : }
19177 :
19178 :
19179 0 : XS(_wrap_referenceMapObj_status_set) {
19180 : {
19181 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19182 : int arg2 ;
19183 0 : void *argp1 = 0 ;
19184 : int res1 = 0 ;
19185 : int val2 ;
19186 : int ecode2 = 0 ;
19187 : int argvi = 0;
19188 0 : dXSARGS;
19189 :
19190 0 : if ((items < 2) || (items > 2)) {
19191 0 : SWIG_croak("Usage: referenceMapObj_status_set(self,status);");
19192 : }
19193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19194 0 : if (!SWIG_IsOK(res1)) {
19195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19196 : }
19197 0 : arg1 = (referenceMapObj *)(argp1);
19198 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19199 0 : if (!SWIG_IsOK(ecode2)) {
19200 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_status_set" "', argument " "2"" of type '" "int""'");
19201 : }
19202 : arg2 = (int)(val2);
19203 0 : if (arg1) (arg1)->status = arg2;
19204 0 : ST(argvi) = sv_newmortal();
19205 :
19206 :
19207 0 : XSRETURN(argvi);
19208 0 : fail:
19209 :
19210 :
19211 0 : SWIG_croak_null();
19212 : }
19213 : }
19214 :
19215 :
19216 0 : XS(_wrap_referenceMapObj_status_get) {
19217 : {
19218 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19219 0 : void *argp1 = 0 ;
19220 : int res1 = 0 ;
19221 : int argvi = 0;
19222 : int result;
19223 0 : dXSARGS;
19224 :
19225 0 : if ((items < 1) || (items > 1)) {
19226 0 : SWIG_croak("Usage: referenceMapObj_status_get(self);");
19227 : }
19228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19229 0 : if (!SWIG_IsOK(res1)) {
19230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19231 : }
19232 0 : arg1 = (referenceMapObj *)(argp1);
19233 0 : result = (int) ((arg1)->status);
19234 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19235 :
19236 0 : XSRETURN(argvi);
19237 0 : fail:
19238 :
19239 0 : SWIG_croak_null();
19240 : }
19241 : }
19242 :
19243 :
19244 0 : XS(_wrap_referenceMapObj_marker_set) {
19245 : {
19246 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19247 : int arg2 ;
19248 0 : void *argp1 = 0 ;
19249 : int res1 = 0 ;
19250 : int val2 ;
19251 : int ecode2 = 0 ;
19252 : int argvi = 0;
19253 0 : dXSARGS;
19254 :
19255 0 : if ((items < 2) || (items > 2)) {
19256 0 : SWIG_croak("Usage: referenceMapObj_marker_set(self,marker);");
19257 : }
19258 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19259 0 : if (!SWIG_IsOK(res1)) {
19260 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19261 : }
19262 0 : arg1 = (referenceMapObj *)(argp1);
19263 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19264 0 : if (!SWIG_IsOK(ecode2)) {
19265 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_marker_set" "', argument " "2"" of type '" "int""'");
19266 : }
19267 : arg2 = (int)(val2);
19268 0 : if (arg1) (arg1)->marker = arg2;
19269 0 : ST(argvi) = sv_newmortal();
19270 :
19271 :
19272 0 : XSRETURN(argvi);
19273 0 : fail:
19274 :
19275 :
19276 0 : SWIG_croak_null();
19277 : }
19278 : }
19279 :
19280 :
19281 0 : XS(_wrap_referenceMapObj_marker_get) {
19282 : {
19283 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19284 0 : void *argp1 = 0 ;
19285 : int res1 = 0 ;
19286 : int argvi = 0;
19287 : int result;
19288 0 : dXSARGS;
19289 :
19290 0 : if ((items < 1) || (items > 1)) {
19291 0 : SWIG_croak("Usage: referenceMapObj_marker_get(self);");
19292 : }
19293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19294 0 : if (!SWIG_IsOK(res1)) {
19295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19296 : }
19297 0 : arg1 = (referenceMapObj *)(argp1);
19298 0 : result = (int) ((arg1)->marker);
19299 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19300 :
19301 0 : XSRETURN(argvi);
19302 0 : fail:
19303 :
19304 0 : SWIG_croak_null();
19305 : }
19306 : }
19307 :
19308 :
19309 0 : XS(_wrap_referenceMapObj_markername_set) {
19310 : {
19311 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19312 : char *arg2 = (char *) 0 ;
19313 0 : void *argp1 = 0 ;
19314 : int res1 = 0 ;
19315 : int res2 ;
19316 0 : char *buf2 = 0 ;
19317 0 : int alloc2 = 0 ;
19318 : int argvi = 0;
19319 0 : dXSARGS;
19320 :
19321 0 : if ((items < 2) || (items > 2)) {
19322 0 : SWIG_croak("Usage: referenceMapObj_markername_set(self,markername);");
19323 : }
19324 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19325 0 : if (!SWIG_IsOK(res1)) {
19326 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19327 : }
19328 0 : arg1 = (referenceMapObj *)(argp1);
19329 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19330 0 : if (!SWIG_IsOK(res2)) {
19331 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_markername_set" "', argument " "2"" of type '" "char *""'");
19332 : }
19333 0 : arg2 = (char *)(buf2);
19334 : {
19335 0 : if (arg1->markername) free((char*)arg1->markername);
19336 0 : if (arg2) {
19337 0 : arg1->markername = (char *) malloc(strlen(arg2)+1);
19338 : strcpy((char*)arg1->markername,arg2);
19339 : } else {
19340 0 : arg1->markername = 0;
19341 : }
19342 : }
19343 0 : ST(argvi) = sv_newmortal();
19344 :
19345 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19346 0 : XSRETURN(argvi);
19347 0 : fail:
19348 :
19349 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19350 0 : SWIG_croak_null();
19351 : }
19352 : }
19353 :
19354 :
19355 0 : XS(_wrap_referenceMapObj_markername_get) {
19356 : {
19357 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19358 0 : void *argp1 = 0 ;
19359 : int res1 = 0 ;
19360 : int argvi = 0;
19361 : char *result = 0 ;
19362 0 : dXSARGS;
19363 :
19364 0 : if ((items < 1) || (items > 1)) {
19365 0 : SWIG_croak("Usage: referenceMapObj_markername_get(self);");
19366 : }
19367 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19368 0 : if (!SWIG_IsOK(res1)) {
19369 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19370 : }
19371 0 : arg1 = (referenceMapObj *)(argp1);
19372 0 : result = (char *) ((arg1)->markername);
19373 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19374 :
19375 0 : XSRETURN(argvi);
19376 0 : fail:
19377 :
19378 0 : SWIG_croak_null();
19379 : }
19380 : }
19381 :
19382 :
19383 0 : XS(_wrap_referenceMapObj_markersize_set) {
19384 : {
19385 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19386 : int arg2 ;
19387 0 : void *argp1 = 0 ;
19388 : int res1 = 0 ;
19389 : int val2 ;
19390 : int ecode2 = 0 ;
19391 : int argvi = 0;
19392 0 : dXSARGS;
19393 :
19394 0 : if ((items < 2) || (items > 2)) {
19395 0 : SWIG_croak("Usage: referenceMapObj_markersize_set(self,markersize);");
19396 : }
19397 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19398 0 : if (!SWIG_IsOK(res1)) {
19399 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19400 : }
19401 0 : arg1 = (referenceMapObj *)(argp1);
19402 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19403 0 : if (!SWIG_IsOK(ecode2)) {
19404 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_markersize_set" "', argument " "2"" of type '" "int""'");
19405 : }
19406 : arg2 = (int)(val2);
19407 0 : if (arg1) (arg1)->markersize = arg2;
19408 0 : ST(argvi) = sv_newmortal();
19409 :
19410 :
19411 0 : XSRETURN(argvi);
19412 0 : fail:
19413 :
19414 :
19415 0 : SWIG_croak_null();
19416 : }
19417 : }
19418 :
19419 :
19420 0 : XS(_wrap_referenceMapObj_markersize_get) {
19421 : {
19422 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19423 0 : void *argp1 = 0 ;
19424 : int res1 = 0 ;
19425 : int argvi = 0;
19426 : int result;
19427 0 : dXSARGS;
19428 :
19429 0 : if ((items < 1) || (items > 1)) {
19430 0 : SWIG_croak("Usage: referenceMapObj_markersize_get(self);");
19431 : }
19432 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19433 0 : if (!SWIG_IsOK(res1)) {
19434 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19435 : }
19436 0 : arg1 = (referenceMapObj *)(argp1);
19437 0 : result = (int) ((arg1)->markersize);
19438 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19439 :
19440 0 : XSRETURN(argvi);
19441 0 : fail:
19442 :
19443 0 : SWIG_croak_null();
19444 : }
19445 : }
19446 :
19447 :
19448 0 : XS(_wrap_referenceMapObj_minboxsize_set) {
19449 : {
19450 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19451 : int arg2 ;
19452 0 : void *argp1 = 0 ;
19453 : int res1 = 0 ;
19454 : int val2 ;
19455 : int ecode2 = 0 ;
19456 : int argvi = 0;
19457 0 : dXSARGS;
19458 :
19459 0 : if ((items < 2) || (items > 2)) {
19460 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_set(self,minboxsize);");
19461 : }
19462 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19463 0 : if (!SWIG_IsOK(res1)) {
19464 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19465 : }
19466 0 : arg1 = (referenceMapObj *)(argp1);
19467 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19468 0 : if (!SWIG_IsOK(ecode2)) {
19469 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_minboxsize_set" "', argument " "2"" of type '" "int""'");
19470 : }
19471 : arg2 = (int)(val2);
19472 0 : if (arg1) (arg1)->minboxsize = arg2;
19473 0 : ST(argvi) = sv_newmortal();
19474 :
19475 :
19476 0 : XSRETURN(argvi);
19477 0 : fail:
19478 :
19479 :
19480 0 : SWIG_croak_null();
19481 : }
19482 : }
19483 :
19484 :
19485 0 : XS(_wrap_referenceMapObj_minboxsize_get) {
19486 : {
19487 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19488 0 : void *argp1 = 0 ;
19489 : int res1 = 0 ;
19490 : int argvi = 0;
19491 : int result;
19492 0 : dXSARGS;
19493 :
19494 0 : if ((items < 1) || (items > 1)) {
19495 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_get(self);");
19496 : }
19497 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19498 0 : if (!SWIG_IsOK(res1)) {
19499 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19500 : }
19501 0 : arg1 = (referenceMapObj *)(argp1);
19502 0 : result = (int) ((arg1)->minboxsize);
19503 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19504 :
19505 0 : XSRETURN(argvi);
19506 0 : fail:
19507 :
19508 0 : SWIG_croak_null();
19509 : }
19510 : }
19511 :
19512 :
19513 0 : XS(_wrap_referenceMapObj_maxboxsize_set) {
19514 : {
19515 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19516 : int arg2 ;
19517 0 : void *argp1 = 0 ;
19518 : int res1 = 0 ;
19519 : int val2 ;
19520 : int ecode2 = 0 ;
19521 : int argvi = 0;
19522 0 : dXSARGS;
19523 :
19524 0 : if ((items < 2) || (items > 2)) {
19525 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_set(self,maxboxsize);");
19526 : }
19527 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19528 0 : if (!SWIG_IsOK(res1)) {
19529 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19530 : }
19531 0 : arg1 = (referenceMapObj *)(argp1);
19532 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19533 0 : if (!SWIG_IsOK(ecode2)) {
19534 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "2"" of type '" "int""'");
19535 : }
19536 : arg2 = (int)(val2);
19537 0 : if (arg1) (arg1)->maxboxsize = arg2;
19538 0 : ST(argvi) = sv_newmortal();
19539 :
19540 :
19541 0 : XSRETURN(argvi);
19542 0 : fail:
19543 :
19544 :
19545 0 : SWIG_croak_null();
19546 : }
19547 : }
19548 :
19549 :
19550 0 : XS(_wrap_referenceMapObj_maxboxsize_get) {
19551 : {
19552 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19553 0 : void *argp1 = 0 ;
19554 : int res1 = 0 ;
19555 : int argvi = 0;
19556 : int result;
19557 0 : dXSARGS;
19558 :
19559 0 : if ((items < 1) || (items > 1)) {
19560 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_get(self);");
19561 : }
19562 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19563 0 : if (!SWIG_IsOK(res1)) {
19564 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19565 : }
19566 0 : arg1 = (referenceMapObj *)(argp1);
19567 0 : result = (int) ((arg1)->maxboxsize);
19568 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19569 :
19570 0 : XSRETURN(argvi);
19571 0 : fail:
19572 :
19573 0 : SWIG_croak_null();
19574 : }
19575 : }
19576 :
19577 :
19578 0 : XS(_wrap_referenceMapObj_map_get) {
19579 : {
19580 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19581 0 : void *argp1 = 0 ;
19582 : int res1 = 0 ;
19583 : int argvi = 0;
19584 : struct mapObj *result = 0 ;
19585 0 : dXSARGS;
19586 :
19587 0 : if ((items < 1) || (items > 1)) {
19588 0 : SWIG_croak("Usage: referenceMapObj_map_get(self);");
19589 : }
19590 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19591 0 : if (!SWIG_IsOK(res1)) {
19592 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_map_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19593 : }
19594 0 : arg1 = (referenceMapObj *)(argp1);
19595 : {
19596 : /* Accessing map */
19597 0 : result = (struct mapObj *) ((arg1)->map);;
19598 0 : MS_REFCNT_INCR(result);
19599 : }
19600 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
19601 :
19602 0 : XSRETURN(argvi);
19603 0 : fail:
19604 :
19605 0 : SWIG_croak_null();
19606 : }
19607 : }
19608 :
19609 :
19610 0 : XS(_wrap_referenceMapObj_updateFromString) {
19611 : {
19612 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19613 : char *arg2 = (char *) 0 ;
19614 0 : void *argp1 = 0 ;
19615 : int res1 = 0 ;
19616 : int res2 ;
19617 0 : char *buf2 = 0 ;
19618 0 : int alloc2 = 0 ;
19619 : int argvi = 0;
19620 : int result;
19621 0 : dXSARGS;
19622 :
19623 0 : if ((items < 2) || (items > 2)) {
19624 0 : SWIG_croak("Usage: referenceMapObj_updateFromString(self,snippet);");
19625 : }
19626 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19627 0 : if (!SWIG_IsOK(res1)) {
19628 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_updateFromString" "', argument " "1"" of type '" "referenceMapObj *""'");
19629 : }
19630 0 : arg1 = (referenceMapObj *)(argp1);
19631 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19632 0 : if (!SWIG_IsOK(res2)) {
19633 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
19634 : }
19635 0 : arg2 = (char *)(buf2);
19636 : result = (int)referenceMapObj_updateFromString(arg1,arg2);
19637 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19638 :
19639 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19640 0 : XSRETURN(argvi);
19641 0 : fail:
19642 :
19643 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19644 0 : SWIG_croak_null();
19645 : }
19646 : }
19647 :
19648 :
19649 0 : XS(_wrap_referenceMapObj_convertToString) {
19650 : {
19651 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19652 0 : void *argp1 = 0 ;
19653 : int res1 = 0 ;
19654 : int argvi = 0;
19655 : char *result = 0 ;
19656 0 : dXSARGS;
19657 :
19658 0 : if ((items < 1) || (items > 1)) {
19659 0 : SWIG_croak("Usage: referenceMapObj_convertToString(self);");
19660 : }
19661 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19662 0 : if (!SWIG_IsOK(res1)) {
19663 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_convertToString" "', argument " "1"" of type '" "referenceMapObj *""'");
19664 : }
19665 0 : arg1 = (referenceMapObj *)(argp1);
19666 : result = (char *)referenceMapObj_convertToString(arg1);
19667 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19668 :
19669 0 : free((char*)result);
19670 0 : XSRETURN(argvi);
19671 0 : fail:
19672 :
19673 0 : SWIG_croak_null();
19674 : }
19675 : }
19676 :
19677 :
19678 0 : XS(_wrap_new_referenceMapObj) {
19679 : {
19680 : int argvi = 0;
19681 : referenceMapObj *result = 0 ;
19682 0 : dXSARGS;
19683 :
19684 0 : if ((items < 0) || (items > 0)) {
19685 0 : SWIG_croak("Usage: new_referenceMapObj();");
19686 : }
19687 0 : result = (referenceMapObj *)calloc(1, sizeof(referenceMapObj));
19688 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
19689 0 : XSRETURN(argvi);
19690 : fail:
19691 0 : SWIG_croak_null();
19692 : }
19693 : }
19694 :
19695 :
19696 0 : XS(_wrap_delete_referenceMapObj) {
19697 : {
19698 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19699 0 : void *argp1 = 0 ;
19700 : int res1 = 0 ;
19701 : int argvi = 0;
19702 0 : dXSARGS;
19703 :
19704 0 : if ((items < 1) || (items > 1)) {
19705 0 : SWIG_croak("Usage: delete_referenceMapObj(self);");
19706 : }
19707 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, SWIG_POINTER_DISOWN | 0 );
19708 0 : if (!SWIG_IsOK(res1)) {
19709 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_referenceMapObj" "', argument " "1"" of type '" "referenceMapObj *""'");
19710 : }
19711 0 : arg1 = (referenceMapObj *)(argp1);
19712 0 : free((char *) arg1);
19713 0 : ST(argvi) = sv_newmortal();
19714 :
19715 0 : XSRETURN(argvi);
19716 0 : fail:
19717 :
19718 0 : SWIG_croak_null();
19719 : }
19720 : }
19721 :
19722 :
19723 0 : XS(_wrap_scalebarObj_imagecolor_set) {
19724 : {
19725 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19726 : colorObj *arg2 = (colorObj *) 0 ;
19727 0 : void *argp1 = 0 ;
19728 : int res1 = 0 ;
19729 0 : void *argp2 = 0 ;
19730 : int res2 = 0 ;
19731 : int argvi = 0;
19732 0 : dXSARGS;
19733 :
19734 0 : if ((items < 2) || (items > 2)) {
19735 0 : SWIG_croak("Usage: scalebarObj_imagecolor_set(self,imagecolor);");
19736 : }
19737 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19738 0 : if (!SWIG_IsOK(res1)) {
19739 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
19740 : }
19741 0 : arg1 = (scalebarObj *)(argp1);
19742 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19743 0 : if (!SWIG_IsOK(res2)) {
19744 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
19745 : }
19746 0 : arg2 = (colorObj *)(argp2);
19747 0 : if (arg1) (arg1)->imagecolor = *arg2;
19748 0 : ST(argvi) = sv_newmortal();
19749 :
19750 :
19751 0 : XSRETURN(argvi);
19752 0 : fail:
19753 :
19754 :
19755 0 : SWIG_croak_null();
19756 : }
19757 : }
19758 :
19759 :
19760 0 : XS(_wrap_scalebarObj_imagecolor_get) {
19761 : {
19762 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19763 0 : void *argp1 = 0 ;
19764 : int res1 = 0 ;
19765 : int argvi = 0;
19766 : colorObj *result = 0 ;
19767 0 : dXSARGS;
19768 :
19769 0 : if ((items < 1) || (items > 1)) {
19770 0 : SWIG_croak("Usage: scalebarObj_imagecolor_get(self);");
19771 : }
19772 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19773 0 : if (!SWIG_IsOK(res1)) {
19774 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
19775 : }
19776 0 : arg1 = (scalebarObj *)(argp1);
19777 0 : result = (colorObj *)& ((arg1)->imagecolor);
19778 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19779 :
19780 0 : XSRETURN(argvi);
19781 0 : fail:
19782 :
19783 0 : SWIG_croak_null();
19784 : }
19785 : }
19786 :
19787 :
19788 0 : XS(_wrap_scalebarObj_height_set) {
19789 : {
19790 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19791 : int arg2 ;
19792 0 : void *argp1 = 0 ;
19793 : int res1 = 0 ;
19794 : int val2 ;
19795 : int ecode2 = 0 ;
19796 : int argvi = 0;
19797 0 : dXSARGS;
19798 :
19799 0 : if ((items < 2) || (items > 2)) {
19800 0 : SWIG_croak("Usage: scalebarObj_height_set(self,height);");
19801 : }
19802 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19803 0 : if (!SWIG_IsOK(res1)) {
19804 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_set" "', argument " "1"" of type '" "scalebarObj *""'");
19805 : }
19806 0 : arg1 = (scalebarObj *)(argp1);
19807 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19808 0 : if (!SWIG_IsOK(ecode2)) {
19809 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_height_set" "', argument " "2"" of type '" "int""'");
19810 : }
19811 : arg2 = (int)(val2);
19812 0 : if (arg1) (arg1)->height = arg2;
19813 0 : ST(argvi) = sv_newmortal();
19814 :
19815 :
19816 0 : XSRETURN(argvi);
19817 0 : fail:
19818 :
19819 :
19820 0 : SWIG_croak_null();
19821 : }
19822 : }
19823 :
19824 :
19825 0 : XS(_wrap_scalebarObj_height_get) {
19826 : {
19827 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19828 0 : void *argp1 = 0 ;
19829 : int res1 = 0 ;
19830 : int argvi = 0;
19831 : int result;
19832 0 : dXSARGS;
19833 :
19834 0 : if ((items < 1) || (items > 1)) {
19835 0 : SWIG_croak("Usage: scalebarObj_height_get(self);");
19836 : }
19837 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19838 0 : if (!SWIG_IsOK(res1)) {
19839 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_get" "', argument " "1"" of type '" "scalebarObj *""'");
19840 : }
19841 0 : arg1 = (scalebarObj *)(argp1);
19842 0 : result = (int) ((arg1)->height);
19843 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19844 :
19845 0 : XSRETURN(argvi);
19846 0 : fail:
19847 :
19848 0 : SWIG_croak_null();
19849 : }
19850 : }
19851 :
19852 :
19853 0 : XS(_wrap_scalebarObj_width_set) {
19854 : {
19855 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19856 : int arg2 ;
19857 0 : void *argp1 = 0 ;
19858 : int res1 = 0 ;
19859 : int val2 ;
19860 : int ecode2 = 0 ;
19861 : int argvi = 0;
19862 0 : dXSARGS;
19863 :
19864 0 : if ((items < 2) || (items > 2)) {
19865 0 : SWIG_croak("Usage: scalebarObj_width_set(self,width);");
19866 : }
19867 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19868 0 : if (!SWIG_IsOK(res1)) {
19869 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_set" "', argument " "1"" of type '" "scalebarObj *""'");
19870 : }
19871 0 : arg1 = (scalebarObj *)(argp1);
19872 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19873 0 : if (!SWIG_IsOK(ecode2)) {
19874 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_width_set" "', argument " "2"" of type '" "int""'");
19875 : }
19876 : arg2 = (int)(val2);
19877 0 : if (arg1) (arg1)->width = arg2;
19878 0 : ST(argvi) = sv_newmortal();
19879 :
19880 :
19881 0 : XSRETURN(argvi);
19882 0 : fail:
19883 :
19884 :
19885 0 : SWIG_croak_null();
19886 : }
19887 : }
19888 :
19889 :
19890 0 : XS(_wrap_scalebarObj_width_get) {
19891 : {
19892 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19893 0 : void *argp1 = 0 ;
19894 : int res1 = 0 ;
19895 : int argvi = 0;
19896 : int result;
19897 0 : dXSARGS;
19898 :
19899 0 : if ((items < 1) || (items > 1)) {
19900 0 : SWIG_croak("Usage: scalebarObj_width_get(self);");
19901 : }
19902 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19903 0 : if (!SWIG_IsOK(res1)) {
19904 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_get" "', argument " "1"" of type '" "scalebarObj *""'");
19905 : }
19906 0 : arg1 = (scalebarObj *)(argp1);
19907 0 : result = (int) ((arg1)->width);
19908 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19909 :
19910 0 : XSRETURN(argvi);
19911 0 : fail:
19912 :
19913 0 : SWIG_croak_null();
19914 : }
19915 : }
19916 :
19917 :
19918 0 : XS(_wrap_scalebarObj_style_set) {
19919 : {
19920 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19921 : int arg2 ;
19922 0 : void *argp1 = 0 ;
19923 : int res1 = 0 ;
19924 : int val2 ;
19925 : int ecode2 = 0 ;
19926 : int argvi = 0;
19927 0 : dXSARGS;
19928 :
19929 0 : if ((items < 2) || (items > 2)) {
19930 0 : SWIG_croak("Usage: scalebarObj_style_set(self,style);");
19931 : }
19932 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19933 0 : if (!SWIG_IsOK(res1)) {
19934 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_set" "', argument " "1"" of type '" "scalebarObj *""'");
19935 : }
19936 0 : arg1 = (scalebarObj *)(argp1);
19937 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19938 0 : if (!SWIG_IsOK(ecode2)) {
19939 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_style_set" "', argument " "2"" of type '" "int""'");
19940 : }
19941 : arg2 = (int)(val2);
19942 0 : if (arg1) (arg1)->style = arg2;
19943 0 : ST(argvi) = sv_newmortal();
19944 :
19945 :
19946 0 : XSRETURN(argvi);
19947 0 : fail:
19948 :
19949 :
19950 0 : SWIG_croak_null();
19951 : }
19952 : }
19953 :
19954 :
19955 0 : XS(_wrap_scalebarObj_style_get) {
19956 : {
19957 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19958 0 : void *argp1 = 0 ;
19959 : int res1 = 0 ;
19960 : int argvi = 0;
19961 : int result;
19962 0 : dXSARGS;
19963 :
19964 0 : if ((items < 1) || (items > 1)) {
19965 0 : SWIG_croak("Usage: scalebarObj_style_get(self);");
19966 : }
19967 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19968 0 : if (!SWIG_IsOK(res1)) {
19969 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_get" "', argument " "1"" of type '" "scalebarObj *""'");
19970 : }
19971 0 : arg1 = (scalebarObj *)(argp1);
19972 0 : result = (int) ((arg1)->style);
19973 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19974 :
19975 0 : XSRETURN(argvi);
19976 0 : fail:
19977 :
19978 0 : SWIG_croak_null();
19979 : }
19980 : }
19981 :
19982 :
19983 0 : XS(_wrap_scalebarObj_intervals_set) {
19984 : {
19985 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19986 : int arg2 ;
19987 0 : void *argp1 = 0 ;
19988 : int res1 = 0 ;
19989 : int val2 ;
19990 : int ecode2 = 0 ;
19991 : int argvi = 0;
19992 0 : dXSARGS;
19993 :
19994 0 : if ((items < 2) || (items > 2)) {
19995 0 : SWIG_croak("Usage: scalebarObj_intervals_set(self,intervals);");
19996 : }
19997 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19998 0 : if (!SWIG_IsOK(res1)) {
19999 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_set" "', argument " "1"" of type '" "scalebarObj *""'");
20000 : }
20001 0 : arg1 = (scalebarObj *)(argp1);
20002 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20003 0 : if (!SWIG_IsOK(ecode2)) {
20004 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_intervals_set" "', argument " "2"" of type '" "int""'");
20005 : }
20006 : arg2 = (int)(val2);
20007 0 : if (arg1) (arg1)->intervals = arg2;
20008 0 : ST(argvi) = sv_newmortal();
20009 :
20010 :
20011 0 : XSRETURN(argvi);
20012 0 : fail:
20013 :
20014 :
20015 0 : SWIG_croak_null();
20016 : }
20017 : }
20018 :
20019 :
20020 0 : XS(_wrap_scalebarObj_intervals_get) {
20021 : {
20022 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20023 0 : void *argp1 = 0 ;
20024 : int res1 = 0 ;
20025 : int argvi = 0;
20026 : int result;
20027 0 : dXSARGS;
20028 :
20029 0 : if ((items < 1) || (items > 1)) {
20030 0 : SWIG_croak("Usage: scalebarObj_intervals_get(self);");
20031 : }
20032 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20033 0 : if (!SWIG_IsOK(res1)) {
20034 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_get" "', argument " "1"" of type '" "scalebarObj *""'");
20035 : }
20036 0 : arg1 = (scalebarObj *)(argp1);
20037 0 : result = (int) ((arg1)->intervals);
20038 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20039 :
20040 0 : XSRETURN(argvi);
20041 0 : fail:
20042 :
20043 0 : SWIG_croak_null();
20044 : }
20045 : }
20046 :
20047 :
20048 0 : XS(_wrap_scalebarObj_label_set) {
20049 : {
20050 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20051 : labelObj *arg2 = (labelObj *) 0 ;
20052 0 : void *argp1 = 0 ;
20053 : int res1 = 0 ;
20054 0 : void *argp2 = 0 ;
20055 : int res2 = 0 ;
20056 : int argvi = 0;
20057 0 : dXSARGS;
20058 :
20059 0 : if ((items < 2) || (items > 2)) {
20060 0 : SWIG_croak("Usage: scalebarObj_label_set(self,label);");
20061 : }
20062 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20063 0 : if (!SWIG_IsOK(res1)) {
20064 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_set" "', argument " "1"" of type '" "scalebarObj *""'");
20065 : }
20066 0 : arg1 = (scalebarObj *)(argp1);
20067 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
20068 0 : if (!SWIG_IsOK(res2)) {
20069 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_label_set" "', argument " "2"" of type '" "labelObj *""'");
20070 : }
20071 0 : arg2 = (labelObj *)(argp2);
20072 0 : if (arg1) (arg1)->label = *arg2;
20073 0 : ST(argvi) = sv_newmortal();
20074 :
20075 :
20076 0 : XSRETURN(argvi);
20077 0 : fail:
20078 :
20079 :
20080 0 : SWIG_croak_null();
20081 : }
20082 : }
20083 :
20084 :
20085 0 : XS(_wrap_scalebarObj_label_get) {
20086 : {
20087 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20088 0 : void *argp1 = 0 ;
20089 : int res1 = 0 ;
20090 : int argvi = 0;
20091 : labelObj *result = 0 ;
20092 0 : dXSARGS;
20093 :
20094 0 : if ((items < 1) || (items > 1)) {
20095 0 : SWIG_croak("Usage: scalebarObj_label_get(self);");
20096 : }
20097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20098 0 : if (!SWIG_IsOK(res1)) {
20099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_get" "', argument " "1"" of type '" "scalebarObj *""'");
20100 : }
20101 0 : arg1 = (scalebarObj *)(argp1);
20102 0 : result = (labelObj *)& ((arg1)->label);
20103 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
20104 :
20105 0 : XSRETURN(argvi);
20106 0 : fail:
20107 :
20108 0 : SWIG_croak_null();
20109 : }
20110 : }
20111 :
20112 :
20113 0 : XS(_wrap_scalebarObj_color_set) {
20114 : {
20115 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20116 : colorObj *arg2 = (colorObj *) 0 ;
20117 0 : void *argp1 = 0 ;
20118 : int res1 = 0 ;
20119 0 : void *argp2 = 0 ;
20120 : int res2 = 0 ;
20121 : int argvi = 0;
20122 0 : dXSARGS;
20123 :
20124 0 : if ((items < 2) || (items > 2)) {
20125 0 : SWIG_croak("Usage: scalebarObj_color_set(self,color);");
20126 : }
20127 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20128 0 : if (!SWIG_IsOK(res1)) {
20129 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_set" "', argument " "1"" of type '" "scalebarObj *""'");
20130 : }
20131 0 : arg1 = (scalebarObj *)(argp1);
20132 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20133 0 : if (!SWIG_IsOK(res2)) {
20134 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
20135 : }
20136 0 : arg2 = (colorObj *)(argp2);
20137 0 : if (arg1) (arg1)->color = *arg2;
20138 0 : ST(argvi) = sv_newmortal();
20139 :
20140 :
20141 0 : XSRETURN(argvi);
20142 0 : fail:
20143 :
20144 :
20145 0 : SWIG_croak_null();
20146 : }
20147 : }
20148 :
20149 :
20150 0 : XS(_wrap_scalebarObj_color_get) {
20151 : {
20152 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20153 0 : void *argp1 = 0 ;
20154 : int res1 = 0 ;
20155 : int argvi = 0;
20156 : colorObj *result = 0 ;
20157 0 : dXSARGS;
20158 :
20159 0 : if ((items < 1) || (items > 1)) {
20160 0 : SWIG_croak("Usage: scalebarObj_color_get(self);");
20161 : }
20162 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20163 0 : if (!SWIG_IsOK(res1)) {
20164 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_get" "', argument " "1"" of type '" "scalebarObj *""'");
20165 : }
20166 0 : arg1 = (scalebarObj *)(argp1);
20167 0 : result = (colorObj *)& ((arg1)->color);
20168 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20169 :
20170 0 : XSRETURN(argvi);
20171 0 : fail:
20172 :
20173 0 : SWIG_croak_null();
20174 : }
20175 : }
20176 :
20177 :
20178 0 : XS(_wrap_scalebarObj_backgroundcolor_set) {
20179 : {
20180 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20181 : colorObj *arg2 = (colorObj *) 0 ;
20182 0 : void *argp1 = 0 ;
20183 : int res1 = 0 ;
20184 0 : void *argp2 = 0 ;
20185 : int res2 = 0 ;
20186 : int argvi = 0;
20187 0 : dXSARGS;
20188 :
20189 0 : if ((items < 2) || (items > 2)) {
20190 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_set(self,backgroundcolor);");
20191 : }
20192 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20193 0 : if (!SWIG_IsOK(res1)) {
20194 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20195 : }
20196 0 : arg1 = (scalebarObj *)(argp1);
20197 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20198 0 : if (!SWIG_IsOK(res2)) {
20199 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
20200 : }
20201 0 : arg2 = (colorObj *)(argp2);
20202 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
20203 0 : ST(argvi) = sv_newmortal();
20204 :
20205 :
20206 0 : XSRETURN(argvi);
20207 0 : fail:
20208 :
20209 :
20210 0 : SWIG_croak_null();
20211 : }
20212 : }
20213 :
20214 :
20215 0 : XS(_wrap_scalebarObj_backgroundcolor_get) {
20216 : {
20217 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20218 0 : void *argp1 = 0 ;
20219 : int res1 = 0 ;
20220 : int argvi = 0;
20221 : colorObj *result = 0 ;
20222 0 : dXSARGS;
20223 :
20224 0 : if ((items < 1) || (items > 1)) {
20225 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_get(self);");
20226 : }
20227 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20228 0 : if (!SWIG_IsOK(res1)) {
20229 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20230 : }
20231 0 : arg1 = (scalebarObj *)(argp1);
20232 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
20233 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20234 :
20235 0 : XSRETURN(argvi);
20236 0 : fail:
20237 :
20238 0 : SWIG_croak_null();
20239 : }
20240 : }
20241 :
20242 :
20243 0 : XS(_wrap_scalebarObj_outlinecolor_set) {
20244 : {
20245 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20246 : colorObj *arg2 = (colorObj *) 0 ;
20247 0 : void *argp1 = 0 ;
20248 : int res1 = 0 ;
20249 0 : void *argp2 = 0 ;
20250 : int res2 = 0 ;
20251 : int argvi = 0;
20252 0 : dXSARGS;
20253 :
20254 0 : if ((items < 2) || (items > 2)) {
20255 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_set(self,outlinecolor);");
20256 : }
20257 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20258 0 : if (!SWIG_IsOK(res1)) {
20259 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20260 : }
20261 0 : arg1 = (scalebarObj *)(argp1);
20262 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20263 0 : if (!SWIG_IsOK(res2)) {
20264 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20265 : }
20266 0 : arg2 = (colorObj *)(argp2);
20267 0 : if (arg1) (arg1)->outlinecolor = *arg2;
20268 0 : ST(argvi) = sv_newmortal();
20269 :
20270 :
20271 0 : XSRETURN(argvi);
20272 0 : fail:
20273 :
20274 :
20275 0 : SWIG_croak_null();
20276 : }
20277 : }
20278 :
20279 :
20280 0 : XS(_wrap_scalebarObj_outlinecolor_get) {
20281 : {
20282 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20283 0 : void *argp1 = 0 ;
20284 : int res1 = 0 ;
20285 : int argvi = 0;
20286 : colorObj *result = 0 ;
20287 0 : dXSARGS;
20288 :
20289 0 : if ((items < 1) || (items > 1)) {
20290 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_get(self);");
20291 : }
20292 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20293 0 : if (!SWIG_IsOK(res1)) {
20294 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20295 : }
20296 0 : arg1 = (scalebarObj *)(argp1);
20297 0 : result = (colorObj *)& ((arg1)->outlinecolor);
20298 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20299 :
20300 0 : XSRETURN(argvi);
20301 0 : fail:
20302 :
20303 0 : SWIG_croak_null();
20304 : }
20305 : }
20306 :
20307 :
20308 0 : XS(_wrap_scalebarObj_units_set) {
20309 : {
20310 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20311 : int arg2 ;
20312 0 : void *argp1 = 0 ;
20313 : int res1 = 0 ;
20314 : int val2 ;
20315 : int ecode2 = 0 ;
20316 : int argvi = 0;
20317 0 : dXSARGS;
20318 :
20319 0 : if ((items < 2) || (items > 2)) {
20320 0 : SWIG_croak("Usage: scalebarObj_units_set(self,units);");
20321 : }
20322 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20323 0 : if (!SWIG_IsOK(res1)) {
20324 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_set" "', argument " "1"" of type '" "scalebarObj *""'");
20325 : }
20326 0 : arg1 = (scalebarObj *)(argp1);
20327 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20328 0 : if (!SWIG_IsOK(ecode2)) {
20329 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_units_set" "', argument " "2"" of type '" "int""'");
20330 : }
20331 : arg2 = (int)(val2);
20332 0 : if (arg1) (arg1)->units = arg2;
20333 0 : ST(argvi) = sv_newmortal();
20334 :
20335 :
20336 0 : XSRETURN(argvi);
20337 0 : fail:
20338 :
20339 :
20340 0 : SWIG_croak_null();
20341 : }
20342 : }
20343 :
20344 :
20345 0 : XS(_wrap_scalebarObj_units_get) {
20346 : {
20347 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20348 0 : void *argp1 = 0 ;
20349 : int res1 = 0 ;
20350 : int argvi = 0;
20351 : int result;
20352 0 : dXSARGS;
20353 :
20354 0 : if ((items < 1) || (items > 1)) {
20355 0 : SWIG_croak("Usage: scalebarObj_units_get(self);");
20356 : }
20357 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20358 0 : if (!SWIG_IsOK(res1)) {
20359 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_get" "', argument " "1"" of type '" "scalebarObj *""'");
20360 : }
20361 0 : arg1 = (scalebarObj *)(argp1);
20362 0 : result = (int) ((arg1)->units);
20363 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20364 :
20365 0 : XSRETURN(argvi);
20366 0 : fail:
20367 :
20368 0 : SWIG_croak_null();
20369 : }
20370 : }
20371 :
20372 :
20373 0 : XS(_wrap_scalebarObj_status_set) {
20374 : {
20375 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20376 : int arg2 ;
20377 0 : void *argp1 = 0 ;
20378 : int res1 = 0 ;
20379 : int val2 ;
20380 : int ecode2 = 0 ;
20381 : int argvi = 0;
20382 0 : dXSARGS;
20383 :
20384 0 : if ((items < 2) || (items > 2)) {
20385 0 : SWIG_croak("Usage: scalebarObj_status_set(self,status);");
20386 : }
20387 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20388 0 : if (!SWIG_IsOK(res1)) {
20389 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_set" "', argument " "1"" of type '" "scalebarObj *""'");
20390 : }
20391 0 : arg1 = (scalebarObj *)(argp1);
20392 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20393 0 : if (!SWIG_IsOK(ecode2)) {
20394 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_status_set" "', argument " "2"" of type '" "int""'");
20395 : }
20396 : arg2 = (int)(val2);
20397 0 : if (arg1) (arg1)->status = arg2;
20398 0 : ST(argvi) = sv_newmortal();
20399 :
20400 :
20401 0 : XSRETURN(argvi);
20402 0 : fail:
20403 :
20404 :
20405 0 : SWIG_croak_null();
20406 : }
20407 : }
20408 :
20409 :
20410 0 : XS(_wrap_scalebarObj_status_get) {
20411 : {
20412 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20413 0 : void *argp1 = 0 ;
20414 : int res1 = 0 ;
20415 : int argvi = 0;
20416 : int result;
20417 0 : dXSARGS;
20418 :
20419 0 : if ((items < 1) || (items > 1)) {
20420 0 : SWIG_croak("Usage: scalebarObj_status_get(self);");
20421 : }
20422 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20423 0 : if (!SWIG_IsOK(res1)) {
20424 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_get" "', argument " "1"" of type '" "scalebarObj *""'");
20425 : }
20426 0 : arg1 = (scalebarObj *)(argp1);
20427 0 : result = (int) ((arg1)->status);
20428 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20429 :
20430 0 : XSRETURN(argvi);
20431 0 : fail:
20432 :
20433 0 : SWIG_croak_null();
20434 : }
20435 : }
20436 :
20437 :
20438 0 : XS(_wrap_scalebarObj_position_set) {
20439 : {
20440 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20441 : int arg2 ;
20442 0 : void *argp1 = 0 ;
20443 : int res1 = 0 ;
20444 : int val2 ;
20445 : int ecode2 = 0 ;
20446 : int argvi = 0;
20447 0 : dXSARGS;
20448 :
20449 0 : if ((items < 2) || (items > 2)) {
20450 0 : SWIG_croak("Usage: scalebarObj_position_set(self,position);");
20451 : }
20452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20453 0 : if (!SWIG_IsOK(res1)) {
20454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_set" "', argument " "1"" of type '" "scalebarObj *""'");
20455 : }
20456 0 : arg1 = (scalebarObj *)(argp1);
20457 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20458 0 : if (!SWIG_IsOK(ecode2)) {
20459 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_position_set" "', argument " "2"" of type '" "int""'");
20460 : }
20461 : arg2 = (int)(val2);
20462 0 : if (arg1) (arg1)->position = arg2;
20463 0 : ST(argvi) = sv_newmortal();
20464 :
20465 :
20466 0 : XSRETURN(argvi);
20467 0 : fail:
20468 :
20469 :
20470 0 : SWIG_croak_null();
20471 : }
20472 : }
20473 :
20474 :
20475 0 : XS(_wrap_scalebarObj_position_get) {
20476 : {
20477 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20478 0 : void *argp1 = 0 ;
20479 : int res1 = 0 ;
20480 : int argvi = 0;
20481 : int result;
20482 0 : dXSARGS;
20483 :
20484 0 : if ((items < 1) || (items > 1)) {
20485 0 : SWIG_croak("Usage: scalebarObj_position_get(self);");
20486 : }
20487 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20488 0 : if (!SWIG_IsOK(res1)) {
20489 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_get" "', argument " "1"" of type '" "scalebarObj *""'");
20490 : }
20491 0 : arg1 = (scalebarObj *)(argp1);
20492 0 : result = (int) ((arg1)->position);
20493 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20494 :
20495 0 : XSRETURN(argvi);
20496 0 : fail:
20497 :
20498 0 : SWIG_croak_null();
20499 : }
20500 : }
20501 :
20502 :
20503 0 : XS(_wrap_scalebarObj_postlabelcache_set) {
20504 : {
20505 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20506 : int arg2 ;
20507 0 : void *argp1 = 0 ;
20508 : int res1 = 0 ;
20509 : int val2 ;
20510 : int ecode2 = 0 ;
20511 : int argvi = 0;
20512 0 : dXSARGS;
20513 :
20514 0 : if ((items < 2) || (items > 2)) {
20515 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_set(self,postlabelcache);");
20516 : }
20517 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20518 0 : if (!SWIG_IsOK(res1)) {
20519 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_set" "', argument " "1"" of type '" "scalebarObj *""'");
20520 : }
20521 0 : arg1 = (scalebarObj *)(argp1);
20522 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20523 0 : if (!SWIG_IsOK(ecode2)) {
20524 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
20525 : }
20526 : arg2 = (int)(val2);
20527 0 : if (arg1) (arg1)->postlabelcache = arg2;
20528 0 : ST(argvi) = sv_newmortal();
20529 :
20530 :
20531 0 : XSRETURN(argvi);
20532 0 : fail:
20533 :
20534 :
20535 0 : SWIG_croak_null();
20536 : }
20537 : }
20538 :
20539 :
20540 0 : XS(_wrap_scalebarObj_postlabelcache_get) {
20541 : {
20542 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20543 0 : void *argp1 = 0 ;
20544 : int res1 = 0 ;
20545 : int argvi = 0;
20546 : int result;
20547 0 : dXSARGS;
20548 :
20549 0 : if ((items < 1) || (items > 1)) {
20550 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_get(self);");
20551 : }
20552 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20553 0 : if (!SWIG_IsOK(res1)) {
20554 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_get" "', argument " "1"" of type '" "scalebarObj *""'");
20555 : }
20556 0 : arg1 = (scalebarObj *)(argp1);
20557 0 : result = (int) ((arg1)->postlabelcache);
20558 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20559 :
20560 0 : XSRETURN(argvi);
20561 0 : fail:
20562 :
20563 0 : SWIG_croak_null();
20564 : }
20565 : }
20566 :
20567 :
20568 0 : XS(_wrap_scalebarObj_align_set) {
20569 : {
20570 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20571 : int arg2 ;
20572 0 : void *argp1 = 0 ;
20573 : int res1 = 0 ;
20574 : int val2 ;
20575 : int ecode2 = 0 ;
20576 : int argvi = 0;
20577 0 : dXSARGS;
20578 :
20579 0 : if ((items < 2) || (items > 2)) {
20580 0 : SWIG_croak("Usage: scalebarObj_align_set(self,align);");
20581 : }
20582 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20583 0 : if (!SWIG_IsOK(res1)) {
20584 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_set" "', argument " "1"" of type '" "scalebarObj *""'");
20585 : }
20586 0 : arg1 = (scalebarObj *)(argp1);
20587 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20588 0 : if (!SWIG_IsOK(ecode2)) {
20589 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_align_set" "', argument " "2"" of type '" "int""'");
20590 : }
20591 : arg2 = (int)(val2);
20592 0 : if (arg1) (arg1)->align = arg2;
20593 0 : ST(argvi) = sv_newmortal();
20594 :
20595 :
20596 0 : XSRETURN(argvi);
20597 0 : fail:
20598 :
20599 :
20600 0 : SWIG_croak_null();
20601 : }
20602 : }
20603 :
20604 :
20605 0 : XS(_wrap_scalebarObj_align_get) {
20606 : {
20607 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20608 0 : void *argp1 = 0 ;
20609 : int res1 = 0 ;
20610 : int argvi = 0;
20611 : int result;
20612 0 : dXSARGS;
20613 :
20614 0 : if ((items < 1) || (items > 1)) {
20615 0 : SWIG_croak("Usage: scalebarObj_align_get(self);");
20616 : }
20617 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20618 0 : if (!SWIG_IsOK(res1)) {
20619 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_get" "', argument " "1"" of type '" "scalebarObj *""'");
20620 : }
20621 0 : arg1 = (scalebarObj *)(argp1);
20622 0 : result = (int) ((arg1)->align);
20623 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20624 :
20625 0 : XSRETURN(argvi);
20626 0 : fail:
20627 :
20628 0 : SWIG_croak_null();
20629 : }
20630 : }
20631 :
20632 :
20633 0 : XS(_wrap_scalebarObj_offsetx_set) {
20634 : {
20635 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20636 : int arg2 ;
20637 0 : void *argp1 = 0 ;
20638 : int res1 = 0 ;
20639 : int val2 ;
20640 : int ecode2 = 0 ;
20641 : int argvi = 0;
20642 0 : dXSARGS;
20643 :
20644 0 : if ((items < 2) || (items > 2)) {
20645 0 : SWIG_croak("Usage: scalebarObj_offsetx_set(self,offsetx);");
20646 : }
20647 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20648 0 : if (!SWIG_IsOK(res1)) {
20649 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_set" "', argument " "1"" of type '" "scalebarObj *""'");
20650 : }
20651 0 : arg1 = (scalebarObj *)(argp1);
20652 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20653 0 : if (!SWIG_IsOK(ecode2)) {
20654 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsetx_set" "', argument " "2"" of type '" "int""'");
20655 : }
20656 : arg2 = (int)(val2);
20657 0 : if (arg1) (arg1)->offsetx = arg2;
20658 0 : ST(argvi) = sv_newmortal();
20659 :
20660 :
20661 0 : XSRETURN(argvi);
20662 0 : fail:
20663 :
20664 :
20665 0 : SWIG_croak_null();
20666 : }
20667 : }
20668 :
20669 :
20670 0 : XS(_wrap_scalebarObj_offsetx_get) {
20671 : {
20672 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20673 0 : void *argp1 = 0 ;
20674 : int res1 = 0 ;
20675 : int argvi = 0;
20676 : int result;
20677 0 : dXSARGS;
20678 :
20679 0 : if ((items < 1) || (items > 1)) {
20680 0 : SWIG_croak("Usage: scalebarObj_offsetx_get(self);");
20681 : }
20682 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20683 0 : if (!SWIG_IsOK(res1)) {
20684 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_get" "', argument " "1"" of type '" "scalebarObj *""'");
20685 : }
20686 0 : arg1 = (scalebarObj *)(argp1);
20687 0 : result = (int) ((arg1)->offsetx);
20688 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20689 :
20690 0 : XSRETURN(argvi);
20691 0 : fail:
20692 :
20693 0 : SWIG_croak_null();
20694 : }
20695 : }
20696 :
20697 :
20698 0 : XS(_wrap_scalebarObj_offsety_set) {
20699 : {
20700 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20701 : int arg2 ;
20702 0 : void *argp1 = 0 ;
20703 : int res1 = 0 ;
20704 : int val2 ;
20705 : int ecode2 = 0 ;
20706 : int argvi = 0;
20707 0 : dXSARGS;
20708 :
20709 0 : if ((items < 2) || (items > 2)) {
20710 0 : SWIG_croak("Usage: scalebarObj_offsety_set(self,offsety);");
20711 : }
20712 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20713 0 : if (!SWIG_IsOK(res1)) {
20714 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_set" "', argument " "1"" of type '" "scalebarObj *""'");
20715 : }
20716 0 : arg1 = (scalebarObj *)(argp1);
20717 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20718 0 : if (!SWIG_IsOK(ecode2)) {
20719 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsety_set" "', argument " "2"" of type '" "int""'");
20720 : }
20721 : arg2 = (int)(val2);
20722 0 : if (arg1) (arg1)->offsety = arg2;
20723 0 : ST(argvi) = sv_newmortal();
20724 :
20725 :
20726 0 : XSRETURN(argvi);
20727 0 : fail:
20728 :
20729 :
20730 0 : SWIG_croak_null();
20731 : }
20732 : }
20733 :
20734 :
20735 0 : XS(_wrap_scalebarObj_offsety_get) {
20736 : {
20737 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20738 0 : void *argp1 = 0 ;
20739 : int res1 = 0 ;
20740 : int argvi = 0;
20741 : int result;
20742 0 : dXSARGS;
20743 :
20744 0 : if ((items < 1) || (items > 1)) {
20745 0 : SWIG_croak("Usage: scalebarObj_offsety_get(self);");
20746 : }
20747 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20748 0 : if (!SWIG_IsOK(res1)) {
20749 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_get" "', argument " "1"" of type '" "scalebarObj *""'");
20750 : }
20751 0 : arg1 = (scalebarObj *)(argp1);
20752 0 : result = (int) ((arg1)->offsety);
20753 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20754 :
20755 0 : XSRETURN(argvi);
20756 0 : fail:
20757 :
20758 0 : SWIG_croak_null();
20759 : }
20760 : }
20761 :
20762 :
20763 0 : XS(_wrap_scalebarObj_updateFromString) {
20764 : {
20765 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20766 : char *arg2 = (char *) 0 ;
20767 0 : void *argp1 = 0 ;
20768 : int res1 = 0 ;
20769 : int res2 ;
20770 0 : char *buf2 = 0 ;
20771 0 : int alloc2 = 0 ;
20772 : int argvi = 0;
20773 : int result;
20774 0 : dXSARGS;
20775 :
20776 0 : if ((items < 2) || (items > 2)) {
20777 0 : SWIG_croak("Usage: scalebarObj_updateFromString(self,snippet);");
20778 : }
20779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20780 0 : if (!SWIG_IsOK(res1)) {
20781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_updateFromString" "', argument " "1"" of type '" "scalebarObj *""'");
20782 : }
20783 0 : arg1 = (scalebarObj *)(argp1);
20784 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
20785 0 : if (!SWIG_IsOK(res2)) {
20786 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_updateFromString" "', argument " "2"" of type '" "char *""'");
20787 : }
20788 0 : arg2 = (char *)(buf2);
20789 : result = (int)scalebarObj_updateFromString(arg1,arg2);
20790 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20791 :
20792 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20793 0 : XSRETURN(argvi);
20794 0 : fail:
20795 :
20796 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20797 0 : SWIG_croak_null();
20798 : }
20799 : }
20800 :
20801 :
20802 0 : XS(_wrap_scalebarObj_convertToString) {
20803 : {
20804 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20805 0 : void *argp1 = 0 ;
20806 : int res1 = 0 ;
20807 : int argvi = 0;
20808 : char *result = 0 ;
20809 0 : dXSARGS;
20810 :
20811 0 : if ((items < 1) || (items > 1)) {
20812 0 : SWIG_croak("Usage: scalebarObj_convertToString(self);");
20813 : }
20814 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20815 0 : if (!SWIG_IsOK(res1)) {
20816 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_convertToString" "', argument " "1"" of type '" "scalebarObj *""'");
20817 : }
20818 0 : arg1 = (scalebarObj *)(argp1);
20819 : result = (char *)scalebarObj_convertToString(arg1);
20820 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
20821 :
20822 0 : free((char*)result);
20823 0 : XSRETURN(argvi);
20824 0 : fail:
20825 :
20826 0 : SWIG_croak_null();
20827 : }
20828 : }
20829 :
20830 :
20831 0 : XS(_wrap_new_scalebarObj) {
20832 : {
20833 : int argvi = 0;
20834 : scalebarObj *result = 0 ;
20835 0 : dXSARGS;
20836 :
20837 0 : if ((items < 0) || (items > 0)) {
20838 0 : SWIG_croak("Usage: new_scalebarObj();");
20839 : }
20840 0 : result = (scalebarObj *)calloc(1, sizeof(scalebarObj));
20841 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
20842 0 : XSRETURN(argvi);
20843 : fail:
20844 0 : SWIG_croak_null();
20845 : }
20846 : }
20847 :
20848 :
20849 0 : XS(_wrap_delete_scalebarObj) {
20850 : {
20851 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20852 0 : void *argp1 = 0 ;
20853 : int res1 = 0 ;
20854 : int argvi = 0;
20855 0 : dXSARGS;
20856 :
20857 0 : if ((items < 1) || (items > 1)) {
20858 0 : SWIG_croak("Usage: delete_scalebarObj(self);");
20859 : }
20860 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, SWIG_POINTER_DISOWN | 0 );
20861 0 : if (!SWIG_IsOK(res1)) {
20862 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scalebarObj" "', argument " "1"" of type '" "scalebarObj *""'");
20863 : }
20864 0 : arg1 = (scalebarObj *)(argp1);
20865 0 : free((char *) arg1);
20866 0 : ST(argvi) = sv_newmortal();
20867 :
20868 0 : XSRETURN(argvi);
20869 0 : fail:
20870 :
20871 0 : SWIG_croak_null();
20872 : }
20873 : }
20874 :
20875 :
20876 0 : XS(_wrap_legendObj_imagecolor_set) {
20877 : {
20878 : legendObj *arg1 = (legendObj *) 0 ;
20879 : colorObj *arg2 = (colorObj *) 0 ;
20880 0 : void *argp1 = 0 ;
20881 : int res1 = 0 ;
20882 0 : void *argp2 = 0 ;
20883 : int res2 = 0 ;
20884 : int argvi = 0;
20885 0 : dXSARGS;
20886 :
20887 0 : if ((items < 2) || (items > 2)) {
20888 0 : SWIG_croak("Usage: legendObj_imagecolor_set(self,imagecolor);");
20889 : }
20890 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20891 0 : if (!SWIG_IsOK(res1)) {
20892 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_set" "', argument " "1"" of type '" "legendObj *""'");
20893 : }
20894 0 : arg1 = (legendObj *)(argp1);
20895 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20896 0 : if (!SWIG_IsOK(res2)) {
20897 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20898 : }
20899 0 : arg2 = (colorObj *)(argp2);
20900 0 : if (arg1) (arg1)->imagecolor = *arg2;
20901 0 : ST(argvi) = sv_newmortal();
20902 :
20903 :
20904 0 : XSRETURN(argvi);
20905 0 : fail:
20906 :
20907 :
20908 0 : SWIG_croak_null();
20909 : }
20910 : }
20911 :
20912 :
20913 0 : XS(_wrap_legendObj_imagecolor_get) {
20914 : {
20915 : legendObj *arg1 = (legendObj *) 0 ;
20916 0 : void *argp1 = 0 ;
20917 : int res1 = 0 ;
20918 : int argvi = 0;
20919 : colorObj *result = 0 ;
20920 0 : dXSARGS;
20921 :
20922 0 : if ((items < 1) || (items > 1)) {
20923 0 : SWIG_croak("Usage: legendObj_imagecolor_get(self);");
20924 : }
20925 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20926 0 : if (!SWIG_IsOK(res1)) {
20927 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_get" "', argument " "1"" of type '" "legendObj *""'");
20928 : }
20929 0 : arg1 = (legendObj *)(argp1);
20930 0 : result = (colorObj *)& ((arg1)->imagecolor);
20931 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20932 :
20933 0 : XSRETURN(argvi);
20934 0 : fail:
20935 :
20936 0 : SWIG_croak_null();
20937 : }
20938 : }
20939 :
20940 :
20941 0 : XS(_wrap_legendObj_label_get) {
20942 : {
20943 : legendObj *arg1 = (legendObj *) 0 ;
20944 0 : void *argp1 = 0 ;
20945 : int res1 = 0 ;
20946 : int argvi = 0;
20947 : labelObj *result = 0 ;
20948 0 : dXSARGS;
20949 :
20950 0 : if ((items < 1) || (items > 1)) {
20951 0 : SWIG_croak("Usage: legendObj_label_get(self);");
20952 : }
20953 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20954 0 : if (!SWIG_IsOK(res1)) {
20955 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_label_get" "', argument " "1"" of type '" "legendObj *""'");
20956 : }
20957 0 : arg1 = (legendObj *)(argp1);
20958 0 : result = (labelObj *)& ((arg1)->label);
20959 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
20960 :
20961 0 : XSRETURN(argvi);
20962 0 : fail:
20963 :
20964 0 : SWIG_croak_null();
20965 : }
20966 : }
20967 :
20968 :
20969 0 : XS(_wrap_legendObj_keysizex_set) {
20970 : {
20971 : legendObj *arg1 = (legendObj *) 0 ;
20972 : int arg2 ;
20973 0 : void *argp1 = 0 ;
20974 : int res1 = 0 ;
20975 : int val2 ;
20976 : int ecode2 = 0 ;
20977 : int argvi = 0;
20978 0 : dXSARGS;
20979 :
20980 0 : if ((items < 2) || (items > 2)) {
20981 0 : SWIG_croak("Usage: legendObj_keysizex_set(self,keysizex);");
20982 : }
20983 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20984 0 : if (!SWIG_IsOK(res1)) {
20985 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_set" "', argument " "1"" of type '" "legendObj *""'");
20986 : }
20987 0 : arg1 = (legendObj *)(argp1);
20988 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20989 0 : if (!SWIG_IsOK(ecode2)) {
20990 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizex_set" "', argument " "2"" of type '" "int""'");
20991 : }
20992 : arg2 = (int)(val2);
20993 0 : if (arg1) (arg1)->keysizex = arg2;
20994 0 : ST(argvi) = sv_newmortal();
20995 :
20996 :
20997 0 : XSRETURN(argvi);
20998 0 : fail:
20999 :
21000 :
21001 0 : SWIG_croak_null();
21002 : }
21003 : }
21004 :
21005 :
21006 0 : XS(_wrap_legendObj_keysizex_get) {
21007 : {
21008 : legendObj *arg1 = (legendObj *) 0 ;
21009 0 : void *argp1 = 0 ;
21010 : int res1 = 0 ;
21011 : int argvi = 0;
21012 : int result;
21013 0 : dXSARGS;
21014 :
21015 0 : if ((items < 1) || (items > 1)) {
21016 0 : SWIG_croak("Usage: legendObj_keysizex_get(self);");
21017 : }
21018 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21019 0 : if (!SWIG_IsOK(res1)) {
21020 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_get" "', argument " "1"" of type '" "legendObj *""'");
21021 : }
21022 0 : arg1 = (legendObj *)(argp1);
21023 0 : result = (int) ((arg1)->keysizex);
21024 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21025 :
21026 0 : XSRETURN(argvi);
21027 0 : fail:
21028 :
21029 0 : SWIG_croak_null();
21030 : }
21031 : }
21032 :
21033 :
21034 0 : XS(_wrap_legendObj_keysizey_set) {
21035 : {
21036 : legendObj *arg1 = (legendObj *) 0 ;
21037 : int arg2 ;
21038 0 : void *argp1 = 0 ;
21039 : int res1 = 0 ;
21040 : int val2 ;
21041 : int ecode2 = 0 ;
21042 : int argvi = 0;
21043 0 : dXSARGS;
21044 :
21045 0 : if ((items < 2) || (items > 2)) {
21046 0 : SWIG_croak("Usage: legendObj_keysizey_set(self,keysizey);");
21047 : }
21048 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21049 0 : if (!SWIG_IsOK(res1)) {
21050 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_set" "', argument " "1"" of type '" "legendObj *""'");
21051 : }
21052 0 : arg1 = (legendObj *)(argp1);
21053 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21054 0 : if (!SWIG_IsOK(ecode2)) {
21055 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizey_set" "', argument " "2"" of type '" "int""'");
21056 : }
21057 : arg2 = (int)(val2);
21058 0 : if (arg1) (arg1)->keysizey = arg2;
21059 0 : ST(argvi) = sv_newmortal();
21060 :
21061 :
21062 0 : XSRETURN(argvi);
21063 0 : fail:
21064 :
21065 :
21066 0 : SWIG_croak_null();
21067 : }
21068 : }
21069 :
21070 :
21071 0 : XS(_wrap_legendObj_keysizey_get) {
21072 : {
21073 : legendObj *arg1 = (legendObj *) 0 ;
21074 0 : void *argp1 = 0 ;
21075 : int res1 = 0 ;
21076 : int argvi = 0;
21077 : int result;
21078 0 : dXSARGS;
21079 :
21080 0 : if ((items < 1) || (items > 1)) {
21081 0 : SWIG_croak("Usage: legendObj_keysizey_get(self);");
21082 : }
21083 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21084 0 : if (!SWIG_IsOK(res1)) {
21085 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_get" "', argument " "1"" of type '" "legendObj *""'");
21086 : }
21087 0 : arg1 = (legendObj *)(argp1);
21088 0 : result = (int) ((arg1)->keysizey);
21089 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21090 :
21091 0 : XSRETURN(argvi);
21092 0 : fail:
21093 :
21094 0 : SWIG_croak_null();
21095 : }
21096 : }
21097 :
21098 :
21099 0 : XS(_wrap_legendObj_keyspacingx_set) {
21100 : {
21101 : legendObj *arg1 = (legendObj *) 0 ;
21102 : int arg2 ;
21103 0 : void *argp1 = 0 ;
21104 : int res1 = 0 ;
21105 : int val2 ;
21106 : int ecode2 = 0 ;
21107 : int argvi = 0;
21108 0 : dXSARGS;
21109 :
21110 0 : if ((items < 2) || (items > 2)) {
21111 0 : SWIG_croak("Usage: legendObj_keyspacingx_set(self,keyspacingx);");
21112 : }
21113 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21114 0 : if (!SWIG_IsOK(res1)) {
21115 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_set" "', argument " "1"" of type '" "legendObj *""'");
21116 : }
21117 0 : arg1 = (legendObj *)(argp1);
21118 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21119 0 : if (!SWIG_IsOK(ecode2)) {
21120 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingx_set" "', argument " "2"" of type '" "int""'");
21121 : }
21122 : arg2 = (int)(val2);
21123 0 : if (arg1) (arg1)->keyspacingx = arg2;
21124 0 : ST(argvi) = sv_newmortal();
21125 :
21126 :
21127 0 : XSRETURN(argvi);
21128 0 : fail:
21129 :
21130 :
21131 0 : SWIG_croak_null();
21132 : }
21133 : }
21134 :
21135 :
21136 0 : XS(_wrap_legendObj_keyspacingx_get) {
21137 : {
21138 : legendObj *arg1 = (legendObj *) 0 ;
21139 0 : void *argp1 = 0 ;
21140 : int res1 = 0 ;
21141 : int argvi = 0;
21142 : int result;
21143 0 : dXSARGS;
21144 :
21145 0 : if ((items < 1) || (items > 1)) {
21146 0 : SWIG_croak("Usage: legendObj_keyspacingx_get(self);");
21147 : }
21148 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21149 0 : if (!SWIG_IsOK(res1)) {
21150 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_get" "', argument " "1"" of type '" "legendObj *""'");
21151 : }
21152 0 : arg1 = (legendObj *)(argp1);
21153 0 : result = (int) ((arg1)->keyspacingx);
21154 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21155 :
21156 0 : XSRETURN(argvi);
21157 0 : fail:
21158 :
21159 0 : SWIG_croak_null();
21160 : }
21161 : }
21162 :
21163 :
21164 0 : XS(_wrap_legendObj_keyspacingy_set) {
21165 : {
21166 : legendObj *arg1 = (legendObj *) 0 ;
21167 : int arg2 ;
21168 0 : void *argp1 = 0 ;
21169 : int res1 = 0 ;
21170 : int val2 ;
21171 : int ecode2 = 0 ;
21172 : int argvi = 0;
21173 0 : dXSARGS;
21174 :
21175 0 : if ((items < 2) || (items > 2)) {
21176 0 : SWIG_croak("Usage: legendObj_keyspacingy_set(self,keyspacingy);");
21177 : }
21178 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21179 0 : if (!SWIG_IsOK(res1)) {
21180 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_set" "', argument " "1"" of type '" "legendObj *""'");
21181 : }
21182 0 : arg1 = (legendObj *)(argp1);
21183 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21184 0 : if (!SWIG_IsOK(ecode2)) {
21185 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingy_set" "', argument " "2"" of type '" "int""'");
21186 : }
21187 : arg2 = (int)(val2);
21188 0 : if (arg1) (arg1)->keyspacingy = arg2;
21189 0 : ST(argvi) = sv_newmortal();
21190 :
21191 :
21192 0 : XSRETURN(argvi);
21193 0 : fail:
21194 :
21195 :
21196 0 : SWIG_croak_null();
21197 : }
21198 : }
21199 :
21200 :
21201 0 : XS(_wrap_legendObj_keyspacingy_get) {
21202 : {
21203 : legendObj *arg1 = (legendObj *) 0 ;
21204 0 : void *argp1 = 0 ;
21205 : int res1 = 0 ;
21206 : int argvi = 0;
21207 : int result;
21208 0 : dXSARGS;
21209 :
21210 0 : if ((items < 1) || (items > 1)) {
21211 0 : SWIG_croak("Usage: legendObj_keyspacingy_get(self);");
21212 : }
21213 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21214 0 : if (!SWIG_IsOK(res1)) {
21215 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_get" "', argument " "1"" of type '" "legendObj *""'");
21216 : }
21217 0 : arg1 = (legendObj *)(argp1);
21218 0 : result = (int) ((arg1)->keyspacingy);
21219 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21220 :
21221 0 : XSRETURN(argvi);
21222 0 : fail:
21223 :
21224 0 : SWIG_croak_null();
21225 : }
21226 : }
21227 :
21228 :
21229 0 : XS(_wrap_legendObj_outlinecolor_set) {
21230 : {
21231 : legendObj *arg1 = (legendObj *) 0 ;
21232 : colorObj *arg2 = (colorObj *) 0 ;
21233 0 : void *argp1 = 0 ;
21234 : int res1 = 0 ;
21235 0 : void *argp2 = 0 ;
21236 : int res2 = 0 ;
21237 : int argvi = 0;
21238 0 : dXSARGS;
21239 :
21240 0 : if ((items < 2) || (items > 2)) {
21241 0 : SWIG_croak("Usage: legendObj_outlinecolor_set(self,outlinecolor);");
21242 : }
21243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21244 0 : if (!SWIG_IsOK(res1)) {
21245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_set" "', argument " "1"" of type '" "legendObj *""'");
21246 : }
21247 0 : arg1 = (legendObj *)(argp1);
21248 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
21249 0 : if (!SWIG_IsOK(res2)) {
21250 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
21251 : }
21252 0 : arg2 = (colorObj *)(argp2);
21253 0 : if (arg1) (arg1)->outlinecolor = *arg2;
21254 0 : ST(argvi) = sv_newmortal();
21255 :
21256 :
21257 0 : XSRETURN(argvi);
21258 0 : fail:
21259 :
21260 :
21261 0 : SWIG_croak_null();
21262 : }
21263 : }
21264 :
21265 :
21266 0 : XS(_wrap_legendObj_outlinecolor_get) {
21267 : {
21268 : legendObj *arg1 = (legendObj *) 0 ;
21269 0 : void *argp1 = 0 ;
21270 : int res1 = 0 ;
21271 : int argvi = 0;
21272 : colorObj *result = 0 ;
21273 0 : dXSARGS;
21274 :
21275 0 : if ((items < 1) || (items > 1)) {
21276 0 : SWIG_croak("Usage: legendObj_outlinecolor_get(self);");
21277 : }
21278 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21279 0 : if (!SWIG_IsOK(res1)) {
21280 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_get" "', argument " "1"" of type '" "legendObj *""'");
21281 : }
21282 0 : arg1 = (legendObj *)(argp1);
21283 0 : result = (colorObj *)& ((arg1)->outlinecolor);
21284 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
21285 :
21286 0 : XSRETURN(argvi);
21287 0 : fail:
21288 :
21289 0 : SWIG_croak_null();
21290 : }
21291 : }
21292 :
21293 :
21294 0 : XS(_wrap_legendObj_status_set) {
21295 : {
21296 : legendObj *arg1 = (legendObj *) 0 ;
21297 : int arg2 ;
21298 0 : void *argp1 = 0 ;
21299 : int res1 = 0 ;
21300 : int val2 ;
21301 : int ecode2 = 0 ;
21302 : int argvi = 0;
21303 0 : dXSARGS;
21304 :
21305 0 : if ((items < 2) || (items > 2)) {
21306 0 : SWIG_croak("Usage: legendObj_status_set(self,status);");
21307 : }
21308 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21309 0 : if (!SWIG_IsOK(res1)) {
21310 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_set" "', argument " "1"" of type '" "legendObj *""'");
21311 : }
21312 0 : arg1 = (legendObj *)(argp1);
21313 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21314 0 : if (!SWIG_IsOK(ecode2)) {
21315 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_status_set" "', argument " "2"" of type '" "int""'");
21316 : }
21317 : arg2 = (int)(val2);
21318 0 : if (arg1) (arg1)->status = arg2;
21319 0 : ST(argvi) = sv_newmortal();
21320 :
21321 :
21322 0 : XSRETURN(argvi);
21323 0 : fail:
21324 :
21325 :
21326 0 : SWIG_croak_null();
21327 : }
21328 : }
21329 :
21330 :
21331 0 : XS(_wrap_legendObj_status_get) {
21332 : {
21333 : legendObj *arg1 = (legendObj *) 0 ;
21334 0 : void *argp1 = 0 ;
21335 : int res1 = 0 ;
21336 : int argvi = 0;
21337 : int result;
21338 0 : dXSARGS;
21339 :
21340 0 : if ((items < 1) || (items > 1)) {
21341 0 : SWIG_croak("Usage: legendObj_status_get(self);");
21342 : }
21343 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21344 0 : if (!SWIG_IsOK(res1)) {
21345 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_get" "', argument " "1"" of type '" "legendObj *""'");
21346 : }
21347 0 : arg1 = (legendObj *)(argp1);
21348 0 : result = (int) ((arg1)->status);
21349 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21350 :
21351 0 : XSRETURN(argvi);
21352 0 : fail:
21353 :
21354 0 : SWIG_croak_null();
21355 : }
21356 : }
21357 :
21358 :
21359 0 : XS(_wrap_legendObj_height_set) {
21360 : {
21361 : legendObj *arg1 = (legendObj *) 0 ;
21362 : int arg2 ;
21363 0 : void *argp1 = 0 ;
21364 : int res1 = 0 ;
21365 : int val2 ;
21366 : int ecode2 = 0 ;
21367 : int argvi = 0;
21368 0 : dXSARGS;
21369 :
21370 0 : if ((items < 2) || (items > 2)) {
21371 0 : SWIG_croak("Usage: legendObj_height_set(self,height);");
21372 : }
21373 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21374 0 : if (!SWIG_IsOK(res1)) {
21375 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_set" "', argument " "1"" of type '" "legendObj *""'");
21376 : }
21377 0 : arg1 = (legendObj *)(argp1);
21378 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21379 0 : if (!SWIG_IsOK(ecode2)) {
21380 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_height_set" "', argument " "2"" of type '" "int""'");
21381 : }
21382 : arg2 = (int)(val2);
21383 0 : if (arg1) (arg1)->height = arg2;
21384 0 : ST(argvi) = sv_newmortal();
21385 :
21386 :
21387 0 : XSRETURN(argvi);
21388 0 : fail:
21389 :
21390 :
21391 0 : SWIG_croak_null();
21392 : }
21393 : }
21394 :
21395 :
21396 0 : XS(_wrap_legendObj_height_get) {
21397 : {
21398 : legendObj *arg1 = (legendObj *) 0 ;
21399 0 : void *argp1 = 0 ;
21400 : int res1 = 0 ;
21401 : int argvi = 0;
21402 : int result;
21403 0 : dXSARGS;
21404 :
21405 0 : if ((items < 1) || (items > 1)) {
21406 0 : SWIG_croak("Usage: legendObj_height_get(self);");
21407 : }
21408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21409 0 : if (!SWIG_IsOK(res1)) {
21410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_get" "', argument " "1"" of type '" "legendObj *""'");
21411 : }
21412 0 : arg1 = (legendObj *)(argp1);
21413 0 : result = (int) ((arg1)->height);
21414 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21415 :
21416 0 : XSRETURN(argvi);
21417 0 : fail:
21418 :
21419 0 : SWIG_croak_null();
21420 : }
21421 : }
21422 :
21423 :
21424 0 : XS(_wrap_legendObj_width_set) {
21425 : {
21426 : legendObj *arg1 = (legendObj *) 0 ;
21427 : int arg2 ;
21428 0 : void *argp1 = 0 ;
21429 : int res1 = 0 ;
21430 : int val2 ;
21431 : int ecode2 = 0 ;
21432 : int argvi = 0;
21433 0 : dXSARGS;
21434 :
21435 0 : if ((items < 2) || (items > 2)) {
21436 0 : SWIG_croak("Usage: legendObj_width_set(self,width);");
21437 : }
21438 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21439 0 : if (!SWIG_IsOK(res1)) {
21440 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_set" "', argument " "1"" of type '" "legendObj *""'");
21441 : }
21442 0 : arg1 = (legendObj *)(argp1);
21443 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21444 0 : if (!SWIG_IsOK(ecode2)) {
21445 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_width_set" "', argument " "2"" of type '" "int""'");
21446 : }
21447 : arg2 = (int)(val2);
21448 0 : if (arg1) (arg1)->width = arg2;
21449 0 : ST(argvi) = sv_newmortal();
21450 :
21451 :
21452 0 : XSRETURN(argvi);
21453 0 : fail:
21454 :
21455 :
21456 0 : SWIG_croak_null();
21457 : }
21458 : }
21459 :
21460 :
21461 0 : XS(_wrap_legendObj_width_get) {
21462 : {
21463 : legendObj *arg1 = (legendObj *) 0 ;
21464 0 : void *argp1 = 0 ;
21465 : int res1 = 0 ;
21466 : int argvi = 0;
21467 : int result;
21468 0 : dXSARGS;
21469 :
21470 0 : if ((items < 1) || (items > 1)) {
21471 0 : SWIG_croak("Usage: legendObj_width_get(self);");
21472 : }
21473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21474 0 : if (!SWIG_IsOK(res1)) {
21475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_get" "', argument " "1"" of type '" "legendObj *""'");
21476 : }
21477 0 : arg1 = (legendObj *)(argp1);
21478 0 : result = (int) ((arg1)->width);
21479 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21480 :
21481 0 : XSRETURN(argvi);
21482 0 : fail:
21483 :
21484 0 : SWIG_croak_null();
21485 : }
21486 : }
21487 :
21488 :
21489 0 : XS(_wrap_legendObj_position_set) {
21490 : {
21491 : legendObj *arg1 = (legendObj *) 0 ;
21492 : int arg2 ;
21493 0 : void *argp1 = 0 ;
21494 : int res1 = 0 ;
21495 : int val2 ;
21496 : int ecode2 = 0 ;
21497 : int argvi = 0;
21498 0 : dXSARGS;
21499 :
21500 0 : if ((items < 2) || (items > 2)) {
21501 0 : SWIG_croak("Usage: legendObj_position_set(self,position);");
21502 : }
21503 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21504 0 : if (!SWIG_IsOK(res1)) {
21505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_set" "', argument " "1"" of type '" "legendObj *""'");
21506 : }
21507 0 : arg1 = (legendObj *)(argp1);
21508 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21509 0 : if (!SWIG_IsOK(ecode2)) {
21510 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_position_set" "', argument " "2"" of type '" "int""'");
21511 : }
21512 : arg2 = (int)(val2);
21513 0 : if (arg1) (arg1)->position = arg2;
21514 0 : ST(argvi) = sv_newmortal();
21515 :
21516 :
21517 0 : XSRETURN(argvi);
21518 0 : fail:
21519 :
21520 :
21521 0 : SWIG_croak_null();
21522 : }
21523 : }
21524 :
21525 :
21526 0 : XS(_wrap_legendObj_position_get) {
21527 : {
21528 : legendObj *arg1 = (legendObj *) 0 ;
21529 0 : void *argp1 = 0 ;
21530 : int res1 = 0 ;
21531 : int argvi = 0;
21532 : int result;
21533 0 : dXSARGS;
21534 :
21535 0 : if ((items < 1) || (items > 1)) {
21536 0 : SWIG_croak("Usage: legendObj_position_get(self);");
21537 : }
21538 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21539 0 : if (!SWIG_IsOK(res1)) {
21540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_get" "', argument " "1"" of type '" "legendObj *""'");
21541 : }
21542 0 : arg1 = (legendObj *)(argp1);
21543 0 : result = (int) ((arg1)->position);
21544 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21545 :
21546 0 : XSRETURN(argvi);
21547 0 : fail:
21548 :
21549 0 : SWIG_croak_null();
21550 : }
21551 : }
21552 :
21553 :
21554 0 : XS(_wrap_legendObj_postlabelcache_set) {
21555 : {
21556 : legendObj *arg1 = (legendObj *) 0 ;
21557 : int arg2 ;
21558 0 : void *argp1 = 0 ;
21559 : int res1 = 0 ;
21560 : int val2 ;
21561 : int ecode2 = 0 ;
21562 : int argvi = 0;
21563 0 : dXSARGS;
21564 :
21565 0 : if ((items < 2) || (items > 2)) {
21566 0 : SWIG_croak("Usage: legendObj_postlabelcache_set(self,postlabelcache);");
21567 : }
21568 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21569 0 : if (!SWIG_IsOK(res1)) {
21570 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_set" "', argument " "1"" of type '" "legendObj *""'");
21571 : }
21572 0 : arg1 = (legendObj *)(argp1);
21573 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21574 0 : if (!SWIG_IsOK(ecode2)) {
21575 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
21576 : }
21577 : arg2 = (int)(val2);
21578 0 : if (arg1) (arg1)->postlabelcache = arg2;
21579 0 : ST(argvi) = sv_newmortal();
21580 :
21581 :
21582 0 : XSRETURN(argvi);
21583 0 : fail:
21584 :
21585 :
21586 0 : SWIG_croak_null();
21587 : }
21588 : }
21589 :
21590 :
21591 0 : XS(_wrap_legendObj_postlabelcache_get) {
21592 : {
21593 : legendObj *arg1 = (legendObj *) 0 ;
21594 0 : void *argp1 = 0 ;
21595 : int res1 = 0 ;
21596 : int argvi = 0;
21597 : int result;
21598 0 : dXSARGS;
21599 :
21600 0 : if ((items < 1) || (items > 1)) {
21601 0 : SWIG_croak("Usage: legendObj_postlabelcache_get(self);");
21602 : }
21603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21604 0 : if (!SWIG_IsOK(res1)) {
21605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_get" "', argument " "1"" of type '" "legendObj *""'");
21606 : }
21607 0 : arg1 = (legendObj *)(argp1);
21608 0 : result = (int) ((arg1)->postlabelcache);
21609 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21610 :
21611 0 : XSRETURN(argvi);
21612 0 : fail:
21613 :
21614 0 : SWIG_croak_null();
21615 : }
21616 : }
21617 :
21618 :
21619 0 : XS(_wrap_legendObj_template_set) {
21620 : {
21621 : legendObj *arg1 = (legendObj *) 0 ;
21622 : char *arg2 = (char *) 0 ;
21623 0 : void *argp1 = 0 ;
21624 : int res1 = 0 ;
21625 : int res2 ;
21626 0 : char *buf2 = 0 ;
21627 0 : int alloc2 = 0 ;
21628 : int argvi = 0;
21629 0 : dXSARGS;
21630 :
21631 0 : if ((items < 2) || (items > 2)) {
21632 0 : SWIG_croak("Usage: legendObj_template_set(self,template);");
21633 : }
21634 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21635 0 : if (!SWIG_IsOK(res1)) {
21636 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_set" "', argument " "1"" of type '" "legendObj *""'");
21637 : }
21638 0 : arg1 = (legendObj *)(argp1);
21639 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21640 0 : if (!SWIG_IsOK(res2)) {
21641 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_template_set" "', argument " "2"" of type '" "char *""'");
21642 : }
21643 0 : arg2 = (char *)(buf2);
21644 : {
21645 0 : if (arg1->template) free((char*)arg1->template);
21646 0 : if (arg2) {
21647 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
21648 : strcpy((char*)arg1->template,arg2);
21649 : } else {
21650 0 : arg1->template = 0;
21651 : }
21652 : }
21653 0 : ST(argvi) = sv_newmortal();
21654 :
21655 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21656 0 : XSRETURN(argvi);
21657 0 : fail:
21658 :
21659 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21660 0 : SWIG_croak_null();
21661 : }
21662 : }
21663 :
21664 :
21665 0 : XS(_wrap_legendObj_template_get) {
21666 : {
21667 : legendObj *arg1 = (legendObj *) 0 ;
21668 0 : void *argp1 = 0 ;
21669 : int res1 = 0 ;
21670 : int argvi = 0;
21671 : char *result = 0 ;
21672 0 : dXSARGS;
21673 :
21674 0 : if ((items < 1) || (items > 1)) {
21675 0 : SWIG_croak("Usage: legendObj_template_get(self);");
21676 : }
21677 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21678 0 : if (!SWIG_IsOK(res1)) {
21679 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_get" "', argument " "1"" of type '" "legendObj *""'");
21680 : }
21681 0 : arg1 = (legendObj *)(argp1);
21682 0 : result = (char *) ((arg1)->template);
21683 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21684 :
21685 0 : XSRETURN(argvi);
21686 0 : fail:
21687 :
21688 0 : SWIG_croak_null();
21689 : }
21690 : }
21691 :
21692 :
21693 0 : XS(_wrap_legendObj_map_get) {
21694 : {
21695 : legendObj *arg1 = (legendObj *) 0 ;
21696 0 : void *argp1 = 0 ;
21697 : int res1 = 0 ;
21698 : int argvi = 0;
21699 : struct mapObj *result = 0 ;
21700 0 : dXSARGS;
21701 :
21702 0 : if ((items < 1) || (items > 1)) {
21703 0 : SWIG_croak("Usage: legendObj_map_get(self);");
21704 : }
21705 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21706 0 : if (!SWIG_IsOK(res1)) {
21707 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_map_get" "', argument " "1"" of type '" "legendObj *""'");
21708 : }
21709 0 : arg1 = (legendObj *)(argp1);
21710 : {
21711 : /* Accessing map */
21712 0 : result = (struct mapObj *) ((arg1)->map);;
21713 0 : MS_REFCNT_INCR(result);
21714 : }
21715 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
21716 :
21717 0 : XSRETURN(argvi);
21718 0 : fail:
21719 :
21720 0 : SWIG_croak_null();
21721 : }
21722 : }
21723 :
21724 :
21725 0 : XS(_wrap_legendObj_updateFromString) {
21726 : {
21727 : legendObj *arg1 = (legendObj *) 0 ;
21728 : char *arg2 = (char *) 0 ;
21729 0 : void *argp1 = 0 ;
21730 : int res1 = 0 ;
21731 : int res2 ;
21732 0 : char *buf2 = 0 ;
21733 0 : int alloc2 = 0 ;
21734 : int argvi = 0;
21735 : int result;
21736 0 : dXSARGS;
21737 :
21738 0 : if ((items < 2) || (items > 2)) {
21739 0 : SWIG_croak("Usage: legendObj_updateFromString(self,snippet);");
21740 : }
21741 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21742 0 : if (!SWIG_IsOK(res1)) {
21743 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_updateFromString" "', argument " "1"" of type '" "legendObj *""'");
21744 : }
21745 0 : arg1 = (legendObj *)(argp1);
21746 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21747 0 : if (!SWIG_IsOK(res2)) {
21748 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_updateFromString" "', argument " "2"" of type '" "char *""'");
21749 : }
21750 0 : arg2 = (char *)(buf2);
21751 : result = (int)legendObj_updateFromString(arg1,arg2);
21752 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21753 :
21754 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21755 0 : XSRETURN(argvi);
21756 0 : fail:
21757 :
21758 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21759 0 : SWIG_croak_null();
21760 : }
21761 : }
21762 :
21763 :
21764 0 : XS(_wrap_legendObj_convertToString) {
21765 : {
21766 : legendObj *arg1 = (legendObj *) 0 ;
21767 0 : void *argp1 = 0 ;
21768 : int res1 = 0 ;
21769 : int argvi = 0;
21770 : char *result = 0 ;
21771 0 : dXSARGS;
21772 :
21773 0 : if ((items < 1) || (items > 1)) {
21774 0 : SWIG_croak("Usage: legendObj_convertToString(self);");
21775 : }
21776 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21777 0 : if (!SWIG_IsOK(res1)) {
21778 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_convertToString" "', argument " "1"" of type '" "legendObj *""'");
21779 : }
21780 0 : arg1 = (legendObj *)(argp1);
21781 : result = (char *)legendObj_convertToString(arg1);
21782 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21783 :
21784 0 : free((char*)result);
21785 0 : XSRETURN(argvi);
21786 0 : fail:
21787 :
21788 0 : SWIG_croak_null();
21789 : }
21790 : }
21791 :
21792 :
21793 0 : XS(_wrap_new_legendObj) {
21794 : {
21795 : int argvi = 0;
21796 : legendObj *result = 0 ;
21797 0 : dXSARGS;
21798 :
21799 0 : if ((items < 0) || (items > 0)) {
21800 0 : SWIG_croak("Usage: new_legendObj();");
21801 : }
21802 0 : result = (legendObj *)calloc(1, sizeof(legendObj));
21803 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
21804 0 : XSRETURN(argvi);
21805 : fail:
21806 0 : SWIG_croak_null();
21807 : }
21808 : }
21809 :
21810 :
21811 0 : XS(_wrap_delete_legendObj) {
21812 : {
21813 : legendObj *arg1 = (legendObj *) 0 ;
21814 0 : void *argp1 = 0 ;
21815 : int res1 = 0 ;
21816 : int argvi = 0;
21817 0 : dXSARGS;
21818 :
21819 0 : if ((items < 1) || (items > 1)) {
21820 0 : SWIG_croak("Usage: delete_legendObj(self);");
21821 : }
21822 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, SWIG_POINTER_DISOWN | 0 );
21823 0 : if (!SWIG_IsOK(res1)) {
21824 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_legendObj" "', argument " "1"" of type '" "legendObj *""'");
21825 : }
21826 0 : arg1 = (legendObj *)(argp1);
21827 0 : free((char *) arg1);
21828 0 : ST(argvi) = sv_newmortal();
21829 :
21830 0 : XSRETURN(argvi);
21831 0 : fail:
21832 :
21833 0 : SWIG_croak_null();
21834 : }
21835 : }
21836 :
21837 :
21838 0 : XS(_wrap_imageObj_width_get) {
21839 : {
21840 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21841 0 : void *argp1 = 0 ;
21842 : int res1 = 0 ;
21843 : int argvi = 0;
21844 : int result;
21845 0 : dXSARGS;
21846 :
21847 0 : if ((items < 1) || (items > 1)) {
21848 0 : SWIG_croak("Usage: imageObj_width_get(self);");
21849 : }
21850 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21851 0 : if (!SWIG_IsOK(res1)) {
21852 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_width_get" "', argument " "1"" of type '" "struct imageObj *""'");
21853 : }
21854 0 : arg1 = (struct imageObj *)(argp1);
21855 0 : result = (int) ((arg1)->width);
21856 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21857 :
21858 0 : XSRETURN(argvi);
21859 0 : fail:
21860 :
21861 0 : SWIG_croak_null();
21862 : }
21863 : }
21864 :
21865 :
21866 0 : XS(_wrap_imageObj_height_get) {
21867 : {
21868 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21869 0 : void *argp1 = 0 ;
21870 : int res1 = 0 ;
21871 : int argvi = 0;
21872 : int result;
21873 0 : dXSARGS;
21874 :
21875 0 : if ((items < 1) || (items > 1)) {
21876 0 : SWIG_croak("Usage: imageObj_height_get(self);");
21877 : }
21878 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21879 0 : if (!SWIG_IsOK(res1)) {
21880 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_height_get" "', argument " "1"" of type '" "struct imageObj *""'");
21881 : }
21882 0 : arg1 = (struct imageObj *)(argp1);
21883 0 : result = (int) ((arg1)->height);
21884 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21885 :
21886 0 : XSRETURN(argvi);
21887 0 : fail:
21888 :
21889 0 : SWIG_croak_null();
21890 : }
21891 : }
21892 :
21893 :
21894 0 : XS(_wrap_imageObj_resolution_get) {
21895 : {
21896 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21897 0 : void *argp1 = 0 ;
21898 : int res1 = 0 ;
21899 : int argvi = 0;
21900 : double result;
21901 0 : dXSARGS;
21902 :
21903 0 : if ((items < 1) || (items > 1)) {
21904 0 : SWIG_croak("Usage: imageObj_resolution_get(self);");
21905 : }
21906 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21907 0 : if (!SWIG_IsOK(res1)) {
21908 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolution_get" "', argument " "1"" of type '" "struct imageObj *""'");
21909 : }
21910 0 : arg1 = (struct imageObj *)(argp1);
21911 0 : result = (double) ((arg1)->resolution);
21912 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21913 :
21914 0 : XSRETURN(argvi);
21915 0 : fail:
21916 :
21917 0 : SWIG_croak_null();
21918 : }
21919 : }
21920 :
21921 :
21922 0 : XS(_wrap_imageObj_resolutionfactor_get) {
21923 : {
21924 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21925 0 : void *argp1 = 0 ;
21926 : int res1 = 0 ;
21927 : int argvi = 0;
21928 : double result;
21929 0 : dXSARGS;
21930 :
21931 0 : if ((items < 1) || (items > 1)) {
21932 0 : SWIG_croak("Usage: imageObj_resolutionfactor_get(self);");
21933 : }
21934 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21935 0 : if (!SWIG_IsOK(res1)) {
21936 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolutionfactor_get" "', argument " "1"" of type '" "struct imageObj *""'");
21937 : }
21938 0 : arg1 = (struct imageObj *)(argp1);
21939 0 : result = (double) ((arg1)->resolutionfactor);
21940 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21941 :
21942 0 : XSRETURN(argvi);
21943 0 : fail:
21944 :
21945 0 : SWIG_croak_null();
21946 : }
21947 : }
21948 :
21949 :
21950 0 : XS(_wrap_imageObj_imagepath_get) {
21951 : {
21952 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21953 0 : void *argp1 = 0 ;
21954 : int res1 = 0 ;
21955 : int argvi = 0;
21956 : char *result = 0 ;
21957 0 : dXSARGS;
21958 :
21959 0 : if ((items < 1) || (items > 1)) {
21960 0 : SWIG_croak("Usage: imageObj_imagepath_get(self);");
21961 : }
21962 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21963 0 : if (!SWIG_IsOK(res1)) {
21964 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imagepath_get" "', argument " "1"" of type '" "struct imageObj *""'");
21965 : }
21966 0 : arg1 = (struct imageObj *)(argp1);
21967 0 : result = (char *) ((arg1)->imagepath);
21968 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21969 :
21970 0 : XSRETURN(argvi);
21971 0 : fail:
21972 :
21973 0 : SWIG_croak_null();
21974 : }
21975 : }
21976 :
21977 :
21978 0 : XS(_wrap_imageObj_imageurl_get) {
21979 : {
21980 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21981 0 : void *argp1 = 0 ;
21982 : int res1 = 0 ;
21983 : int argvi = 0;
21984 : char *result = 0 ;
21985 0 : dXSARGS;
21986 :
21987 0 : if ((items < 1) || (items > 1)) {
21988 0 : SWIG_croak("Usage: imageObj_imageurl_get(self);");
21989 : }
21990 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21991 0 : if (!SWIG_IsOK(res1)) {
21992 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imageurl_get" "', argument " "1"" of type '" "struct imageObj *""'");
21993 : }
21994 0 : arg1 = (struct imageObj *)(argp1);
21995 0 : result = (char *) ((arg1)->imageurl);
21996 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21997 :
21998 0 : XSRETURN(argvi);
21999 0 : fail:
22000 :
22001 0 : SWIG_croak_null();
22002 : }
22003 : }
22004 :
22005 :
22006 0 : XS(_wrap_imageObj_format_get) {
22007 : {
22008 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22009 0 : void *argp1 = 0 ;
22010 : int res1 = 0 ;
22011 : int argvi = 0;
22012 : outputFormatObj *result = 0 ;
22013 0 : dXSARGS;
22014 :
22015 0 : if ((items < 1) || (items > 1)) {
22016 0 : SWIG_croak("Usage: imageObj_format_get(self);");
22017 : }
22018 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22019 0 : if (!SWIG_IsOK(res1)) {
22020 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_format_get" "', argument " "1"" of type '" "struct imageObj *""'");
22021 : }
22022 0 : arg1 = (struct imageObj *)(argp1);
22023 0 : result = (outputFormatObj *) ((arg1)->format);
22024 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
22025 :
22026 0 : XSRETURN(argvi);
22027 0 : fail:
22028 :
22029 0 : SWIG_croak_null();
22030 : }
22031 : }
22032 :
22033 :
22034 0 : XS(_wrap_new_imageObj) {
22035 : {
22036 : int arg1 ;
22037 : int arg2 ;
22038 : outputFormatObj *arg3 = (outputFormatObj *) NULL ;
22039 : char *arg4 = (char *) NULL ;
22040 : double arg5 = (double) MS_DEFAULT_RESOLUTION ;
22041 : double arg6 = (double) MS_DEFAULT_RESOLUTION ;
22042 : int val1 ;
22043 : int ecode1 = 0 ;
22044 : int val2 ;
22045 : int ecode2 = 0 ;
22046 0 : void *argp3 = 0 ;
22047 : int res3 = 0 ;
22048 : int res4 ;
22049 0 : char *buf4 = 0 ;
22050 0 : int alloc4 = 0 ;
22051 : double val5 ;
22052 : int ecode5 = 0 ;
22053 : double val6 ;
22054 : int ecode6 = 0 ;
22055 : int argvi = 0;
22056 : struct imageObj *result = 0 ;
22057 0 : dXSARGS;
22058 :
22059 0 : if ((items < 2) || (items > 6)) {
22060 0 : SWIG_croak("Usage: new_imageObj(width,height,input_format,file,resolution,defresolution);");
22061 : }
22062 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
22063 0 : if (!SWIG_IsOK(ecode1)) {
22064 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_imageObj" "', argument " "1"" of type '" "int""'");
22065 : }
22066 : arg1 = (int)(val1);
22067 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22068 0 : if (!SWIG_IsOK(ecode2)) {
22069 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_imageObj" "', argument " "2"" of type '" "int""'");
22070 : }
22071 : arg2 = (int)(val2);
22072 0 : if (items > 2) {
22073 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_outputFormatObj, 0 | 0 );
22074 0 : if (!SWIG_IsOK(res3)) {
22075 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_imageObj" "', argument " "3"" of type '" "outputFormatObj *""'");
22076 : }
22077 0 : arg3 = (outputFormatObj *)(argp3);
22078 : }
22079 0 : if (items > 3) {
22080 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
22081 0 : if (!SWIG_IsOK(res4)) {
22082 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_imageObj" "', argument " "4"" of type '" "char const *""'");
22083 : }
22084 0 : arg4 = (char *)(buf4);
22085 : }
22086 0 : if (items > 4) {
22087 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
22088 0 : if (!SWIG_IsOK(ecode5)) {
22089 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_imageObj" "', argument " "5"" of type '" "double""'");
22090 : }
22091 0 : arg5 = (double)(val5);
22092 : }
22093 0 : if (items > 5) {
22094 0 : ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
22095 0 : if (!SWIG_IsOK(ecode6)) {
22096 0 : SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_imageObj" "', argument " "6"" of type '" "double""'");
22097 : }
22098 0 : arg6 = (double)(val6);
22099 : }
22100 0 : result = (struct imageObj *)new_imageObj(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
22101 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22102 :
22103 :
22104 :
22105 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
22106 :
22107 :
22108 0 : XSRETURN(argvi);
22109 0 : fail:
22110 :
22111 :
22112 :
22113 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
22114 :
22115 :
22116 0 : SWIG_croak_null();
22117 : }
22118 : }
22119 :
22120 :
22121 0 : XS(_wrap_delete_imageObj) {
22122 : {
22123 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22124 0 : void *argp1 = 0 ;
22125 : int res1 = 0 ;
22126 : int argvi = 0;
22127 0 : dXSARGS;
22128 :
22129 0 : if ((items < 1) || (items > 1)) {
22130 0 : SWIG_croak("Usage: delete_imageObj(self);");
22131 : }
22132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, SWIG_POINTER_DISOWN | 0 );
22133 0 : if (!SWIG_IsOK(res1)) {
22134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imageObj" "', argument " "1"" of type '" "struct imageObj *""'");
22135 : }
22136 0 : arg1 = (struct imageObj *)(argp1);
22137 : delete_imageObj(arg1);
22138 0 : ST(argvi) = sv_newmortal();
22139 :
22140 0 : XSRETURN(argvi);
22141 0 : fail:
22142 :
22143 0 : SWIG_croak_null();
22144 : }
22145 : }
22146 :
22147 :
22148 0 : XS(_wrap_imageObj_save) {
22149 : {
22150 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22151 : char *arg2 = (char *) 0 ;
22152 : mapObj *arg3 = (mapObj *) NULL ;
22153 0 : void *argp1 = 0 ;
22154 : int res1 = 0 ;
22155 : int res2 ;
22156 0 : char *buf2 = 0 ;
22157 0 : int alloc2 = 0 ;
22158 0 : void *argp3 = 0 ;
22159 : int res3 = 0 ;
22160 : int argvi = 0;
22161 0 : dXSARGS;
22162 :
22163 0 : if ((items < 2) || (items > 3)) {
22164 0 : SWIG_croak("Usage: imageObj_save(self,filename,map);");
22165 : }
22166 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22167 0 : if (!SWIG_IsOK(res1)) {
22168 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_save" "', argument " "1"" of type '" "struct imageObj *""'");
22169 : }
22170 0 : arg1 = (struct imageObj *)(argp1);
22171 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22172 0 : if (!SWIG_IsOK(res2)) {
22173 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imageObj_save" "', argument " "2"" of type '" "char *""'");
22174 : }
22175 0 : arg2 = (char *)(buf2);
22176 0 : if (items > 2) {
22177 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_mapObj, 0 | 0 );
22178 0 : if (!SWIG_IsOK(res3)) {
22179 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "imageObj_save" "', argument " "3"" of type '" "mapObj *""'");
22180 : }
22181 0 : arg3 = (mapObj *)(argp3);
22182 : }
22183 : imageObj_save(arg1,arg2,arg3);
22184 0 : ST(argvi) = sv_newmortal();
22185 :
22186 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22187 :
22188 0 : XSRETURN(argvi);
22189 0 : fail:
22190 :
22191 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22192 :
22193 0 : SWIG_croak_null();
22194 : }
22195 : }
22196 :
22197 :
22198 0 : XS(_wrap_imageObj_write) {
22199 : {
22200 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22201 : FILE *arg2 = (FILE *) NULL ;
22202 0 : void *argp1 = 0 ;
22203 : int res1 = 0 ;
22204 : int argvi = 0;
22205 : int result;
22206 0 : dXSARGS;
22207 :
22208 0 : if ((items < 1) || (items > 2)) {
22209 0 : SWIG_croak("Usage: imageObj_write(self,file);");
22210 : }
22211 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22212 0 : if (!SWIG_IsOK(res1)) {
22213 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_write" "', argument " "1"" of type '" "struct imageObj *""'");
22214 : }
22215 0 : arg1 = (struct imageObj *)(argp1);
22216 0 : if (items > 1) {
22217 : {
22218 0 : arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
22219 : }
22220 : }
22221 0 : result = (int)imageObj_write(arg1,arg2);
22222 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22223 :
22224 :
22225 0 : XSRETURN(argvi);
22226 0 : fail:
22227 :
22228 :
22229 0 : SWIG_croak_null();
22230 : }
22231 : }
22232 :
22233 :
22234 0 : XS(_wrap_imageObj_getBytes) {
22235 : {
22236 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22237 0 : void *argp1 = 0 ;
22238 : int res1 = 0 ;
22239 : int argvi = 0;
22240 : gdBuffer result;
22241 0 : dXSARGS;
22242 :
22243 0 : if ((items < 1) || (items > 1)) {
22244 0 : SWIG_croak("Usage: imageObj_getBytes(self);");
22245 : }
22246 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22247 0 : if (!SWIG_IsOK(res1)) {
22248 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getBytes" "', argument " "1"" of type '" "struct imageObj *""'");
22249 : }
22250 0 : arg1 = (struct imageObj *)(argp1);
22251 0 : result = imageObj_getBytes(arg1);
22252 : {
22253 : SV *mysv;
22254 0 : mysv = sv_newmortal();
22255 0 : if ((&result)->data == NULL)
22256 0 : sv_setpv(mysv,"");
22257 : else
22258 0 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
22259 0 : ST(argvi) = newRV(mysv);
22260 0 : sv_2mortal(ST(argvi));
22261 : argvi++;
22262 0 : if( (&result)->owns_data )
22263 0 : msFree((&result)->data);
22264 : }
22265 :
22266 0 : XSRETURN(argvi);
22267 0 : fail:
22268 :
22269 0 : SWIG_croak_null();
22270 : }
22271 : }
22272 :
22273 :
22274 0 : XS(_wrap_imageObj_getSize) {
22275 : {
22276 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22277 0 : void *argp1 = 0 ;
22278 : int res1 = 0 ;
22279 : int argvi = 0;
22280 : int result;
22281 0 : dXSARGS;
22282 :
22283 0 : if ((items < 1) || (items > 1)) {
22284 0 : SWIG_croak("Usage: imageObj_getSize(self);");
22285 : }
22286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22287 0 : if (!SWIG_IsOK(res1)) {
22288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getSize" "', argument " "1"" of type '" "struct imageObj *""'");
22289 : }
22290 0 : arg1 = (struct imageObj *)(argp1);
22291 0 : result = (int)imageObj_getSize(arg1);
22292 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22293 :
22294 0 : XSRETURN(argvi);
22295 0 : fail:
22296 :
22297 0 : SWIG_croak_null();
22298 : }
22299 : }
22300 :
22301 :
22302 0 : XS(_wrap_scaleTokenEntryObj_minscale_set) {
22303 : {
22304 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22305 : double arg2 ;
22306 0 : void *argp1 = 0 ;
22307 : int res1 = 0 ;
22308 : double val2 ;
22309 : int ecode2 = 0 ;
22310 : int argvi = 0;
22311 0 : dXSARGS;
22312 :
22313 0 : if ((items < 2) || (items > 2)) {
22314 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_set(self,minscale);");
22315 : }
22316 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22317 0 : if (!SWIG_IsOK(res1)) {
22318 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22319 : }
22320 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22321 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22322 0 : if (!SWIG_IsOK(ecode2)) {
22323 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "2"" of type '" "double""'");
22324 : }
22325 0 : arg2 = (double)(val2);
22326 0 : if (arg1) (arg1)->minscale = arg2;
22327 0 : ST(argvi) = sv_newmortal();
22328 :
22329 :
22330 0 : XSRETURN(argvi);
22331 0 : fail:
22332 :
22333 :
22334 0 : SWIG_croak_null();
22335 : }
22336 : }
22337 :
22338 :
22339 0 : XS(_wrap_scaleTokenEntryObj_minscale_get) {
22340 : {
22341 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22342 0 : void *argp1 = 0 ;
22343 : int res1 = 0 ;
22344 : int argvi = 0;
22345 : double result;
22346 0 : dXSARGS;
22347 :
22348 0 : if ((items < 1) || (items > 1)) {
22349 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_get(self);");
22350 : }
22351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22352 0 : if (!SWIG_IsOK(res1)) {
22353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22354 : }
22355 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22356 0 : result = (double) ((arg1)->minscale);
22357 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22358 :
22359 0 : XSRETURN(argvi);
22360 0 : fail:
22361 :
22362 0 : SWIG_croak_null();
22363 : }
22364 : }
22365 :
22366 :
22367 0 : XS(_wrap_scaleTokenEntryObj_maxscale_set) {
22368 : {
22369 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22370 : double arg2 ;
22371 0 : void *argp1 = 0 ;
22372 : int res1 = 0 ;
22373 : double val2 ;
22374 : int ecode2 = 0 ;
22375 : int argvi = 0;
22376 0 : dXSARGS;
22377 :
22378 0 : if ((items < 2) || (items > 2)) {
22379 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_set(self,maxscale);");
22380 : }
22381 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22382 0 : if (!SWIG_IsOK(res1)) {
22383 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22384 : }
22385 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22386 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22387 0 : if (!SWIG_IsOK(ecode2)) {
22388 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "2"" of type '" "double""'");
22389 : }
22390 0 : arg2 = (double)(val2);
22391 0 : if (arg1) (arg1)->maxscale = arg2;
22392 0 : ST(argvi) = sv_newmortal();
22393 :
22394 :
22395 0 : XSRETURN(argvi);
22396 0 : fail:
22397 :
22398 :
22399 0 : SWIG_croak_null();
22400 : }
22401 : }
22402 :
22403 :
22404 0 : XS(_wrap_scaleTokenEntryObj_maxscale_get) {
22405 : {
22406 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22407 0 : void *argp1 = 0 ;
22408 : int res1 = 0 ;
22409 : int argvi = 0;
22410 : double result;
22411 0 : dXSARGS;
22412 :
22413 0 : if ((items < 1) || (items > 1)) {
22414 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_get(self);");
22415 : }
22416 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22417 0 : if (!SWIG_IsOK(res1)) {
22418 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22419 : }
22420 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22421 0 : result = (double) ((arg1)->maxscale);
22422 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22423 :
22424 0 : XSRETURN(argvi);
22425 0 : fail:
22426 :
22427 0 : SWIG_croak_null();
22428 : }
22429 : }
22430 :
22431 :
22432 0 : XS(_wrap_scaleTokenEntryObj_value_set) {
22433 : {
22434 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22435 : char *arg2 = (char *) 0 ;
22436 0 : void *argp1 = 0 ;
22437 : int res1 = 0 ;
22438 : int res2 ;
22439 0 : char *buf2 = 0 ;
22440 0 : int alloc2 = 0 ;
22441 : int argvi = 0;
22442 0 : dXSARGS;
22443 :
22444 0 : if ((items < 2) || (items > 2)) {
22445 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_set(self,value);");
22446 : }
22447 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22448 0 : if (!SWIG_IsOK(res1)) {
22449 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22450 : }
22451 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22452 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22453 0 : if (!SWIG_IsOK(res2)) {
22454 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenEntryObj_value_set" "', argument " "2"" of type '" "char *""'");
22455 : }
22456 0 : arg2 = (char *)(buf2);
22457 : {
22458 0 : if (arg1->value) free((char*)arg1->value);
22459 0 : if (arg2) {
22460 0 : arg1->value = (char *) malloc(strlen(arg2)+1);
22461 : strcpy((char*)arg1->value,arg2);
22462 : } else {
22463 0 : arg1->value = 0;
22464 : }
22465 : }
22466 0 : ST(argvi) = sv_newmortal();
22467 :
22468 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22469 0 : XSRETURN(argvi);
22470 0 : fail:
22471 :
22472 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22473 0 : SWIG_croak_null();
22474 : }
22475 : }
22476 :
22477 :
22478 0 : XS(_wrap_scaleTokenEntryObj_value_get) {
22479 : {
22480 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22481 0 : void *argp1 = 0 ;
22482 : int res1 = 0 ;
22483 : int argvi = 0;
22484 : char *result = 0 ;
22485 0 : dXSARGS;
22486 :
22487 0 : if ((items < 1) || (items > 1)) {
22488 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_get(self);");
22489 : }
22490 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22491 0 : if (!SWIG_IsOK(res1)) {
22492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22493 : }
22494 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22495 0 : result = (char *) ((arg1)->value);
22496 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22497 :
22498 0 : XSRETURN(argvi);
22499 0 : fail:
22500 :
22501 0 : SWIG_croak_null();
22502 : }
22503 : }
22504 :
22505 :
22506 0 : XS(_wrap_new_scaleTokenEntryObj) {
22507 : {
22508 : int argvi = 0;
22509 : scaleTokenEntryObj *result = 0 ;
22510 0 : dXSARGS;
22511 :
22512 0 : if ((items < 0) || (items > 0)) {
22513 0 : SWIG_croak("Usage: new_scaleTokenEntryObj();");
22514 : }
22515 0 : result = (scaleTokenEntryObj *)calloc(1, sizeof(scaleTokenEntryObj));
22516 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22517 0 : XSRETURN(argvi);
22518 : fail:
22519 0 : SWIG_croak_null();
22520 : }
22521 : }
22522 :
22523 :
22524 0 : XS(_wrap_delete_scaleTokenEntryObj) {
22525 : {
22526 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22527 0 : void *argp1 = 0 ;
22528 : int res1 = 0 ;
22529 : int argvi = 0;
22530 0 : dXSARGS;
22531 :
22532 0 : if ((items < 1) || (items > 1)) {
22533 0 : SWIG_croak("Usage: delete_scaleTokenEntryObj(self);");
22534 : }
22535 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22536 0 : if (!SWIG_IsOK(res1)) {
22537 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenEntryObj" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22538 : }
22539 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22540 0 : free((char *) arg1);
22541 0 : ST(argvi) = sv_newmortal();
22542 :
22543 0 : XSRETURN(argvi);
22544 0 : fail:
22545 :
22546 0 : SWIG_croak_null();
22547 : }
22548 : }
22549 :
22550 :
22551 0 : XS(_wrap_scaleTokenObj_name_set) {
22552 : {
22553 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22554 : char *arg2 = (char *) 0 ;
22555 0 : void *argp1 = 0 ;
22556 : int res1 = 0 ;
22557 : int res2 ;
22558 0 : char *buf2 = 0 ;
22559 0 : int alloc2 = 0 ;
22560 : int argvi = 0;
22561 0 : dXSARGS;
22562 :
22563 0 : if ((items < 2) || (items > 2)) {
22564 0 : SWIG_croak("Usage: scaleTokenObj_name_set(self,name);");
22565 : }
22566 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22567 0 : if (!SWIG_IsOK(res1)) {
22568 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22569 : }
22570 0 : arg1 = (scaleTokenObj *)(argp1);
22571 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22572 0 : if (!SWIG_IsOK(res2)) {
22573 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_name_set" "', argument " "2"" of type '" "char *""'");
22574 : }
22575 0 : arg2 = (char *)(buf2);
22576 : {
22577 0 : if (arg1->name) free((char*)arg1->name);
22578 0 : if (arg2) {
22579 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
22580 : strcpy((char*)arg1->name,arg2);
22581 : } else {
22582 0 : arg1->name = 0;
22583 : }
22584 : }
22585 0 : ST(argvi) = sv_newmortal();
22586 :
22587 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22588 0 : XSRETURN(argvi);
22589 0 : fail:
22590 :
22591 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22592 0 : SWIG_croak_null();
22593 : }
22594 : }
22595 :
22596 :
22597 0 : XS(_wrap_scaleTokenObj_name_get) {
22598 : {
22599 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22600 0 : void *argp1 = 0 ;
22601 : int res1 = 0 ;
22602 : int argvi = 0;
22603 : char *result = 0 ;
22604 0 : dXSARGS;
22605 :
22606 0 : if ((items < 1) || (items > 1)) {
22607 0 : SWIG_croak("Usage: scaleTokenObj_name_get(self);");
22608 : }
22609 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22610 0 : if (!SWIG_IsOK(res1)) {
22611 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22612 : }
22613 0 : arg1 = (scaleTokenObj *)(argp1);
22614 0 : result = (char *) ((arg1)->name);
22615 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22616 :
22617 0 : XSRETURN(argvi);
22618 0 : fail:
22619 :
22620 0 : SWIG_croak_null();
22621 : }
22622 : }
22623 :
22624 :
22625 0 : XS(_wrap_scaleTokenObj_n_entries_set) {
22626 : {
22627 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22628 : int arg2 ;
22629 0 : void *argp1 = 0 ;
22630 : int res1 = 0 ;
22631 : int val2 ;
22632 : int ecode2 = 0 ;
22633 : int argvi = 0;
22634 0 : dXSARGS;
22635 :
22636 0 : if ((items < 2) || (items > 2)) {
22637 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_set(self,n_entries);");
22638 : }
22639 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22640 0 : if (!SWIG_IsOK(res1)) {
22641 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22642 : }
22643 0 : arg1 = (scaleTokenObj *)(argp1);
22644 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22645 0 : if (!SWIG_IsOK(ecode2)) {
22646 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenObj_n_entries_set" "', argument " "2"" of type '" "int""'");
22647 : }
22648 : arg2 = (int)(val2);
22649 0 : if (arg1) (arg1)->n_entries = arg2;
22650 0 : ST(argvi) = sv_newmortal();
22651 :
22652 :
22653 0 : XSRETURN(argvi);
22654 0 : fail:
22655 :
22656 :
22657 0 : SWIG_croak_null();
22658 : }
22659 : }
22660 :
22661 :
22662 0 : XS(_wrap_scaleTokenObj_n_entries_get) {
22663 : {
22664 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22665 0 : void *argp1 = 0 ;
22666 : int res1 = 0 ;
22667 : int argvi = 0;
22668 : int result;
22669 0 : dXSARGS;
22670 :
22671 0 : if ((items < 1) || (items > 1)) {
22672 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_get(self);");
22673 : }
22674 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22675 0 : if (!SWIG_IsOK(res1)) {
22676 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22677 : }
22678 0 : arg1 = (scaleTokenObj *)(argp1);
22679 0 : result = (int) ((arg1)->n_entries);
22680 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22681 :
22682 0 : XSRETURN(argvi);
22683 0 : fail:
22684 :
22685 0 : SWIG_croak_null();
22686 : }
22687 : }
22688 :
22689 :
22690 0 : XS(_wrap_scaleTokenObj_tokens_set) {
22691 : {
22692 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22693 : scaleTokenEntryObj *arg2 = (scaleTokenEntryObj *) 0 ;
22694 0 : void *argp1 = 0 ;
22695 : int res1 = 0 ;
22696 0 : void *argp2 = 0 ;
22697 : int res2 = 0 ;
22698 : int argvi = 0;
22699 0 : dXSARGS;
22700 :
22701 0 : if ((items < 2) || (items > 2)) {
22702 0 : SWIG_croak("Usage: scaleTokenObj_tokens_set(self,tokens);");
22703 : }
22704 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22705 0 : if (!SWIG_IsOK(res1)) {
22706 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22707 : }
22708 0 : arg1 = (scaleTokenObj *)(argp1);
22709 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22710 0 : if (!SWIG_IsOK(res2)) {
22711 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_tokens_set" "', argument " "2"" of type '" "scaleTokenEntryObj *""'");
22712 : }
22713 0 : arg2 = (scaleTokenEntryObj *)(argp2);
22714 0 : if (arg1) (arg1)->tokens = arg2;
22715 0 : ST(argvi) = sv_newmortal();
22716 :
22717 :
22718 0 : XSRETURN(argvi);
22719 0 : fail:
22720 :
22721 :
22722 0 : SWIG_croak_null();
22723 : }
22724 : }
22725 :
22726 :
22727 0 : XS(_wrap_scaleTokenObj_tokens_get) {
22728 : {
22729 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22730 0 : void *argp1 = 0 ;
22731 : int res1 = 0 ;
22732 : int argvi = 0;
22733 : scaleTokenEntryObj *result = 0 ;
22734 0 : dXSARGS;
22735 :
22736 0 : if ((items < 1) || (items > 1)) {
22737 0 : SWIG_croak("Usage: scaleTokenObj_tokens_get(self);");
22738 : }
22739 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22740 0 : if (!SWIG_IsOK(res1)) {
22741 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22742 : }
22743 0 : arg1 = (scaleTokenObj *)(argp1);
22744 0 : result = (scaleTokenEntryObj *) ((arg1)->tokens);
22745 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, 0 | SWIG_SHADOW); argvi++ ;
22746 :
22747 0 : XSRETURN(argvi);
22748 0 : fail:
22749 :
22750 0 : SWIG_croak_null();
22751 : }
22752 : }
22753 :
22754 :
22755 0 : XS(_wrap_new_scaleTokenObj) {
22756 : {
22757 : int argvi = 0;
22758 : scaleTokenObj *result = 0 ;
22759 0 : dXSARGS;
22760 :
22761 0 : if ((items < 0) || (items > 0)) {
22762 0 : SWIG_croak("Usage: new_scaleTokenObj();");
22763 : }
22764 0 : result = (scaleTokenObj *)calloc(1, sizeof(scaleTokenObj));
22765 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22766 0 : XSRETURN(argvi);
22767 : fail:
22768 0 : SWIG_croak_null();
22769 : }
22770 : }
22771 :
22772 :
22773 0 : XS(_wrap_delete_scaleTokenObj) {
22774 : {
22775 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22776 0 : void *argp1 = 0 ;
22777 : int res1 = 0 ;
22778 : int argvi = 0;
22779 0 : dXSARGS;
22780 :
22781 0 : if ((items < 1) || (items > 1)) {
22782 0 : SWIG_croak("Usage: delete_scaleTokenObj(self);");
22783 : }
22784 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, SWIG_POINTER_DISOWN | 0 );
22785 0 : if (!SWIG_IsOK(res1)) {
22786 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenObj" "', argument " "1"" of type '" "scaleTokenObj *""'");
22787 : }
22788 0 : arg1 = (scaleTokenObj *)(argp1);
22789 0 : free((char *) arg1);
22790 0 : ST(argvi) = sv_newmortal();
22791 :
22792 0 : XSRETURN(argvi);
22793 0 : fail:
22794 :
22795 0 : SWIG_croak_null();
22796 : }
22797 : }
22798 :
22799 :
22800 0 : XS(_wrap_layerObj_classitem_set) {
22801 : {
22802 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22803 : char *arg2 = (char *) 0 ;
22804 0 : void *argp1 = 0 ;
22805 : int res1 = 0 ;
22806 : int res2 ;
22807 0 : char *buf2 = 0 ;
22808 0 : int alloc2 = 0 ;
22809 : int argvi = 0;
22810 0 : dXSARGS;
22811 :
22812 0 : if ((items < 2) || (items > 2)) {
22813 0 : SWIG_croak("Usage: layerObj_classitem_set(self,classitem);");
22814 : }
22815 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22816 0 : if (!SWIG_IsOK(res1)) {
22817 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
22818 : }
22819 0 : arg1 = (struct layerObj *)(argp1);
22820 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22821 0 : if (!SWIG_IsOK(res2)) {
22822 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classitem_set" "', argument " "2"" of type '" "char *""'");
22823 : }
22824 0 : arg2 = (char *)(buf2);
22825 : {
22826 0 : if (arg1->classitem) free((char*)arg1->classitem);
22827 0 : if (arg2) {
22828 0 : arg1->classitem = (char *) malloc(strlen(arg2)+1);
22829 : strcpy((char*)arg1->classitem,arg2);
22830 : } else {
22831 0 : arg1->classitem = 0;
22832 : }
22833 : }
22834 0 : ST(argvi) = sv_newmortal();
22835 :
22836 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22837 0 : XSRETURN(argvi);
22838 0 : fail:
22839 :
22840 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22841 0 : SWIG_croak_null();
22842 : }
22843 : }
22844 :
22845 :
22846 0 : XS(_wrap_layerObj_classitem_get) {
22847 : {
22848 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22849 0 : void *argp1 = 0 ;
22850 : int res1 = 0 ;
22851 : int argvi = 0;
22852 : char *result = 0 ;
22853 0 : dXSARGS;
22854 :
22855 0 : if ((items < 1) || (items > 1)) {
22856 0 : SWIG_croak("Usage: layerObj_classitem_get(self);");
22857 : }
22858 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22859 0 : if (!SWIG_IsOK(res1)) {
22860 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
22861 : }
22862 0 : arg1 = (struct layerObj *)(argp1);
22863 0 : result = (char *) ((arg1)->classitem);
22864 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22865 :
22866 0 : XSRETURN(argvi);
22867 0 : fail:
22868 :
22869 0 : SWIG_croak_null();
22870 : }
22871 : }
22872 :
22873 :
22874 0 : XS(_wrap_layerObj_refcount_get) {
22875 : {
22876 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22877 0 : void *argp1 = 0 ;
22878 : int res1 = 0 ;
22879 : int argvi = 0;
22880 : int result;
22881 0 : dXSARGS;
22882 :
22883 0 : if ((items < 1) || (items > 1)) {
22884 0 : SWIG_croak("Usage: layerObj_refcount_get(self);");
22885 : }
22886 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22887 0 : if (!SWIG_IsOK(res1)) {
22888 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_refcount_get" "', argument " "1"" of type '" "struct layerObj *""'");
22889 : }
22890 0 : arg1 = (struct layerObj *)(argp1);
22891 0 : result = (int) ((arg1)->refcount);
22892 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22893 :
22894 0 : XSRETURN(argvi);
22895 0 : fail:
22896 :
22897 0 : SWIG_croak_null();
22898 : }
22899 : }
22900 :
22901 :
22902 0 : XS(_wrap_layerObj_numclasses_get) {
22903 : {
22904 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22905 0 : void *argp1 = 0 ;
22906 : int res1 = 0 ;
22907 : int argvi = 0;
22908 : int result;
22909 0 : dXSARGS;
22910 :
22911 0 : if ((items < 1) || (items > 1)) {
22912 0 : SWIG_croak("Usage: layerObj_numclasses_get(self);");
22913 : }
22914 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22915 0 : if (!SWIG_IsOK(res1)) {
22916 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22917 : }
22918 0 : arg1 = (struct layerObj *)(argp1);
22919 0 : result = (int) ((arg1)->numclasses);
22920 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22921 :
22922 0 : XSRETURN(argvi);
22923 0 : fail:
22924 :
22925 0 : SWIG_croak_null();
22926 : }
22927 : }
22928 :
22929 :
22930 0 : XS(_wrap_layerObj_maxclasses_get) {
22931 : {
22932 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22933 0 : void *argp1 = 0 ;
22934 : int res1 = 0 ;
22935 : int argvi = 0;
22936 : int result;
22937 0 : dXSARGS;
22938 :
22939 0 : if ((items < 1) || (items > 1)) {
22940 0 : SWIG_croak("Usage: layerObj_maxclasses_get(self);");
22941 : }
22942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22943 0 : if (!SWIG_IsOK(res1)) {
22944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22945 : }
22946 0 : arg1 = (struct layerObj *)(argp1);
22947 0 : result = (int) ((arg1)->maxclasses);
22948 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22949 :
22950 0 : XSRETURN(argvi);
22951 0 : fail:
22952 :
22953 0 : SWIG_croak_null();
22954 : }
22955 : }
22956 :
22957 :
22958 0 : XS(_wrap_layerObj_index_get) {
22959 : {
22960 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22961 0 : void *argp1 = 0 ;
22962 : int res1 = 0 ;
22963 : int argvi = 0;
22964 : int result;
22965 0 : dXSARGS;
22966 :
22967 0 : if ((items < 1) || (items > 1)) {
22968 0 : SWIG_croak("Usage: layerObj_index_get(self);");
22969 : }
22970 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22971 0 : if (!SWIG_IsOK(res1)) {
22972 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_index_get" "', argument " "1"" of type '" "struct layerObj *""'");
22973 : }
22974 0 : arg1 = (struct layerObj *)(argp1);
22975 0 : result = (int) ((arg1)->index);
22976 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22977 :
22978 0 : XSRETURN(argvi);
22979 0 : fail:
22980 :
22981 0 : SWIG_croak_null();
22982 : }
22983 : }
22984 :
22985 :
22986 1 : XS(_wrap_layerObj_map_get) {
22987 : {
22988 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22989 1 : void *argp1 = 0 ;
22990 : int res1 = 0 ;
22991 : int argvi = 0;
22992 : struct mapObj *result = 0 ;
22993 1 : dXSARGS;
22994 :
22995 1 : if ((items < 1) || (items > 1)) {
22996 0 : SWIG_croak("Usage: layerObj_map_get(self);");
22997 : }
22998 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22999 1 : if (!SWIG_IsOK(res1)) {
23000 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_map_get" "', argument " "1"" of type '" "struct layerObj *""'");
23001 : }
23002 1 : arg1 = (struct layerObj *)(argp1);
23003 : {
23004 : /* Accessing map */
23005 1 : result = (struct mapObj *) ((arg1)->map);;
23006 1 : MS_REFCNT_INCR(result);
23007 : }
23008 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
23009 :
23010 1 : XSRETURN(argvi);
23011 0 : fail:
23012 :
23013 0 : SWIG_croak_null();
23014 : }
23015 : }
23016 :
23017 :
23018 0 : XS(_wrap_layerObj_header_set) {
23019 : {
23020 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23021 : char *arg2 = (char *) 0 ;
23022 0 : void *argp1 = 0 ;
23023 : int res1 = 0 ;
23024 : int res2 ;
23025 0 : char *buf2 = 0 ;
23026 0 : int alloc2 = 0 ;
23027 : int argvi = 0;
23028 0 : dXSARGS;
23029 :
23030 0 : if ((items < 2) || (items > 2)) {
23031 0 : SWIG_croak("Usage: layerObj_header_set(self,header);");
23032 : }
23033 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23034 0 : if (!SWIG_IsOK(res1)) {
23035 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_set" "', argument " "1"" of type '" "struct layerObj *""'");
23036 : }
23037 0 : arg1 = (struct layerObj *)(argp1);
23038 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23039 0 : if (!SWIG_IsOK(res2)) {
23040 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_header_set" "', argument " "2"" of type '" "char *""'");
23041 : }
23042 0 : arg2 = (char *)(buf2);
23043 : {
23044 0 : if (arg1->header) free((char*)arg1->header);
23045 0 : if (arg2) {
23046 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
23047 : strcpy((char*)arg1->header,arg2);
23048 : } else {
23049 0 : arg1->header = 0;
23050 : }
23051 : }
23052 0 : ST(argvi) = sv_newmortal();
23053 :
23054 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23055 0 : XSRETURN(argvi);
23056 0 : fail:
23057 :
23058 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23059 0 : SWIG_croak_null();
23060 : }
23061 : }
23062 :
23063 :
23064 0 : XS(_wrap_layerObj_header_get) {
23065 : {
23066 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23067 0 : void *argp1 = 0 ;
23068 : int res1 = 0 ;
23069 : int argvi = 0;
23070 : char *result = 0 ;
23071 0 : dXSARGS;
23072 :
23073 0 : if ((items < 1) || (items > 1)) {
23074 0 : SWIG_croak("Usage: layerObj_header_get(self);");
23075 : }
23076 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23077 0 : if (!SWIG_IsOK(res1)) {
23078 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_get" "', argument " "1"" of type '" "struct layerObj *""'");
23079 : }
23080 0 : arg1 = (struct layerObj *)(argp1);
23081 0 : result = (char *) ((arg1)->header);
23082 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23083 :
23084 0 : XSRETURN(argvi);
23085 0 : fail:
23086 :
23087 0 : SWIG_croak_null();
23088 : }
23089 : }
23090 :
23091 :
23092 0 : XS(_wrap_layerObj_footer_set) {
23093 : {
23094 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23095 : char *arg2 = (char *) 0 ;
23096 0 : void *argp1 = 0 ;
23097 : int res1 = 0 ;
23098 : int res2 ;
23099 0 : char *buf2 = 0 ;
23100 0 : int alloc2 = 0 ;
23101 : int argvi = 0;
23102 0 : dXSARGS;
23103 :
23104 0 : if ((items < 2) || (items > 2)) {
23105 0 : SWIG_croak("Usage: layerObj_footer_set(self,footer);");
23106 : }
23107 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23108 0 : if (!SWIG_IsOK(res1)) {
23109 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_set" "', argument " "1"" of type '" "struct layerObj *""'");
23110 : }
23111 0 : arg1 = (struct layerObj *)(argp1);
23112 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23113 0 : if (!SWIG_IsOK(res2)) {
23114 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_footer_set" "', argument " "2"" of type '" "char *""'");
23115 : }
23116 0 : arg2 = (char *)(buf2);
23117 : {
23118 0 : if (arg1->footer) free((char*)arg1->footer);
23119 0 : if (arg2) {
23120 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
23121 : strcpy((char*)arg1->footer,arg2);
23122 : } else {
23123 0 : arg1->footer = 0;
23124 : }
23125 : }
23126 0 : ST(argvi) = sv_newmortal();
23127 :
23128 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23129 0 : XSRETURN(argvi);
23130 0 : fail:
23131 :
23132 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23133 0 : SWIG_croak_null();
23134 : }
23135 : }
23136 :
23137 :
23138 0 : XS(_wrap_layerObj_footer_get) {
23139 : {
23140 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23141 0 : void *argp1 = 0 ;
23142 : int res1 = 0 ;
23143 : int argvi = 0;
23144 : char *result = 0 ;
23145 0 : dXSARGS;
23146 :
23147 0 : if ((items < 1) || (items > 1)) {
23148 0 : SWIG_croak("Usage: layerObj_footer_get(self);");
23149 : }
23150 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23151 0 : if (!SWIG_IsOK(res1)) {
23152 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_get" "', argument " "1"" of type '" "struct layerObj *""'");
23153 : }
23154 0 : arg1 = (struct layerObj *)(argp1);
23155 0 : result = (char *) ((arg1)->footer);
23156 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23157 :
23158 0 : XSRETURN(argvi);
23159 0 : fail:
23160 :
23161 0 : SWIG_croak_null();
23162 : }
23163 : }
23164 :
23165 :
23166 0 : XS(_wrap_layerObj_template_set) {
23167 : {
23168 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23169 : char *arg2 = (char *) 0 ;
23170 0 : void *argp1 = 0 ;
23171 : int res1 = 0 ;
23172 : int res2 ;
23173 0 : char *buf2 = 0 ;
23174 0 : int alloc2 = 0 ;
23175 : int argvi = 0;
23176 0 : dXSARGS;
23177 :
23178 0 : if ((items < 2) || (items > 2)) {
23179 0 : SWIG_croak("Usage: layerObj_template_set(self,template);");
23180 : }
23181 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23182 0 : if (!SWIG_IsOK(res1)) {
23183 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_set" "', argument " "1"" of type '" "struct layerObj *""'");
23184 : }
23185 0 : arg1 = (struct layerObj *)(argp1);
23186 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23187 0 : if (!SWIG_IsOK(res2)) {
23188 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_template_set" "', argument " "2"" of type '" "char *""'");
23189 : }
23190 0 : arg2 = (char *)(buf2);
23191 : {
23192 0 : if (arg1->template) free((char*)arg1->template);
23193 0 : if (arg2) {
23194 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
23195 : strcpy((char*)arg1->template,arg2);
23196 : } else {
23197 0 : arg1->template = 0;
23198 : }
23199 : }
23200 0 : ST(argvi) = sv_newmortal();
23201 :
23202 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23203 0 : XSRETURN(argvi);
23204 0 : fail:
23205 :
23206 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23207 0 : SWIG_croak_null();
23208 : }
23209 : }
23210 :
23211 :
23212 0 : XS(_wrap_layerObj_template_get) {
23213 : {
23214 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23215 0 : void *argp1 = 0 ;
23216 : int res1 = 0 ;
23217 : int argvi = 0;
23218 : char *result = 0 ;
23219 0 : dXSARGS;
23220 :
23221 0 : if ((items < 1) || (items > 1)) {
23222 0 : SWIG_croak("Usage: layerObj_template_get(self);");
23223 : }
23224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23225 0 : if (!SWIG_IsOK(res1)) {
23226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_get" "', argument " "1"" of type '" "struct layerObj *""'");
23227 : }
23228 0 : arg1 = (struct layerObj *)(argp1);
23229 0 : result = (char *) ((arg1)->template);
23230 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23231 :
23232 0 : XSRETURN(argvi);
23233 0 : fail:
23234 :
23235 0 : SWIG_croak_null();
23236 : }
23237 : }
23238 :
23239 :
23240 0 : XS(_wrap_layerObj_name_set) {
23241 : {
23242 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23243 : char *arg2 = (char *) 0 ;
23244 0 : void *argp1 = 0 ;
23245 : int res1 = 0 ;
23246 : int res2 ;
23247 0 : char *buf2 = 0 ;
23248 0 : int alloc2 = 0 ;
23249 : int argvi = 0;
23250 0 : dXSARGS;
23251 :
23252 0 : if ((items < 2) || (items > 2)) {
23253 0 : SWIG_croak("Usage: layerObj_name_set(self,name);");
23254 : }
23255 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23256 0 : if (!SWIG_IsOK(res1)) {
23257 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_set" "', argument " "1"" of type '" "struct layerObj *""'");
23258 : }
23259 0 : arg1 = (struct layerObj *)(argp1);
23260 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23261 0 : if (!SWIG_IsOK(res2)) {
23262 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_name_set" "', argument " "2"" of type '" "char *""'");
23263 : }
23264 0 : arg2 = (char *)(buf2);
23265 : {
23266 0 : if (arg1->name) free((char*)arg1->name);
23267 0 : if (arg2) {
23268 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
23269 : strcpy((char*)arg1->name,arg2);
23270 : } else {
23271 0 : arg1->name = 0;
23272 : }
23273 : }
23274 0 : ST(argvi) = sv_newmortal();
23275 :
23276 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23277 0 : XSRETURN(argvi);
23278 0 : fail:
23279 :
23280 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23281 0 : SWIG_croak_null();
23282 : }
23283 : }
23284 :
23285 :
23286 0 : XS(_wrap_layerObj_name_get) {
23287 : {
23288 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23289 0 : void *argp1 = 0 ;
23290 : int res1 = 0 ;
23291 : int argvi = 0;
23292 : char *result = 0 ;
23293 0 : dXSARGS;
23294 :
23295 0 : if ((items < 1) || (items > 1)) {
23296 0 : SWIG_croak("Usage: layerObj_name_get(self);");
23297 : }
23298 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23299 0 : if (!SWIG_IsOK(res1)) {
23300 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_get" "', argument " "1"" of type '" "struct layerObj *""'");
23301 : }
23302 0 : arg1 = (struct layerObj *)(argp1);
23303 0 : result = (char *) ((arg1)->name);
23304 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23305 :
23306 0 : XSRETURN(argvi);
23307 0 : fail:
23308 :
23309 0 : SWIG_croak_null();
23310 : }
23311 : }
23312 :
23313 :
23314 0 : XS(_wrap_layerObj_group_set) {
23315 : {
23316 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23317 : char *arg2 = (char *) 0 ;
23318 0 : void *argp1 = 0 ;
23319 : int res1 = 0 ;
23320 : int res2 ;
23321 0 : char *buf2 = 0 ;
23322 0 : int alloc2 = 0 ;
23323 : int argvi = 0;
23324 0 : dXSARGS;
23325 :
23326 0 : if ((items < 2) || (items > 2)) {
23327 0 : SWIG_croak("Usage: layerObj_group_set(self,group);");
23328 : }
23329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23330 0 : if (!SWIG_IsOK(res1)) {
23331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_set" "', argument " "1"" of type '" "struct layerObj *""'");
23332 : }
23333 0 : arg1 = (struct layerObj *)(argp1);
23334 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23335 0 : if (!SWIG_IsOK(res2)) {
23336 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_group_set" "', argument " "2"" of type '" "char *""'");
23337 : }
23338 0 : arg2 = (char *)(buf2);
23339 : {
23340 0 : if (arg1->group) free((char*)arg1->group);
23341 0 : if (arg2) {
23342 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
23343 : strcpy((char*)arg1->group,arg2);
23344 : } else {
23345 0 : arg1->group = 0;
23346 : }
23347 : }
23348 0 : ST(argvi) = sv_newmortal();
23349 :
23350 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23351 0 : XSRETURN(argvi);
23352 0 : fail:
23353 :
23354 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23355 0 : SWIG_croak_null();
23356 : }
23357 : }
23358 :
23359 :
23360 0 : XS(_wrap_layerObj_group_get) {
23361 : {
23362 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23363 0 : void *argp1 = 0 ;
23364 : int res1 = 0 ;
23365 : int argvi = 0;
23366 : char *result = 0 ;
23367 0 : dXSARGS;
23368 :
23369 0 : if ((items < 1) || (items > 1)) {
23370 0 : SWIG_croak("Usage: layerObj_group_get(self);");
23371 : }
23372 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23373 0 : if (!SWIG_IsOK(res1)) {
23374 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_get" "', argument " "1"" of type '" "struct layerObj *""'");
23375 : }
23376 0 : arg1 = (struct layerObj *)(argp1);
23377 0 : result = (char *) ((arg1)->group);
23378 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23379 :
23380 0 : XSRETURN(argvi);
23381 0 : fail:
23382 :
23383 0 : SWIG_croak_null();
23384 : }
23385 : }
23386 :
23387 :
23388 0 : XS(_wrap_layerObj_status_set) {
23389 : {
23390 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23391 : int arg2 ;
23392 0 : void *argp1 = 0 ;
23393 : int res1 = 0 ;
23394 : int val2 ;
23395 : int ecode2 = 0 ;
23396 : int argvi = 0;
23397 0 : dXSARGS;
23398 :
23399 0 : if ((items < 2) || (items > 2)) {
23400 0 : SWIG_croak("Usage: layerObj_status_set(self,status);");
23401 : }
23402 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23403 0 : if (!SWIG_IsOK(res1)) {
23404 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_set" "', argument " "1"" of type '" "struct layerObj *""'");
23405 : }
23406 0 : arg1 = (struct layerObj *)(argp1);
23407 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23408 0 : if (!SWIG_IsOK(ecode2)) {
23409 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_status_set" "', argument " "2"" of type '" "int""'");
23410 : }
23411 : arg2 = (int)(val2);
23412 0 : if (arg1) (arg1)->status = arg2;
23413 0 : ST(argvi) = sv_newmortal();
23414 :
23415 :
23416 0 : XSRETURN(argvi);
23417 0 : fail:
23418 :
23419 :
23420 0 : SWIG_croak_null();
23421 : }
23422 : }
23423 :
23424 :
23425 0 : XS(_wrap_layerObj_status_get) {
23426 : {
23427 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23428 0 : void *argp1 = 0 ;
23429 : int res1 = 0 ;
23430 : int argvi = 0;
23431 : int result;
23432 0 : dXSARGS;
23433 :
23434 0 : if ((items < 1) || (items > 1)) {
23435 0 : SWIG_croak("Usage: layerObj_status_get(self);");
23436 : }
23437 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23438 0 : if (!SWIG_IsOK(res1)) {
23439 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_get" "', argument " "1"" of type '" "struct layerObj *""'");
23440 : }
23441 0 : arg1 = (struct layerObj *)(argp1);
23442 0 : result = (int) ((arg1)->status);
23443 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23444 :
23445 0 : XSRETURN(argvi);
23446 0 : fail:
23447 :
23448 0 : SWIG_croak_null();
23449 : }
23450 : }
23451 :
23452 :
23453 0 : XS(_wrap_layerObj_rendermode_set) {
23454 : {
23455 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23456 : enum MS_RENDER_MODE arg2 ;
23457 0 : void *argp1 = 0 ;
23458 : int res1 = 0 ;
23459 : int val2 ;
23460 : int ecode2 = 0 ;
23461 : int argvi = 0;
23462 0 : dXSARGS;
23463 :
23464 0 : if ((items < 2) || (items > 2)) {
23465 0 : SWIG_croak("Usage: layerObj_rendermode_set(self,rendermode);");
23466 : }
23467 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23468 0 : if (!SWIG_IsOK(res1)) {
23469 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_set" "', argument " "1"" of type '" "struct layerObj *""'");
23470 : }
23471 0 : arg1 = (struct layerObj *)(argp1);
23472 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23473 0 : if (!SWIG_IsOK(ecode2)) {
23474 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_rendermode_set" "', argument " "2"" of type '" "enum MS_RENDER_MODE""'");
23475 : }
23476 0 : arg2 = (enum MS_RENDER_MODE)(val2);
23477 0 : if (arg1) (arg1)->rendermode = arg2;
23478 0 : ST(argvi) = sv_newmortal();
23479 :
23480 :
23481 0 : XSRETURN(argvi);
23482 0 : fail:
23483 :
23484 :
23485 0 : SWIG_croak_null();
23486 : }
23487 : }
23488 :
23489 :
23490 0 : XS(_wrap_layerObj_rendermode_get) {
23491 : {
23492 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23493 0 : void *argp1 = 0 ;
23494 : int res1 = 0 ;
23495 : int argvi = 0;
23496 : enum MS_RENDER_MODE result;
23497 0 : dXSARGS;
23498 :
23499 0 : if ((items < 1) || (items > 1)) {
23500 0 : SWIG_croak("Usage: layerObj_rendermode_get(self);");
23501 : }
23502 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23503 0 : if (!SWIG_IsOK(res1)) {
23504 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_get" "', argument " "1"" of type '" "struct layerObj *""'");
23505 : }
23506 0 : arg1 = (struct layerObj *)(argp1);
23507 0 : result = (enum MS_RENDER_MODE) ((arg1)->rendermode);
23508 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23509 :
23510 0 : XSRETURN(argvi);
23511 0 : fail:
23512 :
23513 0 : SWIG_croak_null();
23514 : }
23515 : }
23516 :
23517 :
23518 0 : XS(_wrap_layerObj_data_set) {
23519 : {
23520 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23521 : char *arg2 = (char *) 0 ;
23522 0 : void *argp1 = 0 ;
23523 : int res1 = 0 ;
23524 : int res2 ;
23525 0 : char *buf2 = 0 ;
23526 0 : int alloc2 = 0 ;
23527 : int argvi = 0;
23528 0 : dXSARGS;
23529 :
23530 0 : if ((items < 2) || (items > 2)) {
23531 0 : SWIG_croak("Usage: layerObj_data_set(self,data);");
23532 : }
23533 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23534 0 : if (!SWIG_IsOK(res1)) {
23535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_set" "', argument " "1"" of type '" "struct layerObj *""'");
23536 : }
23537 0 : arg1 = (struct layerObj *)(argp1);
23538 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23539 0 : if (!SWIG_IsOK(res2)) {
23540 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_data_set" "', argument " "2"" of type '" "char *""'");
23541 : }
23542 0 : arg2 = (char *)(buf2);
23543 : {
23544 0 : if (arg1->data) free((char*)arg1->data);
23545 0 : if (arg2) {
23546 0 : arg1->data = (char *) malloc(strlen(arg2)+1);
23547 : strcpy((char*)arg1->data,arg2);
23548 : } else {
23549 0 : arg1->data = 0;
23550 : }
23551 : }
23552 0 : ST(argvi) = sv_newmortal();
23553 :
23554 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23555 0 : XSRETURN(argvi);
23556 0 : fail:
23557 :
23558 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23559 0 : SWIG_croak_null();
23560 : }
23561 : }
23562 :
23563 :
23564 0 : XS(_wrap_layerObj_data_get) {
23565 : {
23566 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23567 0 : void *argp1 = 0 ;
23568 : int res1 = 0 ;
23569 : int argvi = 0;
23570 : char *result = 0 ;
23571 0 : dXSARGS;
23572 :
23573 0 : if ((items < 1) || (items > 1)) {
23574 0 : SWIG_croak("Usage: layerObj_data_get(self);");
23575 : }
23576 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23577 0 : if (!SWIG_IsOK(res1)) {
23578 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_get" "', argument " "1"" of type '" "struct layerObj *""'");
23579 : }
23580 0 : arg1 = (struct layerObj *)(argp1);
23581 0 : result = (char *) ((arg1)->data);
23582 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23583 :
23584 0 : XSRETURN(argvi);
23585 0 : fail:
23586 :
23587 0 : SWIG_croak_null();
23588 : }
23589 : }
23590 :
23591 :
23592 0 : XS(_wrap_layerObj_type_set) {
23593 : {
23594 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23595 : enum MS_LAYER_TYPE arg2 ;
23596 0 : void *argp1 = 0 ;
23597 : int res1 = 0 ;
23598 : int val2 ;
23599 : int ecode2 = 0 ;
23600 : int argvi = 0;
23601 0 : dXSARGS;
23602 :
23603 0 : if ((items < 2) || (items > 2)) {
23604 0 : SWIG_croak("Usage: layerObj_type_set(self,type);");
23605 : }
23606 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23607 0 : if (!SWIG_IsOK(res1)) {
23608 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_set" "', argument " "1"" of type '" "struct layerObj *""'");
23609 : }
23610 0 : arg1 = (struct layerObj *)(argp1);
23611 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23612 0 : if (!SWIG_IsOK(ecode2)) {
23613 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_type_set" "', argument " "2"" of type '" "enum MS_LAYER_TYPE""'");
23614 : }
23615 0 : arg2 = (enum MS_LAYER_TYPE)(val2);
23616 0 : if (arg1) (arg1)->type = arg2;
23617 0 : ST(argvi) = sv_newmortal();
23618 :
23619 :
23620 0 : XSRETURN(argvi);
23621 0 : fail:
23622 :
23623 :
23624 0 : SWIG_croak_null();
23625 : }
23626 : }
23627 :
23628 :
23629 0 : XS(_wrap_layerObj_type_get) {
23630 : {
23631 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23632 0 : void *argp1 = 0 ;
23633 : int res1 = 0 ;
23634 : int argvi = 0;
23635 : enum MS_LAYER_TYPE result;
23636 0 : dXSARGS;
23637 :
23638 0 : if ((items < 1) || (items > 1)) {
23639 0 : SWIG_croak("Usage: layerObj_type_get(self);");
23640 : }
23641 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23642 0 : if (!SWIG_IsOK(res1)) {
23643 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_get" "', argument " "1"" of type '" "struct layerObj *""'");
23644 : }
23645 0 : arg1 = (struct layerObj *)(argp1);
23646 0 : result = (enum MS_LAYER_TYPE) ((arg1)->type);
23647 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23648 :
23649 0 : XSRETURN(argvi);
23650 0 : fail:
23651 :
23652 0 : SWIG_croak_null();
23653 : }
23654 : }
23655 :
23656 :
23657 0 : XS(_wrap_layerObj_tolerance_set) {
23658 : {
23659 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23660 : double arg2 ;
23661 0 : void *argp1 = 0 ;
23662 : int res1 = 0 ;
23663 : double val2 ;
23664 : int ecode2 = 0 ;
23665 : int argvi = 0;
23666 0 : dXSARGS;
23667 :
23668 0 : if ((items < 2) || (items > 2)) {
23669 0 : SWIG_croak("Usage: layerObj_tolerance_set(self,tolerance);");
23670 : }
23671 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23672 0 : if (!SWIG_IsOK(res1)) {
23673 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_set" "', argument " "1"" of type '" "struct layerObj *""'");
23674 : }
23675 0 : arg1 = (struct layerObj *)(argp1);
23676 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23677 0 : if (!SWIG_IsOK(ecode2)) {
23678 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_tolerance_set" "', argument " "2"" of type '" "double""'");
23679 : }
23680 0 : arg2 = (double)(val2);
23681 0 : if (arg1) (arg1)->tolerance = arg2;
23682 0 : ST(argvi) = sv_newmortal();
23683 :
23684 :
23685 0 : XSRETURN(argvi);
23686 0 : fail:
23687 :
23688 :
23689 0 : SWIG_croak_null();
23690 : }
23691 : }
23692 :
23693 :
23694 0 : XS(_wrap_layerObj_tolerance_get) {
23695 : {
23696 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23697 0 : void *argp1 = 0 ;
23698 : int res1 = 0 ;
23699 : int argvi = 0;
23700 : double result;
23701 0 : dXSARGS;
23702 :
23703 0 : if ((items < 1) || (items > 1)) {
23704 0 : SWIG_croak("Usage: layerObj_tolerance_get(self);");
23705 : }
23706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23707 0 : if (!SWIG_IsOK(res1)) {
23708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_get" "', argument " "1"" of type '" "struct layerObj *""'");
23709 : }
23710 0 : arg1 = (struct layerObj *)(argp1);
23711 0 : result = (double) ((arg1)->tolerance);
23712 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23713 :
23714 0 : XSRETURN(argvi);
23715 0 : fail:
23716 :
23717 0 : SWIG_croak_null();
23718 : }
23719 : }
23720 :
23721 :
23722 0 : XS(_wrap_layerObj_toleranceunits_set) {
23723 : {
23724 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23725 : int arg2 ;
23726 0 : void *argp1 = 0 ;
23727 : int res1 = 0 ;
23728 : int val2 ;
23729 : int ecode2 = 0 ;
23730 : int argvi = 0;
23731 0 : dXSARGS;
23732 :
23733 0 : if ((items < 2) || (items > 2)) {
23734 0 : SWIG_croak("Usage: layerObj_toleranceunits_set(self,toleranceunits);");
23735 : }
23736 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23737 0 : if (!SWIG_IsOK(res1)) {
23738 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
23739 : }
23740 0 : arg1 = (struct layerObj *)(argp1);
23741 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23742 0 : if (!SWIG_IsOK(ecode2)) {
23743 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_toleranceunits_set" "', argument " "2"" of type '" "int""'");
23744 : }
23745 : arg2 = (int)(val2);
23746 0 : if (arg1) (arg1)->toleranceunits = arg2;
23747 0 : ST(argvi) = sv_newmortal();
23748 :
23749 :
23750 0 : XSRETURN(argvi);
23751 0 : fail:
23752 :
23753 :
23754 0 : SWIG_croak_null();
23755 : }
23756 : }
23757 :
23758 :
23759 0 : XS(_wrap_layerObj_toleranceunits_get) {
23760 : {
23761 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23762 0 : void *argp1 = 0 ;
23763 : int res1 = 0 ;
23764 : int argvi = 0;
23765 : int result;
23766 0 : dXSARGS;
23767 :
23768 0 : if ((items < 1) || (items > 1)) {
23769 0 : SWIG_croak("Usage: layerObj_toleranceunits_get(self);");
23770 : }
23771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23772 0 : if (!SWIG_IsOK(res1)) {
23773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
23774 : }
23775 0 : arg1 = (struct layerObj *)(argp1);
23776 0 : result = (int) ((arg1)->toleranceunits);
23777 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23778 :
23779 0 : XSRETURN(argvi);
23780 0 : fail:
23781 :
23782 0 : SWIG_croak_null();
23783 : }
23784 : }
23785 :
23786 :
23787 0 : XS(_wrap_layerObj_symbolscaledenom_set) {
23788 : {
23789 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23790 : double arg2 ;
23791 0 : void *argp1 = 0 ;
23792 : int res1 = 0 ;
23793 : double val2 ;
23794 : int ecode2 = 0 ;
23795 : int argvi = 0;
23796 0 : dXSARGS;
23797 :
23798 0 : if ((items < 2) || (items > 2)) {
23799 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_set(self,symbolscaledenom);");
23800 : }
23801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23802 0 : if (!SWIG_IsOK(res1)) {
23803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23804 : }
23805 0 : arg1 = (struct layerObj *)(argp1);
23806 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23807 0 : if (!SWIG_IsOK(ecode2)) {
23808 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_symbolscaledenom_set" "', argument " "2"" of type '" "double""'");
23809 : }
23810 0 : arg2 = (double)(val2);
23811 0 : if (arg1) (arg1)->symbolscaledenom = arg2;
23812 0 : ST(argvi) = sv_newmortal();
23813 :
23814 :
23815 0 : XSRETURN(argvi);
23816 0 : fail:
23817 :
23818 :
23819 0 : SWIG_croak_null();
23820 : }
23821 : }
23822 :
23823 :
23824 0 : XS(_wrap_layerObj_symbolscaledenom_get) {
23825 : {
23826 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23827 0 : void *argp1 = 0 ;
23828 : int res1 = 0 ;
23829 : int argvi = 0;
23830 : double result;
23831 0 : dXSARGS;
23832 :
23833 0 : if ((items < 1) || (items > 1)) {
23834 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_get(self);");
23835 : }
23836 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23837 0 : if (!SWIG_IsOK(res1)) {
23838 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23839 : }
23840 0 : arg1 = (struct layerObj *)(argp1);
23841 0 : result = (double) ((arg1)->symbolscaledenom);
23842 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23843 :
23844 0 : XSRETURN(argvi);
23845 0 : fail:
23846 :
23847 0 : SWIG_croak_null();
23848 : }
23849 : }
23850 :
23851 :
23852 0 : XS(_wrap_layerObj_minscaledenom_set) {
23853 : {
23854 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23855 : double arg2 ;
23856 0 : void *argp1 = 0 ;
23857 : int res1 = 0 ;
23858 : double val2 ;
23859 : int ecode2 = 0 ;
23860 : int argvi = 0;
23861 0 : dXSARGS;
23862 :
23863 0 : if ((items < 2) || (items > 2)) {
23864 0 : SWIG_croak("Usage: layerObj_minscaledenom_set(self,minscaledenom);");
23865 : }
23866 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23867 0 : if (!SWIG_IsOK(res1)) {
23868 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23869 : }
23870 0 : arg1 = (struct layerObj *)(argp1);
23871 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23872 0 : if (!SWIG_IsOK(ecode2)) {
23873 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
23874 : }
23875 0 : arg2 = (double)(val2);
23876 0 : if (arg1) (arg1)->minscaledenom = arg2;
23877 0 : ST(argvi) = sv_newmortal();
23878 :
23879 :
23880 0 : XSRETURN(argvi);
23881 0 : fail:
23882 :
23883 :
23884 0 : SWIG_croak_null();
23885 : }
23886 : }
23887 :
23888 :
23889 0 : XS(_wrap_layerObj_minscaledenom_get) {
23890 : {
23891 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23892 0 : void *argp1 = 0 ;
23893 : int res1 = 0 ;
23894 : int argvi = 0;
23895 : double result;
23896 0 : dXSARGS;
23897 :
23898 0 : if ((items < 1) || (items > 1)) {
23899 0 : SWIG_croak("Usage: layerObj_minscaledenom_get(self);");
23900 : }
23901 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23902 0 : if (!SWIG_IsOK(res1)) {
23903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23904 : }
23905 0 : arg1 = (struct layerObj *)(argp1);
23906 0 : result = (double) ((arg1)->minscaledenom);
23907 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23908 :
23909 0 : XSRETURN(argvi);
23910 0 : fail:
23911 :
23912 0 : SWIG_croak_null();
23913 : }
23914 : }
23915 :
23916 :
23917 0 : XS(_wrap_layerObj_maxscaledenom_set) {
23918 : {
23919 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23920 : double arg2 ;
23921 0 : void *argp1 = 0 ;
23922 : int res1 = 0 ;
23923 : double val2 ;
23924 : int ecode2 = 0 ;
23925 : int argvi = 0;
23926 0 : dXSARGS;
23927 :
23928 0 : if ((items < 2) || (items > 2)) {
23929 0 : SWIG_croak("Usage: layerObj_maxscaledenom_set(self,maxscaledenom);");
23930 : }
23931 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23932 0 : if (!SWIG_IsOK(res1)) {
23933 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23934 : }
23935 0 : arg1 = (struct layerObj *)(argp1);
23936 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23937 0 : if (!SWIG_IsOK(ecode2)) {
23938 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
23939 : }
23940 0 : arg2 = (double)(val2);
23941 0 : if (arg1) (arg1)->maxscaledenom = arg2;
23942 0 : ST(argvi) = sv_newmortal();
23943 :
23944 :
23945 0 : XSRETURN(argvi);
23946 0 : fail:
23947 :
23948 :
23949 0 : SWIG_croak_null();
23950 : }
23951 : }
23952 :
23953 :
23954 0 : XS(_wrap_layerObj_maxscaledenom_get) {
23955 : {
23956 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23957 0 : void *argp1 = 0 ;
23958 : int res1 = 0 ;
23959 : int argvi = 0;
23960 : double result;
23961 0 : dXSARGS;
23962 :
23963 0 : if ((items < 1) || (items > 1)) {
23964 0 : SWIG_croak("Usage: layerObj_maxscaledenom_get(self);");
23965 : }
23966 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23967 0 : if (!SWIG_IsOK(res1)) {
23968 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23969 : }
23970 0 : arg1 = (struct layerObj *)(argp1);
23971 0 : result = (double) ((arg1)->maxscaledenom);
23972 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23973 :
23974 0 : XSRETURN(argvi);
23975 0 : fail:
23976 :
23977 0 : SWIG_croak_null();
23978 : }
23979 : }
23980 :
23981 :
23982 0 : XS(_wrap_layerObj_minfeaturesize_set) {
23983 : {
23984 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23985 : int arg2 ;
23986 0 : void *argp1 = 0 ;
23987 : int res1 = 0 ;
23988 : int val2 ;
23989 : int ecode2 = 0 ;
23990 : int argvi = 0;
23991 0 : dXSARGS;
23992 :
23993 0 : if ((items < 2) || (items > 2)) {
23994 0 : SWIG_croak("Usage: layerObj_minfeaturesize_set(self,minfeaturesize);");
23995 : }
23996 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23997 0 : if (!SWIG_IsOK(res1)) {
23998 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_set" "', argument " "1"" of type '" "struct layerObj *""'");
23999 : }
24000 0 : arg1 = (struct layerObj *)(argp1);
24001 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24002 0 : if (!SWIG_IsOK(ecode2)) {
24003 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
24004 : }
24005 : arg2 = (int)(val2);
24006 0 : if (arg1) (arg1)->minfeaturesize = arg2;
24007 0 : ST(argvi) = sv_newmortal();
24008 :
24009 :
24010 0 : XSRETURN(argvi);
24011 0 : fail:
24012 :
24013 :
24014 0 : SWIG_croak_null();
24015 : }
24016 : }
24017 :
24018 :
24019 0 : XS(_wrap_layerObj_minfeaturesize_get) {
24020 : {
24021 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24022 0 : void *argp1 = 0 ;
24023 : int res1 = 0 ;
24024 : int argvi = 0;
24025 : int result;
24026 0 : dXSARGS;
24027 :
24028 0 : if ((items < 1) || (items > 1)) {
24029 0 : SWIG_croak("Usage: layerObj_minfeaturesize_get(self);");
24030 : }
24031 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24032 0 : if (!SWIG_IsOK(res1)) {
24033 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_get" "', argument " "1"" of type '" "struct layerObj *""'");
24034 : }
24035 0 : arg1 = (struct layerObj *)(argp1);
24036 0 : result = (int) ((arg1)->minfeaturesize);
24037 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24038 :
24039 0 : XSRETURN(argvi);
24040 0 : fail:
24041 :
24042 0 : SWIG_croak_null();
24043 : }
24044 : }
24045 :
24046 :
24047 0 : XS(_wrap_layerObj_labelminscaledenom_set) {
24048 : {
24049 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24050 : double arg2 ;
24051 0 : void *argp1 = 0 ;
24052 : int res1 = 0 ;
24053 : double val2 ;
24054 : int ecode2 = 0 ;
24055 : int argvi = 0;
24056 0 : dXSARGS;
24057 :
24058 0 : if ((items < 2) || (items > 2)) {
24059 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_set(self,labelminscaledenom);");
24060 : }
24061 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24062 0 : if (!SWIG_IsOK(res1)) {
24063 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
24064 : }
24065 0 : arg1 = (struct layerObj *)(argp1);
24066 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24067 0 : if (!SWIG_IsOK(ecode2)) {
24068 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelminscaledenom_set" "', argument " "2"" of type '" "double""'");
24069 : }
24070 0 : arg2 = (double)(val2);
24071 0 : if (arg1) (arg1)->labelminscaledenom = arg2;
24072 0 : ST(argvi) = sv_newmortal();
24073 :
24074 :
24075 0 : XSRETURN(argvi);
24076 0 : fail:
24077 :
24078 :
24079 0 : SWIG_croak_null();
24080 : }
24081 : }
24082 :
24083 :
24084 0 : XS(_wrap_layerObj_labelminscaledenom_get) {
24085 : {
24086 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24087 0 : void *argp1 = 0 ;
24088 : int res1 = 0 ;
24089 : int argvi = 0;
24090 : double result;
24091 0 : dXSARGS;
24092 :
24093 0 : if ((items < 1) || (items > 1)) {
24094 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_get(self);");
24095 : }
24096 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24097 0 : if (!SWIG_IsOK(res1)) {
24098 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
24099 : }
24100 0 : arg1 = (struct layerObj *)(argp1);
24101 0 : result = (double) ((arg1)->labelminscaledenom);
24102 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24103 :
24104 0 : XSRETURN(argvi);
24105 0 : fail:
24106 :
24107 0 : SWIG_croak_null();
24108 : }
24109 : }
24110 :
24111 :
24112 0 : XS(_wrap_layerObj_labelmaxscaledenom_set) {
24113 : {
24114 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24115 : double arg2 ;
24116 0 : void *argp1 = 0 ;
24117 : int res1 = 0 ;
24118 : double val2 ;
24119 : int ecode2 = 0 ;
24120 : int argvi = 0;
24121 0 : dXSARGS;
24122 :
24123 0 : if ((items < 2) || (items > 2)) {
24124 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_set(self,labelmaxscaledenom);");
24125 : }
24126 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24127 0 : if (!SWIG_IsOK(res1)) {
24128 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
24129 : }
24130 0 : arg1 = (struct layerObj *)(argp1);
24131 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24132 0 : if (!SWIG_IsOK(ecode2)) {
24133 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "2"" of type '" "double""'");
24134 : }
24135 0 : arg2 = (double)(val2);
24136 0 : if (arg1) (arg1)->labelmaxscaledenom = arg2;
24137 0 : ST(argvi) = sv_newmortal();
24138 :
24139 :
24140 0 : XSRETURN(argvi);
24141 0 : fail:
24142 :
24143 :
24144 0 : SWIG_croak_null();
24145 : }
24146 : }
24147 :
24148 :
24149 0 : XS(_wrap_layerObj_labelmaxscaledenom_get) {
24150 : {
24151 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24152 0 : void *argp1 = 0 ;
24153 : int res1 = 0 ;
24154 : int argvi = 0;
24155 : double result;
24156 0 : dXSARGS;
24157 :
24158 0 : if ((items < 1) || (items > 1)) {
24159 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_get(self);");
24160 : }
24161 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24162 0 : if (!SWIG_IsOK(res1)) {
24163 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
24164 : }
24165 0 : arg1 = (struct layerObj *)(argp1);
24166 0 : result = (double) ((arg1)->labelmaxscaledenom);
24167 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24168 :
24169 0 : XSRETURN(argvi);
24170 0 : fail:
24171 :
24172 0 : SWIG_croak_null();
24173 : }
24174 : }
24175 :
24176 :
24177 0 : XS(_wrap_layerObj_mingeowidth_set) {
24178 : {
24179 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24180 : double arg2 ;
24181 0 : void *argp1 = 0 ;
24182 : int res1 = 0 ;
24183 : double val2 ;
24184 : int ecode2 = 0 ;
24185 : int argvi = 0;
24186 0 : dXSARGS;
24187 :
24188 0 : if ((items < 2) || (items > 2)) {
24189 0 : SWIG_croak("Usage: layerObj_mingeowidth_set(self,mingeowidth);");
24190 : }
24191 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24192 0 : if (!SWIG_IsOK(res1)) {
24193 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
24194 : }
24195 0 : arg1 = (struct layerObj *)(argp1);
24196 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24197 0 : if (!SWIG_IsOK(ecode2)) {
24198 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_mingeowidth_set" "', argument " "2"" of type '" "double""'");
24199 : }
24200 0 : arg2 = (double)(val2);
24201 0 : if (arg1) (arg1)->mingeowidth = arg2;
24202 0 : ST(argvi) = sv_newmortal();
24203 :
24204 :
24205 0 : XSRETURN(argvi);
24206 0 : fail:
24207 :
24208 :
24209 0 : SWIG_croak_null();
24210 : }
24211 : }
24212 :
24213 :
24214 0 : XS(_wrap_layerObj_mingeowidth_get) {
24215 : {
24216 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24217 0 : void *argp1 = 0 ;
24218 : int res1 = 0 ;
24219 : int argvi = 0;
24220 : double result;
24221 0 : dXSARGS;
24222 :
24223 0 : if ((items < 1) || (items > 1)) {
24224 0 : SWIG_croak("Usage: layerObj_mingeowidth_get(self);");
24225 : }
24226 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24227 0 : if (!SWIG_IsOK(res1)) {
24228 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24229 : }
24230 0 : arg1 = (struct layerObj *)(argp1);
24231 0 : result = (double) ((arg1)->mingeowidth);
24232 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24233 :
24234 0 : XSRETURN(argvi);
24235 0 : fail:
24236 :
24237 0 : SWIG_croak_null();
24238 : }
24239 : }
24240 :
24241 :
24242 0 : XS(_wrap_layerObj_maxgeowidth_set) {
24243 : {
24244 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24245 : double arg2 ;
24246 0 : void *argp1 = 0 ;
24247 : int res1 = 0 ;
24248 : double val2 ;
24249 : int ecode2 = 0 ;
24250 : int argvi = 0;
24251 0 : dXSARGS;
24252 :
24253 0 : if ((items < 2) || (items > 2)) {
24254 0 : SWIG_croak("Usage: layerObj_maxgeowidth_set(self,maxgeowidth);");
24255 : }
24256 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24257 0 : if (!SWIG_IsOK(res1)) {
24258 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
24259 : }
24260 0 : arg1 = (struct layerObj *)(argp1);
24261 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24262 0 : if (!SWIG_IsOK(ecode2)) {
24263 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxgeowidth_set" "', argument " "2"" of type '" "double""'");
24264 : }
24265 0 : arg2 = (double)(val2);
24266 0 : if (arg1) (arg1)->maxgeowidth = arg2;
24267 0 : ST(argvi) = sv_newmortal();
24268 :
24269 :
24270 0 : XSRETURN(argvi);
24271 0 : fail:
24272 :
24273 :
24274 0 : SWIG_croak_null();
24275 : }
24276 : }
24277 :
24278 :
24279 0 : XS(_wrap_layerObj_maxgeowidth_get) {
24280 : {
24281 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24282 0 : void *argp1 = 0 ;
24283 : int res1 = 0 ;
24284 : int argvi = 0;
24285 : double result;
24286 0 : dXSARGS;
24287 :
24288 0 : if ((items < 1) || (items > 1)) {
24289 0 : SWIG_croak("Usage: layerObj_maxgeowidth_get(self);");
24290 : }
24291 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24292 0 : if (!SWIG_IsOK(res1)) {
24293 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24294 : }
24295 0 : arg1 = (struct layerObj *)(argp1);
24296 0 : result = (double) ((arg1)->maxgeowidth);
24297 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24298 :
24299 0 : XSRETURN(argvi);
24300 0 : fail:
24301 :
24302 0 : SWIG_croak_null();
24303 : }
24304 : }
24305 :
24306 :
24307 0 : XS(_wrap_layerObj_sizeunits_set) {
24308 : {
24309 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24310 : int arg2 ;
24311 0 : void *argp1 = 0 ;
24312 : int res1 = 0 ;
24313 : int val2 ;
24314 : int ecode2 = 0 ;
24315 : int argvi = 0;
24316 0 : dXSARGS;
24317 :
24318 0 : if ((items < 2) || (items > 2)) {
24319 0 : SWIG_croak("Usage: layerObj_sizeunits_set(self,sizeunits);");
24320 : }
24321 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24322 0 : if (!SWIG_IsOK(res1)) {
24323 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
24324 : }
24325 0 : arg1 = (struct layerObj *)(argp1);
24326 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24327 0 : if (!SWIG_IsOK(ecode2)) {
24328 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
24329 : }
24330 : arg2 = (int)(val2);
24331 0 : if (arg1) (arg1)->sizeunits = arg2;
24332 0 : ST(argvi) = sv_newmortal();
24333 :
24334 :
24335 0 : XSRETURN(argvi);
24336 0 : fail:
24337 :
24338 :
24339 0 : SWIG_croak_null();
24340 : }
24341 : }
24342 :
24343 :
24344 0 : XS(_wrap_layerObj_sizeunits_get) {
24345 : {
24346 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24347 0 : void *argp1 = 0 ;
24348 : int res1 = 0 ;
24349 : int argvi = 0;
24350 : int result;
24351 0 : dXSARGS;
24352 :
24353 0 : if ((items < 1) || (items > 1)) {
24354 0 : SWIG_croak("Usage: layerObj_sizeunits_get(self);");
24355 : }
24356 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24357 0 : if (!SWIG_IsOK(res1)) {
24358 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
24359 : }
24360 0 : arg1 = (struct layerObj *)(argp1);
24361 0 : result = (int) ((arg1)->sizeunits);
24362 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24363 :
24364 0 : XSRETURN(argvi);
24365 0 : fail:
24366 :
24367 0 : SWIG_croak_null();
24368 : }
24369 : }
24370 :
24371 :
24372 0 : XS(_wrap_layerObj_maxfeatures_set) {
24373 : {
24374 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24375 : int arg2 ;
24376 0 : void *argp1 = 0 ;
24377 : int res1 = 0 ;
24378 : int val2 ;
24379 : int ecode2 = 0 ;
24380 : int argvi = 0;
24381 0 : dXSARGS;
24382 :
24383 0 : if ((items < 2) || (items > 2)) {
24384 0 : SWIG_croak("Usage: layerObj_maxfeatures_set(self,maxfeatures);");
24385 : }
24386 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24387 0 : if (!SWIG_IsOK(res1)) {
24388 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_set" "', argument " "1"" of type '" "struct layerObj *""'");
24389 : }
24390 0 : arg1 = (struct layerObj *)(argp1);
24391 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24392 0 : if (!SWIG_IsOK(ecode2)) {
24393 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxfeatures_set" "', argument " "2"" of type '" "int""'");
24394 : }
24395 : arg2 = (int)(val2);
24396 0 : if (arg1) (arg1)->maxfeatures = arg2;
24397 0 : ST(argvi) = sv_newmortal();
24398 :
24399 :
24400 0 : XSRETURN(argvi);
24401 0 : fail:
24402 :
24403 :
24404 0 : SWIG_croak_null();
24405 : }
24406 : }
24407 :
24408 :
24409 0 : XS(_wrap_layerObj_maxfeatures_get) {
24410 : {
24411 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24412 0 : void *argp1 = 0 ;
24413 : int res1 = 0 ;
24414 : int argvi = 0;
24415 : int result;
24416 0 : dXSARGS;
24417 :
24418 0 : if ((items < 1) || (items > 1)) {
24419 0 : SWIG_croak("Usage: layerObj_maxfeatures_get(self);");
24420 : }
24421 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24422 0 : if (!SWIG_IsOK(res1)) {
24423 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_get" "', argument " "1"" of type '" "struct layerObj *""'");
24424 : }
24425 0 : arg1 = (struct layerObj *)(argp1);
24426 0 : result = (int) ((arg1)->maxfeatures);
24427 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24428 :
24429 0 : XSRETURN(argvi);
24430 0 : fail:
24431 :
24432 0 : SWIG_croak_null();
24433 : }
24434 : }
24435 :
24436 :
24437 0 : XS(_wrap_layerObj_startindex_set) {
24438 : {
24439 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24440 : int arg2 ;
24441 0 : void *argp1 = 0 ;
24442 : int res1 = 0 ;
24443 : int val2 ;
24444 : int ecode2 = 0 ;
24445 : int argvi = 0;
24446 0 : dXSARGS;
24447 :
24448 0 : if ((items < 2) || (items > 2)) {
24449 0 : SWIG_croak("Usage: layerObj_startindex_set(self,startindex);");
24450 : }
24451 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24452 0 : if (!SWIG_IsOK(res1)) {
24453 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24454 : }
24455 0 : arg1 = (struct layerObj *)(argp1);
24456 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24457 0 : if (!SWIG_IsOK(ecode2)) {
24458 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_startindex_set" "', argument " "2"" of type '" "int""'");
24459 : }
24460 : arg2 = (int)(val2);
24461 0 : if (arg1) (arg1)->startindex = arg2;
24462 0 : ST(argvi) = sv_newmortal();
24463 :
24464 :
24465 0 : XSRETURN(argvi);
24466 0 : fail:
24467 :
24468 :
24469 0 : SWIG_croak_null();
24470 : }
24471 : }
24472 :
24473 :
24474 0 : XS(_wrap_layerObj_startindex_get) {
24475 : {
24476 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24477 0 : void *argp1 = 0 ;
24478 : int res1 = 0 ;
24479 : int argvi = 0;
24480 : int result;
24481 0 : dXSARGS;
24482 :
24483 0 : if ((items < 1) || (items > 1)) {
24484 0 : SWIG_croak("Usage: layerObj_startindex_get(self);");
24485 : }
24486 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24487 0 : if (!SWIG_IsOK(res1)) {
24488 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24489 : }
24490 0 : arg1 = (struct layerObj *)(argp1);
24491 0 : result = (int) ((arg1)->startindex);
24492 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24493 :
24494 0 : XSRETURN(argvi);
24495 0 : fail:
24496 :
24497 0 : SWIG_croak_null();
24498 : }
24499 : }
24500 :
24501 :
24502 0 : XS(_wrap_layerObj_offsite_set) {
24503 : {
24504 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24505 : colorObj *arg2 = (colorObj *) 0 ;
24506 0 : void *argp1 = 0 ;
24507 : int res1 = 0 ;
24508 0 : void *argp2 = 0 ;
24509 : int res2 = 0 ;
24510 : int argvi = 0;
24511 0 : dXSARGS;
24512 :
24513 0 : if ((items < 2) || (items > 2)) {
24514 0 : SWIG_croak("Usage: layerObj_offsite_set(self,offsite);");
24515 : }
24516 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24517 0 : if (!SWIG_IsOK(res1)) {
24518 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_set" "', argument " "1"" of type '" "struct layerObj *""'");
24519 : }
24520 0 : arg1 = (struct layerObj *)(argp1);
24521 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
24522 0 : if (!SWIG_IsOK(res2)) {
24523 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_offsite_set" "', argument " "2"" of type '" "colorObj *""'");
24524 : }
24525 0 : arg2 = (colorObj *)(argp2);
24526 0 : if (arg1) (arg1)->offsite = *arg2;
24527 0 : ST(argvi) = sv_newmortal();
24528 :
24529 :
24530 0 : XSRETURN(argvi);
24531 0 : fail:
24532 :
24533 :
24534 0 : SWIG_croak_null();
24535 : }
24536 : }
24537 :
24538 :
24539 0 : XS(_wrap_layerObj_offsite_get) {
24540 : {
24541 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24542 0 : void *argp1 = 0 ;
24543 : int res1 = 0 ;
24544 : int argvi = 0;
24545 : colorObj *result = 0 ;
24546 0 : dXSARGS;
24547 :
24548 0 : if ((items < 1) || (items > 1)) {
24549 0 : SWIG_croak("Usage: layerObj_offsite_get(self);");
24550 : }
24551 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24552 0 : if (!SWIG_IsOK(res1)) {
24553 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_get" "', argument " "1"" of type '" "struct layerObj *""'");
24554 : }
24555 0 : arg1 = (struct layerObj *)(argp1);
24556 0 : result = (colorObj *)& ((arg1)->offsite);
24557 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
24558 :
24559 0 : XSRETURN(argvi);
24560 0 : fail:
24561 :
24562 0 : SWIG_croak_null();
24563 : }
24564 : }
24565 :
24566 :
24567 0 : XS(_wrap_layerObj_transform_set) {
24568 : {
24569 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24570 : int arg2 ;
24571 0 : void *argp1 = 0 ;
24572 : int res1 = 0 ;
24573 : int val2 ;
24574 : int ecode2 = 0 ;
24575 : int argvi = 0;
24576 0 : dXSARGS;
24577 :
24578 0 : if ((items < 2) || (items > 2)) {
24579 0 : SWIG_croak("Usage: layerObj_transform_set(self,transform);");
24580 : }
24581 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24582 0 : if (!SWIG_IsOK(res1)) {
24583 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_set" "', argument " "1"" of type '" "struct layerObj *""'");
24584 : }
24585 0 : arg1 = (struct layerObj *)(argp1);
24586 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24587 0 : if (!SWIG_IsOK(ecode2)) {
24588 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_transform_set" "', argument " "2"" of type '" "int""'");
24589 : }
24590 : arg2 = (int)(val2);
24591 0 : if (arg1) (arg1)->transform = arg2;
24592 0 : ST(argvi) = sv_newmortal();
24593 :
24594 :
24595 0 : XSRETURN(argvi);
24596 0 : fail:
24597 :
24598 :
24599 0 : SWIG_croak_null();
24600 : }
24601 : }
24602 :
24603 :
24604 0 : XS(_wrap_layerObj_transform_get) {
24605 : {
24606 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24607 0 : void *argp1 = 0 ;
24608 : int res1 = 0 ;
24609 : int argvi = 0;
24610 : int result;
24611 0 : dXSARGS;
24612 :
24613 0 : if ((items < 1) || (items > 1)) {
24614 0 : SWIG_croak("Usage: layerObj_transform_get(self);");
24615 : }
24616 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24617 0 : if (!SWIG_IsOK(res1)) {
24618 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_get" "', argument " "1"" of type '" "struct layerObj *""'");
24619 : }
24620 0 : arg1 = (struct layerObj *)(argp1);
24621 0 : result = (int) ((arg1)->transform);
24622 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24623 :
24624 0 : XSRETURN(argvi);
24625 0 : fail:
24626 :
24627 0 : SWIG_croak_null();
24628 : }
24629 : }
24630 :
24631 :
24632 0 : XS(_wrap_layerObj_labelcache_set) {
24633 : {
24634 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24635 : int arg2 ;
24636 0 : void *argp1 = 0 ;
24637 : int res1 = 0 ;
24638 : int val2 ;
24639 : int ecode2 = 0 ;
24640 : int argvi = 0;
24641 0 : dXSARGS;
24642 :
24643 0 : if ((items < 2) || (items > 2)) {
24644 0 : SWIG_croak("Usage: layerObj_labelcache_set(self,labelcache);");
24645 : }
24646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24647 0 : if (!SWIG_IsOK(res1)) {
24648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24649 : }
24650 0 : arg1 = (struct layerObj *)(argp1);
24651 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24652 0 : if (!SWIG_IsOK(ecode2)) {
24653 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelcache_set" "', argument " "2"" of type '" "int""'");
24654 : }
24655 : arg2 = (int)(val2);
24656 0 : if (arg1) (arg1)->labelcache = arg2;
24657 0 : ST(argvi) = sv_newmortal();
24658 :
24659 :
24660 0 : XSRETURN(argvi);
24661 0 : fail:
24662 :
24663 :
24664 0 : SWIG_croak_null();
24665 : }
24666 : }
24667 :
24668 :
24669 0 : XS(_wrap_layerObj_labelcache_get) {
24670 : {
24671 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24672 0 : void *argp1 = 0 ;
24673 : int res1 = 0 ;
24674 : int argvi = 0;
24675 : int result;
24676 0 : dXSARGS;
24677 :
24678 0 : if ((items < 1) || (items > 1)) {
24679 0 : SWIG_croak("Usage: layerObj_labelcache_get(self);");
24680 : }
24681 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24682 0 : if (!SWIG_IsOK(res1)) {
24683 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24684 : }
24685 0 : arg1 = (struct layerObj *)(argp1);
24686 0 : result = (int) ((arg1)->labelcache);
24687 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24688 :
24689 0 : XSRETURN(argvi);
24690 0 : fail:
24691 :
24692 0 : SWIG_croak_null();
24693 : }
24694 : }
24695 :
24696 :
24697 0 : XS(_wrap_layerObj_postlabelcache_set) {
24698 : {
24699 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24700 : int arg2 ;
24701 0 : void *argp1 = 0 ;
24702 : int res1 = 0 ;
24703 : int val2 ;
24704 : int ecode2 = 0 ;
24705 : int argvi = 0;
24706 0 : dXSARGS;
24707 :
24708 0 : if ((items < 2) || (items > 2)) {
24709 0 : SWIG_croak("Usage: layerObj_postlabelcache_set(self,postlabelcache);");
24710 : }
24711 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24712 0 : if (!SWIG_IsOK(res1)) {
24713 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24714 : }
24715 0 : arg1 = (struct layerObj *)(argp1);
24716 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24717 0 : if (!SWIG_IsOK(ecode2)) {
24718 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
24719 : }
24720 : arg2 = (int)(val2);
24721 0 : if (arg1) (arg1)->postlabelcache = arg2;
24722 0 : ST(argvi) = sv_newmortal();
24723 :
24724 :
24725 0 : XSRETURN(argvi);
24726 0 : fail:
24727 :
24728 :
24729 0 : SWIG_croak_null();
24730 : }
24731 : }
24732 :
24733 :
24734 0 : XS(_wrap_layerObj_postlabelcache_get) {
24735 : {
24736 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24737 0 : void *argp1 = 0 ;
24738 : int res1 = 0 ;
24739 : int argvi = 0;
24740 : int result;
24741 0 : dXSARGS;
24742 :
24743 0 : if ((items < 1) || (items > 1)) {
24744 0 : SWIG_croak("Usage: layerObj_postlabelcache_get(self);");
24745 : }
24746 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24747 0 : if (!SWIG_IsOK(res1)) {
24748 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24749 : }
24750 0 : arg1 = (struct layerObj *)(argp1);
24751 0 : result = (int) ((arg1)->postlabelcache);
24752 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24753 :
24754 0 : XSRETURN(argvi);
24755 0 : fail:
24756 :
24757 0 : SWIG_croak_null();
24758 : }
24759 : }
24760 :
24761 :
24762 0 : XS(_wrap_layerObj_labelitem_set) {
24763 : {
24764 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24765 : char *arg2 = (char *) 0 ;
24766 0 : void *argp1 = 0 ;
24767 : int res1 = 0 ;
24768 : int res2 ;
24769 0 : char *buf2 = 0 ;
24770 0 : int alloc2 = 0 ;
24771 : int argvi = 0;
24772 0 : dXSARGS;
24773 :
24774 0 : if ((items < 2) || (items > 2)) {
24775 0 : SWIG_croak("Usage: layerObj_labelitem_set(self,labelitem);");
24776 : }
24777 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24778 0 : if (!SWIG_IsOK(res1)) {
24779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24780 : }
24781 0 : arg1 = (struct layerObj *)(argp1);
24782 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24783 0 : if (!SWIG_IsOK(res2)) {
24784 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelitem_set" "', argument " "2"" of type '" "char *""'");
24785 : }
24786 0 : arg2 = (char *)(buf2);
24787 : {
24788 0 : if (arg1->labelitem) free((char*)arg1->labelitem);
24789 0 : if (arg2) {
24790 0 : arg1->labelitem = (char *) malloc(strlen(arg2)+1);
24791 : strcpy((char*)arg1->labelitem,arg2);
24792 : } else {
24793 0 : arg1->labelitem = 0;
24794 : }
24795 : }
24796 0 : ST(argvi) = sv_newmortal();
24797 :
24798 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24799 0 : XSRETURN(argvi);
24800 0 : fail:
24801 :
24802 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24803 0 : SWIG_croak_null();
24804 : }
24805 : }
24806 :
24807 :
24808 0 : XS(_wrap_layerObj_labelitem_get) {
24809 : {
24810 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24811 0 : void *argp1 = 0 ;
24812 : int res1 = 0 ;
24813 : int argvi = 0;
24814 : char *result = 0 ;
24815 0 : dXSARGS;
24816 :
24817 0 : if ((items < 1) || (items > 1)) {
24818 0 : SWIG_croak("Usage: layerObj_labelitem_get(self);");
24819 : }
24820 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24821 0 : if (!SWIG_IsOK(res1)) {
24822 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24823 : }
24824 0 : arg1 = (struct layerObj *)(argp1);
24825 0 : result = (char *) ((arg1)->labelitem);
24826 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24827 :
24828 0 : XSRETURN(argvi);
24829 0 : fail:
24830 :
24831 0 : SWIG_croak_null();
24832 : }
24833 : }
24834 :
24835 :
24836 0 : XS(_wrap_layerObj_tileitem_set) {
24837 : {
24838 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24839 : char *arg2 = (char *) 0 ;
24840 0 : void *argp1 = 0 ;
24841 : int res1 = 0 ;
24842 : int res2 ;
24843 0 : char *buf2 = 0 ;
24844 0 : int alloc2 = 0 ;
24845 : int argvi = 0;
24846 0 : dXSARGS;
24847 :
24848 0 : if ((items < 2) || (items > 2)) {
24849 0 : SWIG_croak("Usage: layerObj_tileitem_set(self,tileitem);");
24850 : }
24851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24852 0 : if (!SWIG_IsOK(res1)) {
24853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24854 : }
24855 0 : arg1 = (struct layerObj *)(argp1);
24856 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24857 0 : if (!SWIG_IsOK(res2)) {
24858 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileitem_set" "', argument " "2"" of type '" "char *""'");
24859 : }
24860 0 : arg2 = (char *)(buf2);
24861 : {
24862 0 : if (arg1->tileitem) free((char*)arg1->tileitem);
24863 0 : if (arg2) {
24864 0 : arg1->tileitem = (char *) malloc(strlen(arg2)+1);
24865 : strcpy((char*)arg1->tileitem,arg2);
24866 : } else {
24867 0 : arg1->tileitem = 0;
24868 : }
24869 : }
24870 0 : ST(argvi) = sv_newmortal();
24871 :
24872 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24873 0 : XSRETURN(argvi);
24874 0 : fail:
24875 :
24876 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24877 0 : SWIG_croak_null();
24878 : }
24879 : }
24880 :
24881 :
24882 0 : XS(_wrap_layerObj_tileitem_get) {
24883 : {
24884 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24885 0 : void *argp1 = 0 ;
24886 : int res1 = 0 ;
24887 : int argvi = 0;
24888 : char *result = 0 ;
24889 0 : dXSARGS;
24890 :
24891 0 : if ((items < 1) || (items > 1)) {
24892 0 : SWIG_croak("Usage: layerObj_tileitem_get(self);");
24893 : }
24894 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24895 0 : if (!SWIG_IsOK(res1)) {
24896 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24897 : }
24898 0 : arg1 = (struct layerObj *)(argp1);
24899 0 : result = (char *) ((arg1)->tileitem);
24900 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24901 :
24902 0 : XSRETURN(argvi);
24903 0 : fail:
24904 :
24905 0 : SWIG_croak_null();
24906 : }
24907 : }
24908 :
24909 :
24910 0 : XS(_wrap_layerObj_tileindex_set) {
24911 : {
24912 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24913 : char *arg2 = (char *) 0 ;
24914 0 : void *argp1 = 0 ;
24915 : int res1 = 0 ;
24916 : int res2 ;
24917 0 : char *buf2 = 0 ;
24918 0 : int alloc2 = 0 ;
24919 : int argvi = 0;
24920 0 : dXSARGS;
24921 :
24922 0 : if ((items < 2) || (items > 2)) {
24923 0 : SWIG_croak("Usage: layerObj_tileindex_set(self,tileindex);");
24924 : }
24925 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24926 0 : if (!SWIG_IsOK(res1)) {
24927 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24928 : }
24929 0 : arg1 = (struct layerObj *)(argp1);
24930 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24931 0 : if (!SWIG_IsOK(res2)) {
24932 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileindex_set" "', argument " "2"" of type '" "char *""'");
24933 : }
24934 0 : arg2 = (char *)(buf2);
24935 : {
24936 0 : if (arg1->tileindex) free((char*)arg1->tileindex);
24937 0 : if (arg2) {
24938 0 : arg1->tileindex = (char *) malloc(strlen(arg2)+1);
24939 : strcpy((char*)arg1->tileindex,arg2);
24940 : } else {
24941 0 : arg1->tileindex = 0;
24942 : }
24943 : }
24944 0 : ST(argvi) = sv_newmortal();
24945 :
24946 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24947 0 : XSRETURN(argvi);
24948 0 : fail:
24949 :
24950 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24951 0 : SWIG_croak_null();
24952 : }
24953 : }
24954 :
24955 :
24956 0 : XS(_wrap_layerObj_tileindex_get) {
24957 : {
24958 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24959 0 : void *argp1 = 0 ;
24960 : int res1 = 0 ;
24961 : int argvi = 0;
24962 : char *result = 0 ;
24963 0 : dXSARGS;
24964 :
24965 0 : if ((items < 1) || (items > 1)) {
24966 0 : SWIG_croak("Usage: layerObj_tileindex_get(self);");
24967 : }
24968 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24969 0 : if (!SWIG_IsOK(res1)) {
24970 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24971 : }
24972 0 : arg1 = (struct layerObj *)(argp1);
24973 0 : result = (char *) ((arg1)->tileindex);
24974 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24975 :
24976 0 : XSRETURN(argvi);
24977 0 : fail:
24978 :
24979 0 : SWIG_croak_null();
24980 : }
24981 : }
24982 :
24983 :
24984 0 : XS(_wrap_layerObj_tilesrs_set) {
24985 : {
24986 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24987 : char *arg2 = (char *) 0 ;
24988 0 : void *argp1 = 0 ;
24989 : int res1 = 0 ;
24990 : int res2 ;
24991 0 : char *buf2 = 0 ;
24992 0 : int alloc2 = 0 ;
24993 : int argvi = 0;
24994 0 : dXSARGS;
24995 :
24996 0 : if ((items < 2) || (items > 2)) {
24997 0 : SWIG_croak("Usage: layerObj_tilesrs_set(self,tilesrs);");
24998 : }
24999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25000 0 : if (!SWIG_IsOK(res1)) {
25001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_set" "', argument " "1"" of type '" "struct layerObj *""'");
25002 : }
25003 0 : arg1 = (struct layerObj *)(argp1);
25004 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25005 0 : if (!SWIG_IsOK(res2)) {
25006 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tilesrs_set" "', argument " "2"" of type '" "char *""'");
25007 : }
25008 0 : arg2 = (char *)(buf2);
25009 : {
25010 0 : if (arg1->tilesrs) free((char*)arg1->tilesrs);
25011 0 : if (arg2) {
25012 0 : arg1->tilesrs = (char *) malloc(strlen(arg2)+1);
25013 : strcpy((char*)arg1->tilesrs,arg2);
25014 : } else {
25015 0 : arg1->tilesrs = 0;
25016 : }
25017 : }
25018 0 : ST(argvi) = sv_newmortal();
25019 :
25020 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25021 0 : XSRETURN(argvi);
25022 0 : fail:
25023 :
25024 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25025 0 : SWIG_croak_null();
25026 : }
25027 : }
25028 :
25029 :
25030 0 : XS(_wrap_layerObj_tilesrs_get) {
25031 : {
25032 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25033 0 : void *argp1 = 0 ;
25034 : int res1 = 0 ;
25035 : int argvi = 0;
25036 : char *result = 0 ;
25037 0 : dXSARGS;
25038 :
25039 0 : if ((items < 1) || (items > 1)) {
25040 0 : SWIG_croak("Usage: layerObj_tilesrs_get(self);");
25041 : }
25042 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25043 0 : if (!SWIG_IsOK(res1)) {
25044 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_get" "', argument " "1"" of type '" "struct layerObj *""'");
25045 : }
25046 0 : arg1 = (struct layerObj *)(argp1);
25047 0 : result = (char *) ((arg1)->tilesrs);
25048 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25049 :
25050 0 : XSRETURN(argvi);
25051 0 : fail:
25052 :
25053 0 : SWIG_croak_null();
25054 : }
25055 : }
25056 :
25057 :
25058 0 : XS(_wrap_layerObj_units_set) {
25059 : {
25060 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25061 : int arg2 ;
25062 0 : void *argp1 = 0 ;
25063 : int res1 = 0 ;
25064 : int val2 ;
25065 : int ecode2 = 0 ;
25066 : int argvi = 0;
25067 0 : dXSARGS;
25068 :
25069 0 : if ((items < 2) || (items > 2)) {
25070 0 : SWIG_croak("Usage: layerObj_units_set(self,units);");
25071 : }
25072 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25073 0 : if (!SWIG_IsOK(res1)) {
25074 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_set" "', argument " "1"" of type '" "struct layerObj *""'");
25075 : }
25076 0 : arg1 = (struct layerObj *)(argp1);
25077 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25078 0 : if (!SWIG_IsOK(ecode2)) {
25079 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_units_set" "', argument " "2"" of type '" "int""'");
25080 : }
25081 : arg2 = (int)(val2);
25082 0 : if (arg1) (arg1)->units = arg2;
25083 0 : ST(argvi) = sv_newmortal();
25084 :
25085 :
25086 0 : XSRETURN(argvi);
25087 0 : fail:
25088 :
25089 :
25090 0 : SWIG_croak_null();
25091 : }
25092 : }
25093 :
25094 :
25095 0 : XS(_wrap_layerObj_units_get) {
25096 : {
25097 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25098 0 : void *argp1 = 0 ;
25099 : int res1 = 0 ;
25100 : int argvi = 0;
25101 : int result;
25102 0 : dXSARGS;
25103 :
25104 0 : if ((items < 1) || (items > 1)) {
25105 0 : SWIG_croak("Usage: layerObj_units_get(self);");
25106 : }
25107 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25108 0 : if (!SWIG_IsOK(res1)) {
25109 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_get" "', argument " "1"" of type '" "struct layerObj *""'");
25110 : }
25111 0 : arg1 = (struct layerObj *)(argp1);
25112 0 : result = (int) ((arg1)->units);
25113 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25114 :
25115 0 : XSRETURN(argvi);
25116 0 : fail:
25117 :
25118 0 : SWIG_croak_null();
25119 : }
25120 : }
25121 :
25122 :
25123 0 : XS(_wrap_layerObj_connection_set) {
25124 : {
25125 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25126 : char *arg2 = (char *) 0 ;
25127 0 : void *argp1 = 0 ;
25128 : int res1 = 0 ;
25129 : int res2 ;
25130 0 : char *buf2 = 0 ;
25131 0 : int alloc2 = 0 ;
25132 : int argvi = 0;
25133 0 : dXSARGS;
25134 :
25135 0 : if ((items < 2) || (items > 2)) {
25136 0 : SWIG_croak("Usage: layerObj_connection_set(self,connection);");
25137 : }
25138 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25139 0 : if (!SWIG_IsOK(res1)) {
25140 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_set" "', argument " "1"" of type '" "struct layerObj *""'");
25141 : }
25142 0 : arg1 = (struct layerObj *)(argp1);
25143 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25144 0 : if (!SWIG_IsOK(res2)) {
25145 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connection_set" "', argument " "2"" of type '" "char *""'");
25146 : }
25147 0 : arg2 = (char *)(buf2);
25148 : {
25149 0 : if (arg1->connection) free((char*)arg1->connection);
25150 0 : if (arg2) {
25151 0 : arg1->connection = (char *) malloc(strlen(arg2)+1);
25152 : strcpy((char*)arg1->connection,arg2);
25153 : } else {
25154 0 : arg1->connection = 0;
25155 : }
25156 : }
25157 0 : ST(argvi) = sv_newmortal();
25158 :
25159 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25160 0 : XSRETURN(argvi);
25161 0 : fail:
25162 :
25163 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25164 0 : SWIG_croak_null();
25165 : }
25166 : }
25167 :
25168 :
25169 0 : XS(_wrap_layerObj_connection_get) {
25170 : {
25171 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25172 0 : void *argp1 = 0 ;
25173 : int res1 = 0 ;
25174 : int argvi = 0;
25175 : char *result = 0 ;
25176 0 : dXSARGS;
25177 :
25178 0 : if ((items < 1) || (items > 1)) {
25179 0 : SWIG_croak("Usage: layerObj_connection_get(self);");
25180 : }
25181 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25182 0 : if (!SWIG_IsOK(res1)) {
25183 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_get" "', argument " "1"" of type '" "struct layerObj *""'");
25184 : }
25185 0 : arg1 = (struct layerObj *)(argp1);
25186 0 : result = (char *) ((arg1)->connection);
25187 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25188 :
25189 0 : XSRETURN(argvi);
25190 0 : fail:
25191 :
25192 0 : SWIG_croak_null();
25193 : }
25194 : }
25195 :
25196 :
25197 0 : XS(_wrap_layerObj_plugin_library_set) {
25198 : {
25199 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25200 : char *arg2 = (char *) 0 ;
25201 0 : void *argp1 = 0 ;
25202 : int res1 = 0 ;
25203 : int res2 ;
25204 0 : char *buf2 = 0 ;
25205 0 : int alloc2 = 0 ;
25206 : int argvi = 0;
25207 0 : dXSARGS;
25208 :
25209 0 : if ((items < 2) || (items > 2)) {
25210 0 : SWIG_croak("Usage: layerObj_plugin_library_set(self,plugin_library);");
25211 : }
25212 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25213 0 : if (!SWIG_IsOK(res1)) {
25214 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_set" "', argument " "1"" of type '" "struct layerObj *""'");
25215 : }
25216 0 : arg1 = (struct layerObj *)(argp1);
25217 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25218 0 : if (!SWIG_IsOK(res2)) {
25219 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_set" "', argument " "2"" of type '" "char *""'");
25220 : }
25221 0 : arg2 = (char *)(buf2);
25222 : {
25223 0 : if (arg1->plugin_library) free((char*)arg1->plugin_library);
25224 0 : if (arg2) {
25225 0 : arg1->plugin_library = (char *) malloc(strlen(arg2)+1);
25226 : strcpy((char*)arg1->plugin_library,arg2);
25227 : } else {
25228 0 : arg1->plugin_library = 0;
25229 : }
25230 : }
25231 0 : ST(argvi) = sv_newmortal();
25232 :
25233 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25234 0 : XSRETURN(argvi);
25235 0 : fail:
25236 :
25237 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25238 0 : SWIG_croak_null();
25239 : }
25240 : }
25241 :
25242 :
25243 0 : XS(_wrap_layerObj_plugin_library_get) {
25244 : {
25245 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25246 0 : void *argp1 = 0 ;
25247 : int res1 = 0 ;
25248 : int argvi = 0;
25249 : char *result = 0 ;
25250 0 : dXSARGS;
25251 :
25252 0 : if ((items < 1) || (items > 1)) {
25253 0 : SWIG_croak("Usage: layerObj_plugin_library_get(self);");
25254 : }
25255 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25256 0 : if (!SWIG_IsOK(res1)) {
25257 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_get" "', argument " "1"" of type '" "struct layerObj *""'");
25258 : }
25259 0 : arg1 = (struct layerObj *)(argp1);
25260 0 : result = (char *) ((arg1)->plugin_library);
25261 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25262 :
25263 0 : XSRETURN(argvi);
25264 0 : fail:
25265 :
25266 0 : SWIG_croak_null();
25267 : }
25268 : }
25269 :
25270 :
25271 0 : XS(_wrap_layerObj_plugin_library_original_set) {
25272 : {
25273 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25274 : char *arg2 = (char *) 0 ;
25275 0 : void *argp1 = 0 ;
25276 : int res1 = 0 ;
25277 : int res2 ;
25278 0 : char *buf2 = 0 ;
25279 0 : int alloc2 = 0 ;
25280 : int argvi = 0;
25281 0 : dXSARGS;
25282 :
25283 0 : if ((items < 2) || (items > 2)) {
25284 0 : SWIG_croak("Usage: layerObj_plugin_library_original_set(self,plugin_library_original);");
25285 : }
25286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25287 0 : if (!SWIG_IsOK(res1)) {
25288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_set" "', argument " "1"" of type '" "struct layerObj *""'");
25289 : }
25290 0 : arg1 = (struct layerObj *)(argp1);
25291 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25292 0 : if (!SWIG_IsOK(res2)) {
25293 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_original_set" "', argument " "2"" of type '" "char *""'");
25294 : }
25295 0 : arg2 = (char *)(buf2);
25296 : {
25297 0 : if (arg1->plugin_library_original) free((char*)arg1->plugin_library_original);
25298 0 : if (arg2) {
25299 0 : arg1->plugin_library_original = (char *) malloc(strlen(arg2)+1);
25300 : strcpy((char*)arg1->plugin_library_original,arg2);
25301 : } else {
25302 0 : arg1->plugin_library_original = 0;
25303 : }
25304 : }
25305 0 : ST(argvi) = sv_newmortal();
25306 :
25307 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25308 0 : XSRETURN(argvi);
25309 0 : fail:
25310 :
25311 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25312 0 : SWIG_croak_null();
25313 : }
25314 : }
25315 :
25316 :
25317 0 : XS(_wrap_layerObj_plugin_library_original_get) {
25318 : {
25319 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25320 0 : void *argp1 = 0 ;
25321 : int res1 = 0 ;
25322 : int argvi = 0;
25323 : char *result = 0 ;
25324 0 : dXSARGS;
25325 :
25326 0 : if ((items < 1) || (items > 1)) {
25327 0 : SWIG_croak("Usage: layerObj_plugin_library_original_get(self);");
25328 : }
25329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25330 0 : if (!SWIG_IsOK(res1)) {
25331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_get" "', argument " "1"" of type '" "struct layerObj *""'");
25332 : }
25333 0 : arg1 = (struct layerObj *)(argp1);
25334 0 : result = (char *) ((arg1)->plugin_library_original);
25335 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25336 :
25337 0 : XSRETURN(argvi);
25338 0 : fail:
25339 :
25340 0 : SWIG_croak_null();
25341 : }
25342 : }
25343 :
25344 :
25345 0 : XS(_wrap_layerObj_connectiontype_set) {
25346 : {
25347 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25348 : enum MS_CONNECTION_TYPE arg2 ;
25349 0 : void *argp1 = 0 ;
25350 : int res1 = 0 ;
25351 : int val2 ;
25352 : int ecode2 = 0 ;
25353 : int argvi = 0;
25354 0 : dXSARGS;
25355 :
25356 0 : if ((items < 2) || (items > 2)) {
25357 0 : SWIG_croak("Usage: layerObj_connectiontype_set(self,connectiontype);");
25358 : }
25359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25360 0 : if (!SWIG_IsOK(res1)) {
25361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_set" "', argument " "1"" of type '" "struct layerObj *""'");
25362 : }
25363 0 : arg1 = (struct layerObj *)(argp1);
25364 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25365 0 : if (!SWIG_IsOK(ecode2)) {
25366 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_connectiontype_set" "', argument " "2"" of type '" "enum MS_CONNECTION_TYPE""'");
25367 : }
25368 0 : arg2 = (enum MS_CONNECTION_TYPE)(val2);
25369 0 : if (arg1) (arg1)->connectiontype = arg2;
25370 0 : ST(argvi) = sv_newmortal();
25371 :
25372 :
25373 0 : XSRETURN(argvi);
25374 0 : fail:
25375 :
25376 :
25377 0 : SWIG_croak_null();
25378 : }
25379 : }
25380 :
25381 :
25382 0 : XS(_wrap_layerObj_connectiontype_get) {
25383 : {
25384 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25385 0 : void *argp1 = 0 ;
25386 : int res1 = 0 ;
25387 : int argvi = 0;
25388 : enum MS_CONNECTION_TYPE result;
25389 0 : dXSARGS;
25390 :
25391 0 : if ((items < 1) || (items > 1)) {
25392 0 : SWIG_croak("Usage: layerObj_connectiontype_get(self);");
25393 : }
25394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25395 0 : if (!SWIG_IsOK(res1)) {
25396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_get" "', argument " "1"" of type '" "struct layerObj *""'");
25397 : }
25398 0 : arg1 = (struct layerObj *)(argp1);
25399 0 : result = (enum MS_CONNECTION_TYPE) ((arg1)->connectiontype);
25400 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25401 :
25402 0 : XSRETURN(argvi);
25403 0 : fail:
25404 :
25405 0 : SWIG_croak_null();
25406 : }
25407 : }
25408 :
25409 :
25410 0 : XS(_wrap_layerObj_numitems_get) {
25411 : {
25412 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25413 0 : void *argp1 = 0 ;
25414 : int res1 = 0 ;
25415 : int argvi = 0;
25416 : int result;
25417 0 : dXSARGS;
25418 :
25419 0 : if ((items < 1) || (items > 1)) {
25420 0 : SWIG_croak("Usage: layerObj_numitems_get(self);");
25421 : }
25422 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25423 0 : if (!SWIG_IsOK(res1)) {
25424 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numitems_get" "', argument " "1"" of type '" "struct layerObj *""'");
25425 : }
25426 0 : arg1 = (struct layerObj *)(argp1);
25427 0 : result = (int) ((arg1)->numitems);
25428 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25429 :
25430 0 : XSRETURN(argvi);
25431 0 : fail:
25432 :
25433 0 : SWIG_croak_null();
25434 : }
25435 : }
25436 :
25437 :
25438 0 : XS(_wrap_layerObj_bandsitem_set) {
25439 : {
25440 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25441 : char *arg2 = (char *) 0 ;
25442 0 : void *argp1 = 0 ;
25443 : int res1 = 0 ;
25444 : int res2 ;
25445 0 : char *buf2 = 0 ;
25446 0 : int alloc2 = 0 ;
25447 : int argvi = 0;
25448 0 : dXSARGS;
25449 :
25450 0 : if ((items < 2) || (items > 2)) {
25451 0 : SWIG_croak("Usage: layerObj_bandsitem_set(self,bandsitem);");
25452 : }
25453 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25454 0 : if (!SWIG_IsOK(res1)) {
25455 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25456 : }
25457 0 : arg1 = (struct layerObj *)(argp1);
25458 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25459 0 : if (!SWIG_IsOK(res2)) {
25460 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_bandsitem_set" "', argument " "2"" of type '" "char *""'");
25461 : }
25462 0 : arg2 = (char *)(buf2);
25463 : {
25464 0 : if (arg1->bandsitem) free((char*)arg1->bandsitem);
25465 0 : if (arg2) {
25466 0 : arg1->bandsitem = (char *) malloc(strlen(arg2)+1);
25467 : strcpy((char*)arg1->bandsitem,arg2);
25468 : } else {
25469 0 : arg1->bandsitem = 0;
25470 : }
25471 : }
25472 0 : ST(argvi) = sv_newmortal();
25473 :
25474 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25475 0 : XSRETURN(argvi);
25476 0 : fail:
25477 :
25478 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25479 0 : SWIG_croak_null();
25480 : }
25481 : }
25482 :
25483 :
25484 0 : XS(_wrap_layerObj_bandsitem_get) {
25485 : {
25486 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25487 0 : void *argp1 = 0 ;
25488 : int res1 = 0 ;
25489 : int argvi = 0;
25490 : char *result = 0 ;
25491 0 : dXSARGS;
25492 :
25493 0 : if ((items < 1) || (items > 1)) {
25494 0 : SWIG_croak("Usage: layerObj_bandsitem_get(self);");
25495 : }
25496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25497 0 : if (!SWIG_IsOK(res1)) {
25498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25499 : }
25500 0 : arg1 = (struct layerObj *)(argp1);
25501 0 : result = (char *) ((arg1)->bandsitem);
25502 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25503 :
25504 0 : XSRETURN(argvi);
25505 0 : fail:
25506 :
25507 0 : SWIG_croak_null();
25508 : }
25509 : }
25510 :
25511 :
25512 0 : XS(_wrap_layerObj_filteritem_set) {
25513 : {
25514 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25515 : char *arg2 = (char *) 0 ;
25516 0 : void *argp1 = 0 ;
25517 : int res1 = 0 ;
25518 : int res2 ;
25519 0 : char *buf2 = 0 ;
25520 0 : int alloc2 = 0 ;
25521 : int argvi = 0;
25522 0 : dXSARGS;
25523 :
25524 0 : if ((items < 2) || (items > 2)) {
25525 0 : SWIG_croak("Usage: layerObj_filteritem_set(self,filteritem);");
25526 : }
25527 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25528 0 : if (!SWIG_IsOK(res1)) {
25529 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25530 : }
25531 0 : arg1 = (struct layerObj *)(argp1);
25532 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25533 0 : if (!SWIG_IsOK(res2)) {
25534 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_filteritem_set" "', argument " "2"" of type '" "char *""'");
25535 : }
25536 0 : arg2 = (char *)(buf2);
25537 : {
25538 0 : if (arg1->filteritem) free((char*)arg1->filteritem);
25539 0 : if (arg2) {
25540 0 : arg1->filteritem = (char *) malloc(strlen(arg2)+1);
25541 : strcpy((char*)arg1->filteritem,arg2);
25542 : } else {
25543 0 : arg1->filteritem = 0;
25544 : }
25545 : }
25546 0 : ST(argvi) = sv_newmortal();
25547 :
25548 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25549 0 : XSRETURN(argvi);
25550 0 : fail:
25551 :
25552 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25553 0 : SWIG_croak_null();
25554 : }
25555 : }
25556 :
25557 :
25558 0 : XS(_wrap_layerObj_filteritem_get) {
25559 : {
25560 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25561 0 : void *argp1 = 0 ;
25562 : int res1 = 0 ;
25563 : int argvi = 0;
25564 : char *result = 0 ;
25565 0 : dXSARGS;
25566 :
25567 0 : if ((items < 1) || (items > 1)) {
25568 0 : SWIG_croak("Usage: layerObj_filteritem_get(self);");
25569 : }
25570 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25571 0 : if (!SWIG_IsOK(res1)) {
25572 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25573 : }
25574 0 : arg1 = (struct layerObj *)(argp1);
25575 0 : result = (char *) ((arg1)->filteritem);
25576 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25577 :
25578 0 : XSRETURN(argvi);
25579 0 : fail:
25580 :
25581 0 : SWIG_croak_null();
25582 : }
25583 : }
25584 :
25585 :
25586 0 : XS(_wrap_layerObj_styleitem_set) {
25587 : {
25588 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25589 : char *arg2 = (char *) 0 ;
25590 0 : void *argp1 = 0 ;
25591 : int res1 = 0 ;
25592 : int res2 ;
25593 0 : char *buf2 = 0 ;
25594 0 : int alloc2 = 0 ;
25595 : int argvi = 0;
25596 0 : dXSARGS;
25597 :
25598 0 : if ((items < 2) || (items > 2)) {
25599 0 : SWIG_croak("Usage: layerObj_styleitem_set(self,styleitem);");
25600 : }
25601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25602 0 : if (!SWIG_IsOK(res1)) {
25603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25604 : }
25605 0 : arg1 = (struct layerObj *)(argp1);
25606 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25607 0 : if (!SWIG_IsOK(res2)) {
25608 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_styleitem_set" "', argument " "2"" of type '" "char *""'");
25609 : }
25610 0 : arg2 = (char *)(buf2);
25611 : {
25612 0 : if (arg1->styleitem) free((char*)arg1->styleitem);
25613 0 : if (arg2) {
25614 0 : arg1->styleitem = (char *) malloc(strlen(arg2)+1);
25615 : strcpy((char*)arg1->styleitem,arg2);
25616 : } else {
25617 0 : arg1->styleitem = 0;
25618 : }
25619 : }
25620 0 : ST(argvi) = sv_newmortal();
25621 :
25622 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25623 0 : XSRETURN(argvi);
25624 0 : fail:
25625 :
25626 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25627 0 : SWIG_croak_null();
25628 : }
25629 : }
25630 :
25631 :
25632 0 : XS(_wrap_layerObj_styleitem_get) {
25633 : {
25634 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25635 0 : void *argp1 = 0 ;
25636 : int res1 = 0 ;
25637 : int argvi = 0;
25638 : char *result = 0 ;
25639 0 : dXSARGS;
25640 :
25641 0 : if ((items < 1) || (items > 1)) {
25642 0 : SWIG_croak("Usage: layerObj_styleitem_get(self);");
25643 : }
25644 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25645 0 : if (!SWIG_IsOK(res1)) {
25646 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25647 : }
25648 0 : arg1 = (struct layerObj *)(argp1);
25649 0 : result = (char *) ((arg1)->styleitem);
25650 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25651 :
25652 0 : XSRETURN(argvi);
25653 0 : fail:
25654 :
25655 0 : SWIG_croak_null();
25656 : }
25657 : }
25658 :
25659 :
25660 0 : XS(_wrap_layerObj_requires_set) {
25661 : {
25662 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25663 : char *arg2 = (char *) 0 ;
25664 0 : void *argp1 = 0 ;
25665 : int res1 = 0 ;
25666 : int res2 ;
25667 0 : char *buf2 = 0 ;
25668 0 : int alloc2 = 0 ;
25669 : int argvi = 0;
25670 0 : dXSARGS;
25671 :
25672 0 : if ((items < 2) || (items > 2)) {
25673 0 : SWIG_croak("Usage: layerObj_requires_set(self,requires);");
25674 : }
25675 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25676 0 : if (!SWIG_IsOK(res1)) {
25677 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25678 : }
25679 0 : arg1 = (struct layerObj *)(argp1);
25680 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25681 0 : if (!SWIG_IsOK(res2)) {
25682 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_requires_set" "', argument " "2"" of type '" "char *""'");
25683 : }
25684 0 : arg2 = (char *)(buf2);
25685 : {
25686 0 : if (arg1->requires) free((char*)arg1->requires);
25687 0 : if (arg2) {
25688 0 : arg1->requires = (char *) malloc(strlen(arg2)+1);
25689 : strcpy((char*)arg1->requires,arg2);
25690 : } else {
25691 0 : arg1->requires = 0;
25692 : }
25693 : }
25694 0 : ST(argvi) = sv_newmortal();
25695 :
25696 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25697 0 : XSRETURN(argvi);
25698 0 : fail:
25699 :
25700 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25701 0 : SWIG_croak_null();
25702 : }
25703 : }
25704 :
25705 :
25706 0 : XS(_wrap_layerObj_requires_get) {
25707 : {
25708 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25709 0 : void *argp1 = 0 ;
25710 : int res1 = 0 ;
25711 : int argvi = 0;
25712 : char *result = 0 ;
25713 0 : dXSARGS;
25714 :
25715 0 : if ((items < 1) || (items > 1)) {
25716 0 : SWIG_croak("Usage: layerObj_requires_get(self);");
25717 : }
25718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25719 0 : if (!SWIG_IsOK(res1)) {
25720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25721 : }
25722 0 : arg1 = (struct layerObj *)(argp1);
25723 0 : result = (char *) ((arg1)->requires);
25724 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25725 :
25726 0 : XSRETURN(argvi);
25727 0 : fail:
25728 :
25729 0 : SWIG_croak_null();
25730 : }
25731 : }
25732 :
25733 :
25734 0 : XS(_wrap_layerObj_labelrequires_set) {
25735 : {
25736 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25737 : char *arg2 = (char *) 0 ;
25738 0 : void *argp1 = 0 ;
25739 : int res1 = 0 ;
25740 : int res2 ;
25741 0 : char *buf2 = 0 ;
25742 0 : int alloc2 = 0 ;
25743 : int argvi = 0;
25744 0 : dXSARGS;
25745 :
25746 0 : if ((items < 2) || (items > 2)) {
25747 0 : SWIG_croak("Usage: layerObj_labelrequires_set(self,labelrequires);");
25748 : }
25749 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25750 0 : if (!SWIG_IsOK(res1)) {
25751 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25752 : }
25753 0 : arg1 = (struct layerObj *)(argp1);
25754 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25755 0 : if (!SWIG_IsOK(res2)) {
25756 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelrequires_set" "', argument " "2"" of type '" "char *""'");
25757 : }
25758 0 : arg2 = (char *)(buf2);
25759 : {
25760 0 : if (arg1->labelrequires) free((char*)arg1->labelrequires);
25761 0 : if (arg2) {
25762 0 : arg1->labelrequires = (char *) malloc(strlen(arg2)+1);
25763 : strcpy((char*)arg1->labelrequires,arg2);
25764 : } else {
25765 0 : arg1->labelrequires = 0;
25766 : }
25767 : }
25768 0 : ST(argvi) = sv_newmortal();
25769 :
25770 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25771 0 : XSRETURN(argvi);
25772 0 : fail:
25773 :
25774 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25775 0 : SWIG_croak_null();
25776 : }
25777 : }
25778 :
25779 :
25780 0 : XS(_wrap_layerObj_labelrequires_get) {
25781 : {
25782 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25783 0 : void *argp1 = 0 ;
25784 : int res1 = 0 ;
25785 : int argvi = 0;
25786 : char *result = 0 ;
25787 0 : dXSARGS;
25788 :
25789 0 : if ((items < 1) || (items > 1)) {
25790 0 : SWIG_croak("Usage: layerObj_labelrequires_get(self);");
25791 : }
25792 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25793 0 : if (!SWIG_IsOK(res1)) {
25794 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25795 : }
25796 0 : arg1 = (struct layerObj *)(argp1);
25797 0 : result = (char *) ((arg1)->labelrequires);
25798 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25799 :
25800 0 : XSRETURN(argvi);
25801 0 : fail:
25802 :
25803 0 : SWIG_croak_null();
25804 : }
25805 : }
25806 :
25807 :
25808 0 : XS(_wrap_layerObj_metadata_get) {
25809 : {
25810 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25811 0 : void *argp1 = 0 ;
25812 : int res1 = 0 ;
25813 : int argvi = 0;
25814 : hashTableObj *result = 0 ;
25815 0 : dXSARGS;
25816 :
25817 0 : if ((items < 1) || (items > 1)) {
25818 0 : SWIG_croak("Usage: layerObj_metadata_get(self);");
25819 : }
25820 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25821 0 : if (!SWIG_IsOK(res1)) {
25822 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_metadata_get" "', argument " "1"" of type '" "struct layerObj *""'");
25823 : }
25824 0 : arg1 = (struct layerObj *)(argp1);
25825 0 : result = (hashTableObj *)& ((arg1)->metadata);
25826 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25827 :
25828 0 : XSRETURN(argvi);
25829 0 : fail:
25830 :
25831 0 : SWIG_croak_null();
25832 : }
25833 : }
25834 :
25835 :
25836 0 : XS(_wrap_layerObj_validation_get) {
25837 : {
25838 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25839 0 : void *argp1 = 0 ;
25840 : int res1 = 0 ;
25841 : int argvi = 0;
25842 : hashTableObj *result = 0 ;
25843 0 : dXSARGS;
25844 :
25845 0 : if ((items < 1) || (items > 1)) {
25846 0 : SWIG_croak("Usage: layerObj_validation_get(self);");
25847 : }
25848 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25849 0 : if (!SWIG_IsOK(res1)) {
25850 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_validation_get" "', argument " "1"" of type '" "struct layerObj *""'");
25851 : }
25852 0 : arg1 = (struct layerObj *)(argp1);
25853 0 : result = (hashTableObj *)& ((arg1)->validation);
25854 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25855 :
25856 0 : XSRETURN(argvi);
25857 0 : fail:
25858 :
25859 0 : SWIG_croak_null();
25860 : }
25861 : }
25862 :
25863 :
25864 0 : XS(_wrap_layerObj_bindvals_get) {
25865 : {
25866 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25867 0 : void *argp1 = 0 ;
25868 : int res1 = 0 ;
25869 : int argvi = 0;
25870 : hashTableObj *result = 0 ;
25871 0 : dXSARGS;
25872 :
25873 0 : if ((items < 1) || (items > 1)) {
25874 0 : SWIG_croak("Usage: layerObj_bindvals_get(self);");
25875 : }
25876 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25877 0 : if (!SWIG_IsOK(res1)) {
25878 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bindvals_get" "', argument " "1"" of type '" "struct layerObj *""'");
25879 : }
25880 0 : arg1 = (struct layerObj *)(argp1);
25881 0 : result = (hashTableObj *)& ((arg1)->bindvals);
25882 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25883 :
25884 0 : XSRETURN(argvi);
25885 0 : fail:
25886 :
25887 0 : SWIG_croak_null();
25888 : }
25889 : }
25890 :
25891 :
25892 0 : XS(_wrap_layerObj_cluster_get) {
25893 : {
25894 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25895 0 : void *argp1 = 0 ;
25896 : int res1 = 0 ;
25897 : int argvi = 0;
25898 : clusterObj *result = 0 ;
25899 0 : dXSARGS;
25900 :
25901 0 : if ((items < 1) || (items > 1)) {
25902 0 : SWIG_croak("Usage: layerObj_cluster_get(self);");
25903 : }
25904 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25905 0 : if (!SWIG_IsOK(res1)) {
25906 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_cluster_get" "', argument " "1"" of type '" "struct layerObj *""'");
25907 : }
25908 0 : arg1 = (struct layerObj *)(argp1);
25909 0 : result = (clusterObj *)& ((arg1)->cluster);
25910 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, 0 | SWIG_SHADOW); argvi++ ;
25911 :
25912 0 : XSRETURN(argvi);
25913 0 : fail:
25914 :
25915 0 : SWIG_croak_null();
25916 : }
25917 : }
25918 :
25919 :
25920 0 : XS(_wrap_layerObj_dump_set) {
25921 : {
25922 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25923 : int arg2 ;
25924 0 : void *argp1 = 0 ;
25925 : int res1 = 0 ;
25926 : int val2 ;
25927 : int ecode2 = 0 ;
25928 : int argvi = 0;
25929 0 : dXSARGS;
25930 :
25931 0 : if ((items < 2) || (items > 2)) {
25932 0 : SWIG_croak("Usage: layerObj_dump_set(self,dump);");
25933 : }
25934 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25935 0 : if (!SWIG_IsOK(res1)) {
25936 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_set" "', argument " "1"" of type '" "struct layerObj *""'");
25937 : }
25938 0 : arg1 = (struct layerObj *)(argp1);
25939 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25940 0 : if (!SWIG_IsOK(ecode2)) {
25941 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_dump_set" "', argument " "2"" of type '" "int""'");
25942 : }
25943 : arg2 = (int)(val2);
25944 0 : if (arg1) (arg1)->dump = arg2;
25945 0 : ST(argvi) = sv_newmortal();
25946 :
25947 :
25948 0 : XSRETURN(argvi);
25949 0 : fail:
25950 :
25951 :
25952 0 : SWIG_croak_null();
25953 : }
25954 : }
25955 :
25956 :
25957 0 : XS(_wrap_layerObj_dump_get) {
25958 : {
25959 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25960 0 : void *argp1 = 0 ;
25961 : int res1 = 0 ;
25962 : int argvi = 0;
25963 : int result;
25964 0 : dXSARGS;
25965 :
25966 0 : if ((items < 1) || (items > 1)) {
25967 0 : SWIG_croak("Usage: layerObj_dump_get(self);");
25968 : }
25969 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25970 0 : if (!SWIG_IsOK(res1)) {
25971 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_get" "', argument " "1"" of type '" "struct layerObj *""'");
25972 : }
25973 0 : arg1 = (struct layerObj *)(argp1);
25974 0 : result = (int) ((arg1)->dump);
25975 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25976 :
25977 0 : XSRETURN(argvi);
25978 0 : fail:
25979 :
25980 0 : SWIG_croak_null();
25981 : }
25982 : }
25983 :
25984 :
25985 0 : XS(_wrap_layerObj_debug_set) {
25986 : {
25987 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25988 : int arg2 ;
25989 0 : void *argp1 = 0 ;
25990 : int res1 = 0 ;
25991 : int val2 ;
25992 : int ecode2 = 0 ;
25993 : int argvi = 0;
25994 0 : dXSARGS;
25995 :
25996 0 : if ((items < 2) || (items > 2)) {
25997 0 : SWIG_croak("Usage: layerObj_debug_set(self,debug);");
25998 : }
25999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26000 0 : if (!SWIG_IsOK(res1)) {
26001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_set" "', argument " "1"" of type '" "struct layerObj *""'");
26002 : }
26003 0 : arg1 = (struct layerObj *)(argp1);
26004 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26005 0 : if (!SWIG_IsOK(ecode2)) {
26006 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_debug_set" "', argument " "2"" of type '" "int""'");
26007 : }
26008 : arg2 = (int)(val2);
26009 0 : if (arg1) (arg1)->debug = arg2;
26010 0 : ST(argvi) = sv_newmortal();
26011 :
26012 :
26013 0 : XSRETURN(argvi);
26014 0 : fail:
26015 :
26016 :
26017 0 : SWIG_croak_null();
26018 : }
26019 : }
26020 :
26021 :
26022 0 : XS(_wrap_layerObj_debug_get) {
26023 : {
26024 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26025 0 : void *argp1 = 0 ;
26026 : int res1 = 0 ;
26027 : int argvi = 0;
26028 : int result;
26029 0 : dXSARGS;
26030 :
26031 0 : if ((items < 1) || (items > 1)) {
26032 0 : SWIG_croak("Usage: layerObj_debug_get(self);");
26033 : }
26034 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26035 0 : if (!SWIG_IsOK(res1)) {
26036 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_get" "', argument " "1"" of type '" "struct layerObj *""'");
26037 : }
26038 0 : arg1 = (struct layerObj *)(argp1);
26039 0 : result = (int) ((arg1)->debug);
26040 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26041 :
26042 0 : XSRETURN(argvi);
26043 0 : fail:
26044 :
26045 0 : SWIG_croak_null();
26046 : }
26047 : }
26048 :
26049 :
26050 0 : XS(_wrap_layerObj_extent_get) {
26051 : {
26052 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26053 0 : void *argp1 = 0 ;
26054 : int res1 = 0 ;
26055 : int argvi = 0;
26056 : rectObj *result = 0 ;
26057 0 : dXSARGS;
26058 :
26059 0 : if ((items < 1) || (items > 1)) {
26060 0 : SWIG_croak("Usage: layerObj_extent_get(self);");
26061 : }
26062 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26063 0 : if (!SWIG_IsOK(res1)) {
26064 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_extent_get" "', argument " "1"" of type '" "struct layerObj *""'");
26065 : }
26066 0 : arg1 = (struct layerObj *)(argp1);
26067 0 : result = (rectObj *)& ((arg1)->extent);
26068 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
26069 :
26070 0 : XSRETURN(argvi);
26071 0 : fail:
26072 :
26073 0 : SWIG_croak_null();
26074 : }
26075 : }
26076 :
26077 :
26078 0 : XS(_wrap_layerObj_numprocessing_get) {
26079 : {
26080 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26081 0 : void *argp1 = 0 ;
26082 : int res1 = 0 ;
26083 : int argvi = 0;
26084 : int result;
26085 0 : dXSARGS;
26086 :
26087 0 : if ((items < 1) || (items > 1)) {
26088 0 : SWIG_croak("Usage: layerObj_numprocessing_get(self);");
26089 : }
26090 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26091 0 : if (!SWIG_IsOK(res1)) {
26092 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numprocessing_get" "', argument " "1"" of type '" "struct layerObj *""'");
26093 : }
26094 0 : arg1 = (struct layerObj *)(argp1);
26095 0 : result = (int) ((arg1)->numprocessing);
26096 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26097 :
26098 0 : XSRETURN(argvi);
26099 0 : fail:
26100 :
26101 0 : SWIG_croak_null();
26102 : }
26103 : }
26104 :
26105 :
26106 0 : XS(_wrap_layerObj_numjoins_get) {
26107 : {
26108 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26109 0 : void *argp1 = 0 ;
26110 : int res1 = 0 ;
26111 : int argvi = 0;
26112 : int result;
26113 0 : dXSARGS;
26114 :
26115 0 : if ((items < 1) || (items > 1)) {
26116 0 : SWIG_croak("Usage: layerObj_numjoins_get(self);");
26117 : }
26118 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26119 0 : if (!SWIG_IsOK(res1)) {
26120 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numjoins_get" "', argument " "1"" of type '" "struct layerObj *""'");
26121 : }
26122 0 : arg1 = (struct layerObj *)(argp1);
26123 0 : result = (int) ((arg1)->numjoins);
26124 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26125 :
26126 0 : XSRETURN(argvi);
26127 0 : fail:
26128 :
26129 0 : SWIG_croak_null();
26130 : }
26131 : }
26132 :
26133 :
26134 0 : XS(_wrap_layerObj_classgroup_set) {
26135 : {
26136 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26137 : char *arg2 = (char *) 0 ;
26138 0 : void *argp1 = 0 ;
26139 : int res1 = 0 ;
26140 : int res2 ;
26141 0 : char *buf2 = 0 ;
26142 0 : int alloc2 = 0 ;
26143 : int argvi = 0;
26144 0 : dXSARGS;
26145 :
26146 0 : if ((items < 2) || (items > 2)) {
26147 0 : SWIG_croak("Usage: layerObj_classgroup_set(self,classgroup);");
26148 : }
26149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26150 0 : if (!SWIG_IsOK(res1)) {
26151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_set" "', argument " "1"" of type '" "struct layerObj *""'");
26152 : }
26153 0 : arg1 = (struct layerObj *)(argp1);
26154 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26155 0 : if (!SWIG_IsOK(res2)) {
26156 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classgroup_set" "', argument " "2"" of type '" "char *""'");
26157 : }
26158 0 : arg2 = (char *)(buf2);
26159 : {
26160 0 : if (arg1->classgroup) free((char*)arg1->classgroup);
26161 0 : if (arg2) {
26162 0 : arg1->classgroup = (char *) malloc(strlen(arg2)+1);
26163 : strcpy((char*)arg1->classgroup,arg2);
26164 : } else {
26165 0 : arg1->classgroup = 0;
26166 : }
26167 : }
26168 0 : ST(argvi) = sv_newmortal();
26169 :
26170 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26171 0 : XSRETURN(argvi);
26172 0 : fail:
26173 :
26174 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26175 0 : SWIG_croak_null();
26176 : }
26177 : }
26178 :
26179 :
26180 0 : XS(_wrap_layerObj_classgroup_get) {
26181 : {
26182 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26183 0 : void *argp1 = 0 ;
26184 : int res1 = 0 ;
26185 : int argvi = 0;
26186 : char *result = 0 ;
26187 0 : dXSARGS;
26188 :
26189 0 : if ((items < 1) || (items > 1)) {
26190 0 : SWIG_croak("Usage: layerObj_classgroup_get(self);");
26191 : }
26192 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26193 0 : if (!SWIG_IsOK(res1)) {
26194 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_get" "', argument " "1"" of type '" "struct layerObj *""'");
26195 : }
26196 0 : arg1 = (struct layerObj *)(argp1);
26197 0 : result = (char *) ((arg1)->classgroup);
26198 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26199 :
26200 0 : XSRETURN(argvi);
26201 0 : fail:
26202 :
26203 0 : SWIG_croak_null();
26204 : }
26205 : }
26206 :
26207 :
26208 0 : XS(_wrap_layerObj_mask_set) {
26209 : {
26210 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26211 : char *arg2 = (char *) 0 ;
26212 0 : void *argp1 = 0 ;
26213 : int res1 = 0 ;
26214 : int res2 ;
26215 0 : char *buf2 = 0 ;
26216 0 : int alloc2 = 0 ;
26217 : int argvi = 0;
26218 0 : dXSARGS;
26219 :
26220 0 : if ((items < 2) || (items > 2)) {
26221 0 : SWIG_croak("Usage: layerObj_mask_set(self,mask);");
26222 : }
26223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26224 0 : if (!SWIG_IsOK(res1)) {
26225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_set" "', argument " "1"" of type '" "struct layerObj *""'");
26226 : }
26227 0 : arg1 = (struct layerObj *)(argp1);
26228 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26229 0 : if (!SWIG_IsOK(res2)) {
26230 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_mask_set" "', argument " "2"" of type '" "char *""'");
26231 : }
26232 0 : arg2 = (char *)(buf2);
26233 : {
26234 0 : if (arg1->mask) free((char*)arg1->mask);
26235 0 : if (arg2) {
26236 0 : arg1->mask = (char *) malloc(strlen(arg2)+1);
26237 : strcpy((char*)arg1->mask,arg2);
26238 : } else {
26239 0 : arg1->mask = 0;
26240 : }
26241 : }
26242 0 : ST(argvi) = sv_newmortal();
26243 :
26244 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26245 0 : XSRETURN(argvi);
26246 0 : fail:
26247 :
26248 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26249 0 : SWIG_croak_null();
26250 : }
26251 : }
26252 :
26253 :
26254 0 : XS(_wrap_layerObj_mask_get) {
26255 : {
26256 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26257 0 : void *argp1 = 0 ;
26258 : int res1 = 0 ;
26259 : int argvi = 0;
26260 : char *result = 0 ;
26261 0 : dXSARGS;
26262 :
26263 0 : if ((items < 1) || (items > 1)) {
26264 0 : SWIG_croak("Usage: layerObj_mask_get(self);");
26265 : }
26266 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26267 0 : if (!SWIG_IsOK(res1)) {
26268 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_get" "', argument " "1"" of type '" "struct layerObj *""'");
26269 : }
26270 0 : arg1 = (struct layerObj *)(argp1);
26271 0 : result = (char *) ((arg1)->mask);
26272 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26273 :
26274 0 : XSRETURN(argvi);
26275 0 : fail:
26276 :
26277 0 : SWIG_croak_null();
26278 : }
26279 : }
26280 :
26281 :
26282 0 : XS(_wrap_layerObj_encoding_set) {
26283 : {
26284 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26285 : char *arg2 = (char *) 0 ;
26286 0 : void *argp1 = 0 ;
26287 : int res1 = 0 ;
26288 : int res2 ;
26289 0 : char *buf2 = 0 ;
26290 0 : int alloc2 = 0 ;
26291 : int argvi = 0;
26292 0 : dXSARGS;
26293 :
26294 0 : if ((items < 2) || (items > 2)) {
26295 0 : SWIG_croak("Usage: layerObj_encoding_set(self,encoding);");
26296 : }
26297 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26298 0 : if (!SWIG_IsOK(res1)) {
26299 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_set" "', argument " "1"" of type '" "struct layerObj *""'");
26300 : }
26301 0 : arg1 = (struct layerObj *)(argp1);
26302 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26303 0 : if (!SWIG_IsOK(res2)) {
26304 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_encoding_set" "', argument " "2"" of type '" "char *""'");
26305 : }
26306 0 : arg2 = (char *)(buf2);
26307 : {
26308 0 : if (arg1->encoding) free((char*)arg1->encoding);
26309 0 : if (arg2) {
26310 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
26311 : strcpy((char*)arg1->encoding,arg2);
26312 : } else {
26313 0 : arg1->encoding = 0;
26314 : }
26315 : }
26316 0 : ST(argvi) = sv_newmortal();
26317 :
26318 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26319 0 : XSRETURN(argvi);
26320 0 : fail:
26321 :
26322 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26323 0 : SWIG_croak_null();
26324 : }
26325 : }
26326 :
26327 :
26328 0 : XS(_wrap_layerObj_encoding_get) {
26329 : {
26330 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26331 0 : void *argp1 = 0 ;
26332 : int res1 = 0 ;
26333 : int argvi = 0;
26334 : char *result = 0 ;
26335 0 : dXSARGS;
26336 :
26337 0 : if ((items < 1) || (items > 1)) {
26338 0 : SWIG_croak("Usage: layerObj_encoding_get(self);");
26339 : }
26340 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26341 0 : if (!SWIG_IsOK(res1)) {
26342 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_get" "', argument " "1"" of type '" "struct layerObj *""'");
26343 : }
26344 0 : arg1 = (struct layerObj *)(argp1);
26345 0 : result = (char *) ((arg1)->encoding);
26346 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26347 :
26348 0 : XSRETURN(argvi);
26349 0 : fail:
26350 :
26351 0 : SWIG_croak_null();
26352 : }
26353 : }
26354 :
26355 :
26356 0 : XS(_wrap_layerObj_utfitem_set) {
26357 : {
26358 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26359 : char *arg2 = (char *) 0 ;
26360 0 : void *argp1 = 0 ;
26361 : int res1 = 0 ;
26362 : int res2 ;
26363 0 : char *buf2 = 0 ;
26364 0 : int alloc2 = 0 ;
26365 : int argvi = 0;
26366 0 : dXSARGS;
26367 :
26368 0 : if ((items < 2) || (items > 2)) {
26369 0 : SWIG_croak("Usage: layerObj_utfitem_set(self,utfitem);");
26370 : }
26371 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26372 0 : if (!SWIG_IsOK(res1)) {
26373 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
26374 : }
26375 0 : arg1 = (struct layerObj *)(argp1);
26376 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26377 0 : if (!SWIG_IsOK(res2)) {
26378 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfitem_set" "', argument " "2"" of type '" "char *""'");
26379 : }
26380 0 : arg2 = (char *)(buf2);
26381 : {
26382 0 : if (arg1->utfitem) free((char*)arg1->utfitem);
26383 0 : if (arg2) {
26384 0 : arg1->utfitem = (char *) malloc(strlen(arg2)+1);
26385 : strcpy((char*)arg1->utfitem,arg2);
26386 : } else {
26387 0 : arg1->utfitem = 0;
26388 : }
26389 : }
26390 0 : ST(argvi) = sv_newmortal();
26391 :
26392 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26393 0 : XSRETURN(argvi);
26394 0 : fail:
26395 :
26396 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26397 0 : SWIG_croak_null();
26398 : }
26399 : }
26400 :
26401 :
26402 0 : XS(_wrap_layerObj_utfitem_get) {
26403 : {
26404 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26405 0 : void *argp1 = 0 ;
26406 : int res1 = 0 ;
26407 : int argvi = 0;
26408 : char *result = 0 ;
26409 0 : dXSARGS;
26410 :
26411 0 : if ((items < 1) || (items > 1)) {
26412 0 : SWIG_croak("Usage: layerObj_utfitem_get(self);");
26413 : }
26414 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26415 0 : if (!SWIG_IsOK(res1)) {
26416 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
26417 : }
26418 0 : arg1 = (struct layerObj *)(argp1);
26419 0 : result = (char *) ((arg1)->utfitem);
26420 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26421 :
26422 0 : XSRETURN(argvi);
26423 0 : fail:
26424 :
26425 0 : SWIG_croak_null();
26426 : }
26427 : }
26428 :
26429 :
26430 0 : XS(_wrap_layerObj_utfitemindex_set) {
26431 : {
26432 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26433 : int arg2 ;
26434 0 : void *argp1 = 0 ;
26435 : int res1 = 0 ;
26436 : int val2 ;
26437 : int ecode2 = 0 ;
26438 : int argvi = 0;
26439 0 : dXSARGS;
26440 :
26441 0 : if ((items < 2) || (items > 2)) {
26442 0 : SWIG_croak("Usage: layerObj_utfitemindex_set(self,utfitemindex);");
26443 : }
26444 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26445 0 : if (!SWIG_IsOK(res1)) {
26446 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
26447 : }
26448 0 : arg1 = (struct layerObj *)(argp1);
26449 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26450 0 : if (!SWIG_IsOK(ecode2)) {
26451 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_utfitemindex_set" "', argument " "2"" of type '" "int""'");
26452 : }
26453 : arg2 = (int)(val2);
26454 0 : if (arg1) (arg1)->utfitemindex = arg2;
26455 0 : ST(argvi) = sv_newmortal();
26456 :
26457 :
26458 0 : XSRETURN(argvi);
26459 0 : fail:
26460 :
26461 :
26462 0 : SWIG_croak_null();
26463 : }
26464 : }
26465 :
26466 :
26467 0 : XS(_wrap_layerObj_utfitemindex_get) {
26468 : {
26469 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26470 0 : void *argp1 = 0 ;
26471 : int res1 = 0 ;
26472 : int argvi = 0;
26473 : int result;
26474 0 : dXSARGS;
26475 :
26476 0 : if ((items < 1) || (items > 1)) {
26477 0 : SWIG_croak("Usage: layerObj_utfitemindex_get(self);");
26478 : }
26479 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26480 0 : if (!SWIG_IsOK(res1)) {
26481 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
26482 : }
26483 0 : arg1 = (struct layerObj *)(argp1);
26484 0 : result = (int) ((arg1)->utfitemindex);
26485 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26486 :
26487 0 : XSRETURN(argvi);
26488 0 : fail:
26489 :
26490 0 : SWIG_croak_null();
26491 : }
26492 : }
26493 :
26494 :
26495 0 : XS(_wrap_layerObj_utfdata_set) {
26496 : {
26497 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26498 : expressionObj arg2 ;
26499 0 : void *argp1 = 0 ;
26500 : int res1 = 0 ;
26501 : void *argp2 ;
26502 : int res2 = 0 ;
26503 : int argvi = 0;
26504 0 : dXSARGS;
26505 :
26506 0 : if ((items < 2) || (items > 2)) {
26507 0 : SWIG_croak("Usage: layerObj_utfdata_set(self,utfdata);");
26508 : }
26509 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26510 0 : if (!SWIG_IsOK(res1)) {
26511 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_set" "', argument " "1"" of type '" "struct layerObj *""'");
26512 : }
26513 0 : arg1 = (struct layerObj *)(argp1);
26514 : {
26515 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_expressionObj, 0 );
26516 0 : if (!SWIG_IsOK(res2)) {
26517 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26518 : }
26519 0 : if (!argp2) {
26520 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26521 : } else {
26522 0 : arg2 = *((expressionObj *)(argp2));
26523 : }
26524 : }
26525 0 : if (arg1) (arg1)->utfdata = arg2;
26526 0 : ST(argvi) = sv_newmortal();
26527 :
26528 0 : XSRETURN(argvi);
26529 0 : fail:
26530 :
26531 0 : SWIG_croak_null();
26532 : }
26533 : }
26534 :
26535 :
26536 0 : XS(_wrap_layerObj_utfdata_get) {
26537 : {
26538 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26539 0 : void *argp1 = 0 ;
26540 : int res1 = 0 ;
26541 : int argvi = 0;
26542 : expressionObj result;
26543 0 : dXSARGS;
26544 :
26545 0 : if ((items < 1) || (items > 1)) {
26546 0 : SWIG_croak("Usage: layerObj_utfdata_get(self);");
26547 : }
26548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26549 0 : if (!SWIG_IsOK(res1)) {
26550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_get" "', argument " "1"" of type '" "struct layerObj *""'");
26551 : }
26552 0 : arg1 = (struct layerObj *)(argp1);
26553 0 : result = ((arg1)->utfdata);
26554 0 : ST(argvi) = SWIG_NewPointerObj((expressionObj *)memcpy((expressionObj *)calloc(1,sizeof(expressionObj)),&result,sizeof(expressionObj)), SWIGTYPE_p_expressionObj, SWIG_POINTER_OWN | 0); argvi++ ;
26555 :
26556 0 : XSRETURN(argvi);
26557 0 : fail:
26558 :
26559 0 : SWIG_croak_null();
26560 : }
26561 : }
26562 :
26563 :
26564 0 : XS(_wrap_layerObj_compositer_set) {
26565 : {
26566 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26567 : LayerCompositer *arg2 = (LayerCompositer *) 0 ;
26568 0 : void *argp1 = 0 ;
26569 : int res1 = 0 ;
26570 0 : void *argp2 = 0 ;
26571 : int res2 = 0 ;
26572 : int argvi = 0;
26573 0 : dXSARGS;
26574 :
26575 0 : if ((items < 2) || (items > 2)) {
26576 0 : SWIG_croak("Usage: layerObj_compositer_set(self,compositer);");
26577 : }
26578 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26579 0 : if (!SWIG_IsOK(res1)) {
26580 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_set" "', argument " "1"" of type '" "struct layerObj *""'");
26581 : }
26582 0 : arg1 = (struct layerObj *)(argp1);
26583 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
26584 0 : if (!SWIG_IsOK(res2)) {
26585 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_compositer_set" "', argument " "2"" of type '" "LayerCompositer *""'");
26586 : }
26587 0 : arg2 = (LayerCompositer *)(argp2);
26588 0 : if (arg1) (arg1)->compositer = arg2;
26589 0 : ST(argvi) = sv_newmortal();
26590 :
26591 :
26592 0 : XSRETURN(argvi);
26593 0 : fail:
26594 :
26595 :
26596 0 : SWIG_croak_null();
26597 : }
26598 : }
26599 :
26600 :
26601 0 : XS(_wrap_layerObj_compositer_get) {
26602 : {
26603 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26604 0 : void *argp1 = 0 ;
26605 : int res1 = 0 ;
26606 : int argvi = 0;
26607 : LayerCompositer *result = 0 ;
26608 0 : dXSARGS;
26609 :
26610 0 : if ((items < 1) || (items > 1)) {
26611 0 : SWIG_croak("Usage: layerObj_compositer_get(self);");
26612 : }
26613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26614 0 : if (!SWIG_IsOK(res1)) {
26615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_get" "', argument " "1"" of type '" "struct layerObj *""'");
26616 : }
26617 0 : arg1 = (struct layerObj *)(argp1);
26618 0 : result = (LayerCompositer *) ((arg1)->compositer);
26619 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
26620 :
26621 0 : XSRETURN(argvi);
26622 0 : fail:
26623 :
26624 0 : SWIG_croak_null();
26625 : }
26626 : }
26627 :
26628 :
26629 0 : XS(_wrap_layerObj_connectionoptions_set) {
26630 : {
26631 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26632 : hashTableObj *arg2 = (hashTableObj *) 0 ;
26633 0 : void *argp1 = 0 ;
26634 : int res1 = 0 ;
26635 0 : void *argp2 = 0 ;
26636 : int res2 = 0 ;
26637 : int argvi = 0;
26638 0 : dXSARGS;
26639 :
26640 0 : if ((items < 2) || (items > 2)) {
26641 0 : SWIG_croak("Usage: layerObj_connectionoptions_set(self,connectionoptions);");
26642 : }
26643 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26644 0 : if (!SWIG_IsOK(res1)) {
26645 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_set" "', argument " "1"" of type '" "struct layerObj *""'");
26646 : }
26647 0 : arg1 = (struct layerObj *)(argp1);
26648 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_hashTableObj, 0 | 0 );
26649 0 : if (!SWIG_IsOK(res2)) {
26650 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connectionoptions_set" "', argument " "2"" of type '" "hashTableObj *""'");
26651 : }
26652 0 : arg2 = (hashTableObj *)(argp2);
26653 0 : if (arg1) (arg1)->connectionoptions = *arg2;
26654 0 : ST(argvi) = sv_newmortal();
26655 :
26656 :
26657 0 : XSRETURN(argvi);
26658 0 : fail:
26659 :
26660 :
26661 0 : SWIG_croak_null();
26662 : }
26663 : }
26664 :
26665 :
26666 0 : XS(_wrap_layerObj_connectionoptions_get) {
26667 : {
26668 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26669 0 : void *argp1 = 0 ;
26670 : int res1 = 0 ;
26671 : int argvi = 0;
26672 : hashTableObj *result = 0 ;
26673 0 : dXSARGS;
26674 :
26675 0 : if ((items < 1) || (items > 1)) {
26676 0 : SWIG_croak("Usage: layerObj_connectionoptions_get(self);");
26677 : }
26678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26679 0 : if (!SWIG_IsOK(res1)) {
26680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_get" "', argument " "1"" of type '" "struct layerObj *""'");
26681 : }
26682 0 : arg1 = (struct layerObj *)(argp1);
26683 0 : result = (hashTableObj *)& ((arg1)->connectionoptions);
26684 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
26685 :
26686 0 : XSRETURN(argvi);
26687 0 : fail:
26688 :
26689 0 : SWIG_croak_null();
26690 : }
26691 : }
26692 :
26693 :
26694 1 : XS(_wrap_new_layerObj) {
26695 : {
26696 : mapObj *arg1 = (mapObj *) NULL ;
26697 1 : void *argp1 = 0 ;
26698 : int res1 = 0 ;
26699 : int argvi = 0;
26700 : struct layerObj *result = 0 ;
26701 1 : dXSARGS;
26702 :
26703 1 : if ((items < 0) || (items > 1)) {
26704 0 : SWIG_croak("Usage: new_layerObj(map);");
26705 : }
26706 1 : if (items > 0) {
26707 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
26708 1 : if (!SWIG_IsOK(res1)) {
26709 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_layerObj" "', argument " "1"" of type '" "mapObj *""'");
26710 : }
26711 1 : arg1 = (mapObj *)(argp1);
26712 : }
26713 1 : result = (struct layerObj *)new_layerObj(arg1);
26714 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26715 :
26716 1 : XSRETURN(argvi);
26717 0 : fail:
26718 :
26719 0 : SWIG_croak_null();
26720 : }
26721 : }
26722 :
26723 :
26724 0 : XS(_wrap_layerObj_setOpacity) {
26725 : {
26726 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26727 : int arg2 ;
26728 0 : void *argp1 = 0 ;
26729 : int res1 = 0 ;
26730 : int val2 ;
26731 : int ecode2 = 0 ;
26732 : int argvi = 0;
26733 0 : dXSARGS;
26734 :
26735 0 : if ((items < 2) || (items > 2)) {
26736 0 : SWIG_croak("Usage: layerObj_setOpacity(self,opacity);");
26737 : }
26738 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26739 0 : if (!SWIG_IsOK(res1)) {
26740 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26741 : }
26742 0 : arg1 = (struct layerObj *)(argp1);
26743 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26744 0 : if (!SWIG_IsOK(ecode2)) {
26745 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setOpacity" "', argument " "2"" of type '" "int""'");
26746 : }
26747 : arg2 = (int)(val2);
26748 : layerObj_setOpacity(arg1,arg2);
26749 0 : ST(argvi) = sv_newmortal();
26750 :
26751 :
26752 0 : XSRETURN(argvi);
26753 0 : fail:
26754 :
26755 :
26756 0 : SWIG_croak_null();
26757 : }
26758 : }
26759 :
26760 :
26761 0 : XS(_wrap_layerObj_getOpacity) {
26762 : {
26763 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26764 0 : void *argp1 = 0 ;
26765 : int res1 = 0 ;
26766 : int argvi = 0;
26767 : int result;
26768 0 : dXSARGS;
26769 :
26770 0 : if ((items < 1) || (items > 1)) {
26771 0 : SWIG_croak("Usage: layerObj_getOpacity(self);");
26772 : }
26773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26774 0 : if (!SWIG_IsOK(res1)) {
26775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26776 : }
26777 0 : arg1 = (struct layerObj *)(argp1);
26778 0 : result = (int)layerObj_getOpacity(arg1);
26779 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26780 :
26781 0 : XSRETURN(argvi);
26782 0 : fail:
26783 :
26784 0 : SWIG_croak_null();
26785 : }
26786 : }
26787 :
26788 :
26789 1 : XS(_wrap_delete_layerObj) {
26790 : {
26791 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26792 1 : void *argp1 = 0 ;
26793 : int res1 = 0 ;
26794 : int argvi = 0;
26795 1 : dXSARGS;
26796 :
26797 1 : if ((items < 1) || (items > 1)) {
26798 0 : SWIG_croak("Usage: delete_layerObj(self);");
26799 : }
26800 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, SWIG_POINTER_DISOWN | 0 );
26801 1 : if (!SWIG_IsOK(res1)) {
26802 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_layerObj" "', argument " "1"" of type '" "struct layerObj *""'");
26803 : }
26804 1 : arg1 = (struct layerObj *)(argp1);
26805 1 : delete_layerObj(arg1);
26806 1 : ST(argvi) = sv_newmortal();
26807 :
26808 1 : XSRETURN(argvi);
26809 0 : fail:
26810 :
26811 0 : SWIG_croak_null();
26812 : }
26813 : }
26814 :
26815 :
26816 0 : XS(_wrap_layerObj_clone) {
26817 : {
26818 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26819 0 : void *argp1 = 0 ;
26820 : int res1 = 0 ;
26821 : int argvi = 0;
26822 : layerObj *result = 0 ;
26823 0 : dXSARGS;
26824 :
26825 0 : if ((items < 1) || (items > 1)) {
26826 0 : SWIG_croak("Usage: layerObj_clone(self);");
26827 : }
26828 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26829 0 : if (!SWIG_IsOK(res1)) {
26830 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clone" "', argument " "1"" of type '" "struct layerObj *""'");
26831 : }
26832 0 : arg1 = (struct layerObj *)(argp1);
26833 0 : result = (layerObj *)layerObj_clone(arg1);
26834 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26835 :
26836 0 : XSRETURN(argvi);
26837 0 : fail:
26838 :
26839 0 : SWIG_croak_null();
26840 : }
26841 : }
26842 :
26843 :
26844 0 : XS(_wrap_layerObj_updateFromString) {
26845 : {
26846 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26847 : char *arg2 = (char *) 0 ;
26848 0 : void *argp1 = 0 ;
26849 : int res1 = 0 ;
26850 : int res2 ;
26851 0 : char *buf2 = 0 ;
26852 0 : int alloc2 = 0 ;
26853 : int argvi = 0;
26854 : int result;
26855 0 : dXSARGS;
26856 :
26857 0 : if ((items < 2) || (items > 2)) {
26858 0 : SWIG_croak("Usage: layerObj_updateFromString(self,snippet);");
26859 : }
26860 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26861 0 : if (!SWIG_IsOK(res1)) {
26862 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_updateFromString" "', argument " "1"" of type '" "struct layerObj *""'");
26863 : }
26864 0 : arg1 = (struct layerObj *)(argp1);
26865 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26866 0 : if (!SWIG_IsOK(res2)) {
26867 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_updateFromString" "', argument " "2"" of type '" "char *""'");
26868 : }
26869 0 : arg2 = (char *)(buf2);
26870 : result = (int)layerObj_updateFromString(arg1,arg2);
26871 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26872 :
26873 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26874 0 : XSRETURN(argvi);
26875 0 : fail:
26876 :
26877 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26878 0 : SWIG_croak_null();
26879 : }
26880 : }
26881 :
26882 :
26883 0 : XS(_wrap_layerObj_convertToString) {
26884 : {
26885 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26886 0 : void *argp1 = 0 ;
26887 : int res1 = 0 ;
26888 : int argvi = 0;
26889 : char *result = 0 ;
26890 0 : dXSARGS;
26891 :
26892 0 : if ((items < 1) || (items > 1)) {
26893 0 : SWIG_croak("Usage: layerObj_convertToString(self);");
26894 : }
26895 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26896 0 : if (!SWIG_IsOK(res1)) {
26897 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_convertToString" "', argument " "1"" of type '" "struct layerObj *""'");
26898 : }
26899 0 : arg1 = (struct layerObj *)(argp1);
26900 : result = (char *)layerObj_convertToString(arg1);
26901 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26902 :
26903 0 : free((char*)result);
26904 0 : XSRETURN(argvi);
26905 0 : fail:
26906 :
26907 0 : SWIG_croak_null();
26908 : }
26909 : }
26910 :
26911 :
26912 1 : XS(_wrap_layerObj_insertClass) {
26913 : {
26914 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26915 : classObj *arg2 = (classObj *) 0 ;
26916 : int arg3 = (int) -1 ;
26917 1 : void *argp1 = 0 ;
26918 : int res1 = 0 ;
26919 1 : void *argp2 = 0 ;
26920 : int res2 = 0 ;
26921 : int val3 ;
26922 : int ecode3 = 0 ;
26923 : int argvi = 0;
26924 : int result;
26925 1 : dXSARGS;
26926 :
26927 1 : if ((items < 2) || (items > 3)) {
26928 0 : SWIG_croak("Usage: layerObj_insertClass(self,classobj,index);");
26929 : }
26930 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26931 1 : if (!SWIG_IsOK(res1)) {
26932 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_insertClass" "', argument " "1"" of type '" "struct layerObj *""'");
26933 : }
26934 1 : arg1 = (struct layerObj *)(argp1);
26935 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_classObj, 0 | 0 );
26936 1 : if (!SWIG_IsOK(res2)) {
26937 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_insertClass" "', argument " "2"" of type '" "classObj *""'");
26938 : }
26939 1 : arg2 = (classObj *)(argp2);
26940 1 : if (items > 2) {
26941 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
26942 0 : if (!SWIG_IsOK(ecode3)) {
26943 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_insertClass" "', argument " "3"" of type '" "int""'");
26944 : }
26945 : arg3 = (int)(val3);
26946 : }
26947 : result = (int)layerObj_insertClass(arg1,arg2,arg3);
26948 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26949 :
26950 :
26951 :
26952 1 : XSRETURN(argvi);
26953 0 : fail:
26954 :
26955 :
26956 :
26957 0 : SWIG_croak_null();
26958 : }
26959 : }
26960 :
26961 :
26962 0 : XS(_wrap_layerObj_removeClass) {
26963 : {
26964 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26965 : int arg2 ;
26966 0 : void *argp1 = 0 ;
26967 : int res1 = 0 ;
26968 : int val2 ;
26969 : int ecode2 = 0 ;
26970 : int argvi = 0;
26971 : classObj *result = 0 ;
26972 0 : dXSARGS;
26973 :
26974 0 : if ((items < 2) || (items > 2)) {
26975 0 : SWIG_croak("Usage: layerObj_removeClass(self,index);");
26976 : }
26977 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26978 0 : if (!SWIG_IsOK(res1)) {
26979 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeClass" "', argument " "1"" of type '" "struct layerObj *""'");
26980 : }
26981 0 : arg1 = (struct layerObj *)(argp1);
26982 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26983 0 : if (!SWIG_IsOK(ecode2)) {
26984 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_removeClass" "', argument " "2"" of type '" "int""'");
26985 : }
26986 : arg2 = (int)(val2);
26987 0 : result = (classObj *)layerObj_removeClass(arg1,arg2);
26988 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26989 :
26990 :
26991 0 : XSRETURN(argvi);
26992 0 : fail:
26993 :
26994 :
26995 0 : SWIG_croak_null();
26996 : }
26997 : }
26998 :
26999 :
27000 0 : XS(_wrap_layerObj_open) {
27001 : {
27002 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27003 0 : void *argp1 = 0 ;
27004 : int res1 = 0 ;
27005 : int argvi = 0;
27006 : int result;
27007 0 : dXSARGS;
27008 :
27009 0 : if ((items < 1) || (items > 1)) {
27010 0 : SWIG_croak("Usage: layerObj_open(self);");
27011 : }
27012 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27013 0 : if (!SWIG_IsOK(res1)) {
27014 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_open" "', argument " "1"" of type '" "struct layerObj *""'");
27015 : }
27016 0 : arg1 = (struct layerObj *)(argp1);
27017 0 : result = (int)layerObj_open(arg1);
27018 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27019 :
27020 0 : XSRETURN(argvi);
27021 0 : fail:
27022 :
27023 0 : SWIG_croak_null();
27024 : }
27025 : }
27026 :
27027 :
27028 0 : XS(_wrap_layerObj_whichShapes) {
27029 : {
27030 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27031 : rectObj arg2 ;
27032 0 : void *argp1 = 0 ;
27033 : int res1 = 0 ;
27034 : void *argp2 ;
27035 : int res2 = 0 ;
27036 : int argvi = 0;
27037 : int result;
27038 0 : dXSARGS;
27039 :
27040 0 : if ((items < 2) || (items > 2)) {
27041 0 : SWIG_croak("Usage: layerObj_whichShapes(self,rect);");
27042 : }
27043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27044 0 : if (!SWIG_IsOK(res1)) {
27045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_whichShapes" "', argument " "1"" of type '" "struct layerObj *""'");
27046 : }
27047 0 : arg1 = (struct layerObj *)(argp1);
27048 : {
27049 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
27050 0 : if (!SWIG_IsOK(res2)) {
27051 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
27052 : }
27053 0 : if (!argp2) {
27054 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
27055 : } else {
27056 0 : arg2 = *((rectObj *)(argp2));
27057 : }
27058 : }
27059 0 : result = (int)layerObj_whichShapes(arg1,arg2);
27060 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27061 :
27062 0 : XSRETURN(argvi);
27063 0 : fail:
27064 :
27065 0 : SWIG_croak_null();
27066 : }
27067 : }
27068 :
27069 :
27070 0 : XS(_wrap_layerObj_nextShape) {
27071 : {
27072 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27073 0 : void *argp1 = 0 ;
27074 : int res1 = 0 ;
27075 : int argvi = 0;
27076 : shapeObj *result = 0 ;
27077 0 : dXSARGS;
27078 :
27079 0 : if ((items < 1) || (items > 1)) {
27080 0 : SWIG_croak("Usage: layerObj_nextShape(self);");
27081 : }
27082 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27083 0 : if (!SWIG_IsOK(res1)) {
27084 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_nextShape" "', argument " "1"" of type '" "struct layerObj *""'");
27085 : }
27086 0 : arg1 = (struct layerObj *)(argp1);
27087 0 : result = (shapeObj *)layerObj_nextShape(arg1);
27088 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27089 :
27090 0 : XSRETURN(argvi);
27091 0 : fail:
27092 :
27093 0 : SWIG_croak_null();
27094 : }
27095 : }
27096 :
27097 :
27098 0 : XS(_wrap_layerObj_close) {
27099 : {
27100 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27101 0 : void *argp1 = 0 ;
27102 : int res1 = 0 ;
27103 : int argvi = 0;
27104 0 : dXSARGS;
27105 :
27106 0 : if ((items < 1) || (items > 1)) {
27107 0 : SWIG_croak("Usage: layerObj_close(self);");
27108 : }
27109 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27110 0 : if (!SWIG_IsOK(res1)) {
27111 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_close" "', argument " "1"" of type '" "struct layerObj *""'");
27112 : }
27113 0 : arg1 = (struct layerObj *)(argp1);
27114 : layerObj_close(arg1);
27115 0 : ST(argvi) = sv_newmortal();
27116 :
27117 0 : XSRETURN(argvi);
27118 0 : fail:
27119 :
27120 0 : SWIG_croak_null();
27121 : }
27122 : }
27123 :
27124 :
27125 0 : XS(_wrap_layerObj_getShape) {
27126 : {
27127 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27128 : resultObj *arg2 = (resultObj *) 0 ;
27129 0 : void *argp1 = 0 ;
27130 : int res1 = 0 ;
27131 0 : void *argp2 = 0 ;
27132 : int res2 = 0 ;
27133 : int argvi = 0;
27134 : shapeObj *result = 0 ;
27135 0 : dXSARGS;
27136 :
27137 0 : if ((items < 2) || (items > 2)) {
27138 0 : SWIG_croak("Usage: layerObj_getShape(self,record);");
27139 : }
27140 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27141 0 : if (!SWIG_IsOK(res1)) {
27142 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getShape" "', argument " "1"" of type '" "struct layerObj *""'");
27143 : }
27144 0 : arg1 = (struct layerObj *)(argp1);
27145 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_resultObj, 0 | 0 );
27146 0 : if (!SWIG_IsOK(res2)) {
27147 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getShape" "', argument " "2"" of type '" "resultObj *""'");
27148 : }
27149 0 : arg2 = (resultObj *)(argp2);
27150 0 : result = (shapeObj *)layerObj_getShape(arg1,arg2);
27151 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27152 :
27153 :
27154 0 : XSRETURN(argvi);
27155 0 : fail:
27156 :
27157 :
27158 0 : SWIG_croak_null();
27159 : }
27160 : }
27161 :
27162 :
27163 0 : XS(_wrap_layerObj_getNumResults) {
27164 : {
27165 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27166 0 : void *argp1 = 0 ;
27167 : int res1 = 0 ;
27168 : int argvi = 0;
27169 : int result;
27170 0 : dXSARGS;
27171 :
27172 0 : if ((items < 1) || (items > 1)) {
27173 0 : SWIG_croak("Usage: layerObj_getNumResults(self);");
27174 : }
27175 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27176 0 : if (!SWIG_IsOK(res1)) {
27177 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumResults" "', argument " "1"" of type '" "struct layerObj *""'");
27178 : }
27179 0 : arg1 = (struct layerObj *)(argp1);
27180 0 : result = (int)layerObj_getNumResults(arg1);
27181 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27182 :
27183 0 : XSRETURN(argvi);
27184 0 : fail:
27185 :
27186 0 : SWIG_croak_null();
27187 : }
27188 : }
27189 :
27190 :
27191 0 : XS(_wrap_layerObj_getResultsBounds) {
27192 : {
27193 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27194 0 : void *argp1 = 0 ;
27195 : int res1 = 0 ;
27196 : int argvi = 0;
27197 : rectObj *result = 0 ;
27198 0 : dXSARGS;
27199 :
27200 0 : if ((items < 1) || (items > 1)) {
27201 0 : SWIG_croak("Usage: layerObj_getResultsBounds(self);");
27202 : }
27203 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27204 0 : if (!SWIG_IsOK(res1)) {
27205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResultsBounds" "', argument " "1"" of type '" "struct layerObj *""'");
27206 : }
27207 0 : arg1 = (struct layerObj *)(argp1);
27208 0 : result = (rectObj *)layerObj_getResultsBounds(arg1);
27209 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27210 :
27211 0 : XSRETURN(argvi);
27212 0 : fail:
27213 :
27214 0 : SWIG_croak_null();
27215 : }
27216 : }
27217 :
27218 :
27219 0 : XS(_wrap_layerObj_getResult) {
27220 : {
27221 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27222 : int arg2 ;
27223 0 : void *argp1 = 0 ;
27224 : int res1 = 0 ;
27225 : int val2 ;
27226 : int ecode2 = 0 ;
27227 : int argvi = 0;
27228 : resultObj *result = 0 ;
27229 0 : dXSARGS;
27230 :
27231 0 : if ((items < 2) || (items > 2)) {
27232 0 : SWIG_croak("Usage: layerObj_getResult(self,i);");
27233 : }
27234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27235 0 : if (!SWIG_IsOK(res1)) {
27236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResult" "', argument " "1"" of type '" "struct layerObj *""'");
27237 : }
27238 0 : arg1 = (struct layerObj *)(argp1);
27239 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27240 0 : if (!SWIG_IsOK(ecode2)) {
27241 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getResult" "', argument " "2"" of type '" "int""'");
27242 : }
27243 : arg2 = (int)(val2);
27244 0 : result = (resultObj *)layerObj_getResult(arg1,arg2);
27245 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
27246 :
27247 :
27248 0 : XSRETURN(argvi);
27249 0 : fail:
27250 :
27251 :
27252 0 : SWIG_croak_null();
27253 : }
27254 : }
27255 :
27256 :
27257 1 : XS(_wrap_layerObj_getClass) {
27258 : {
27259 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27260 : int arg2 ;
27261 1 : void *argp1 = 0 ;
27262 : int res1 = 0 ;
27263 : int val2 ;
27264 : int ecode2 = 0 ;
27265 : int argvi = 0;
27266 : classObj *result = 0 ;
27267 1 : dXSARGS;
27268 :
27269 1 : if ((items < 2) || (items > 2)) {
27270 0 : SWIG_croak("Usage: layerObj_getClass(self,i);");
27271 : }
27272 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27273 1 : if (!SWIG_IsOK(res1)) {
27274 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClass" "', argument " "1"" of type '" "struct layerObj *""'");
27275 : }
27276 1 : arg1 = (struct layerObj *)(argp1);
27277 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27278 1 : if (!SWIG_IsOK(ecode2)) {
27279 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getClass" "', argument " "2"" of type '" "int""'");
27280 : }
27281 : arg2 = (int)(val2);
27282 : result = (classObj *)layerObj_getClass(arg1,arg2);
27283 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27284 :
27285 :
27286 1 : XSRETURN(argvi);
27287 0 : fail:
27288 :
27289 :
27290 0 : SWIG_croak_null();
27291 : }
27292 : }
27293 :
27294 :
27295 0 : XS(_wrap_layerObj_getItem) {
27296 : {
27297 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27298 : int arg2 ;
27299 0 : void *argp1 = 0 ;
27300 : int res1 = 0 ;
27301 : int val2 ;
27302 : int ecode2 = 0 ;
27303 : int argvi = 0;
27304 : char *result = 0 ;
27305 0 : dXSARGS;
27306 :
27307 0 : if ((items < 2) || (items > 2)) {
27308 0 : SWIG_croak("Usage: layerObj_getItem(self,i);");
27309 : }
27310 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27311 0 : if (!SWIG_IsOK(res1)) {
27312 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItem" "', argument " "1"" of type '" "struct layerObj *""'");
27313 : }
27314 0 : arg1 = (struct layerObj *)(argp1);
27315 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27316 0 : if (!SWIG_IsOK(ecode2)) {
27317 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItem" "', argument " "2"" of type '" "int""'");
27318 : }
27319 : arg2 = (int)(val2);
27320 : result = (char *)layerObj_getItem(arg1,arg2);
27321 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27322 :
27323 :
27324 0 : XSRETURN(argvi);
27325 0 : fail:
27326 :
27327 :
27328 0 : SWIG_croak_null();
27329 : }
27330 : }
27331 :
27332 :
27333 0 : XS(_wrap_layerObj_setItems) {
27334 : {
27335 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27336 : char **arg2 = (char **) 0 ;
27337 : int arg3 ;
27338 0 : void *argp1 = 0 ;
27339 : int res1 = 0 ;
27340 0 : void *argp2 = 0 ;
27341 : int res2 = 0 ;
27342 : int val3 ;
27343 : int ecode3 = 0 ;
27344 : int argvi = 0;
27345 : int result;
27346 0 : dXSARGS;
27347 :
27348 0 : if ((items < 3) || (items > 3)) {
27349 0 : SWIG_croak("Usage: layerObj_setItems(self,items,numitems);");
27350 : }
27351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27352 0 : if (!SWIG_IsOK(res1)) {
27353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setItems" "', argument " "1"" of type '" "struct layerObj *""'");
27354 : }
27355 0 : arg1 = (struct layerObj *)(argp1);
27356 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
27357 0 : if (!SWIG_IsOK(res2)) {
27358 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setItems" "', argument " "2"" of type '" "char **""'");
27359 : }
27360 0 : arg2 = (char **)(argp2);
27361 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27362 0 : if (!SWIG_IsOK(ecode3)) {
27363 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setItems" "', argument " "3"" of type '" "int""'");
27364 : }
27365 : arg3 = (int)(val3);
27366 : result = (int)layerObj_setItems(arg1,arg2,arg3);
27367 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27368 :
27369 :
27370 :
27371 0 : XSRETURN(argvi);
27372 0 : fail:
27373 :
27374 :
27375 :
27376 0 : SWIG_croak_null();
27377 : }
27378 : }
27379 :
27380 :
27381 0 : XS(_wrap_layerObj_draw) {
27382 : {
27383 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27384 : mapObj *arg2 = (mapObj *) 0 ;
27385 : imageObj *arg3 = (imageObj *) 0 ;
27386 0 : void *argp1 = 0 ;
27387 : int res1 = 0 ;
27388 0 : void *argp2 = 0 ;
27389 : int res2 = 0 ;
27390 0 : void *argp3 = 0 ;
27391 : int res3 = 0 ;
27392 : int argvi = 0;
27393 : int result;
27394 0 : dXSARGS;
27395 :
27396 0 : if ((items < 3) || (items > 3)) {
27397 0 : SWIG_croak("Usage: layerObj_draw(self,map,image);");
27398 : }
27399 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27400 0 : if (!SWIG_IsOK(res1)) {
27401 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_draw" "', argument " "1"" of type '" "struct layerObj *""'");
27402 : }
27403 0 : arg1 = (struct layerObj *)(argp1);
27404 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27405 0 : if (!SWIG_IsOK(res2)) {
27406 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_draw" "', argument " "2"" of type '" "mapObj *""'");
27407 : }
27408 0 : arg2 = (mapObj *)(argp2);
27409 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27410 0 : if (!SWIG_IsOK(res3)) {
27411 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_draw" "', argument " "3"" of type '" "imageObj *""'");
27412 : }
27413 0 : arg3 = (imageObj *)(argp3);
27414 : result = (int)layerObj_draw(arg1,arg2,arg3);
27415 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27416 :
27417 :
27418 :
27419 0 : XSRETURN(argvi);
27420 0 : fail:
27421 :
27422 :
27423 :
27424 0 : SWIG_croak_null();
27425 : }
27426 : }
27427 :
27428 :
27429 0 : XS(_wrap_layerObj_drawQuery) {
27430 : {
27431 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27432 : mapObj *arg2 = (mapObj *) 0 ;
27433 : imageObj *arg3 = (imageObj *) 0 ;
27434 0 : void *argp1 = 0 ;
27435 : int res1 = 0 ;
27436 0 : void *argp2 = 0 ;
27437 : int res2 = 0 ;
27438 0 : void *argp3 = 0 ;
27439 : int res3 = 0 ;
27440 : int argvi = 0;
27441 : int result;
27442 0 : dXSARGS;
27443 :
27444 0 : if ((items < 3) || (items > 3)) {
27445 0 : SWIG_croak("Usage: layerObj_drawQuery(self,map,image);");
27446 : }
27447 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27448 0 : if (!SWIG_IsOK(res1)) {
27449 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_drawQuery" "', argument " "1"" of type '" "struct layerObj *""'");
27450 : }
27451 0 : arg1 = (struct layerObj *)(argp1);
27452 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27453 0 : if (!SWIG_IsOK(res2)) {
27454 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_drawQuery" "', argument " "2"" of type '" "mapObj *""'");
27455 : }
27456 0 : arg2 = (mapObj *)(argp2);
27457 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27458 0 : if (!SWIG_IsOK(res3)) {
27459 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_drawQuery" "', argument " "3"" of type '" "imageObj *""'");
27460 : }
27461 0 : arg3 = (imageObj *)(argp3);
27462 : result = (int)layerObj_drawQuery(arg1,arg2,arg3);
27463 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27464 :
27465 :
27466 :
27467 0 : XSRETURN(argvi);
27468 0 : fail:
27469 :
27470 :
27471 :
27472 0 : SWIG_croak_null();
27473 : }
27474 : }
27475 :
27476 :
27477 0 : XS(_wrap_layerObj_queryByFilter) {
27478 : {
27479 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27480 : mapObj *arg2 = (mapObj *) 0 ;
27481 : char *arg3 = (char *) 0 ;
27482 0 : void *argp1 = 0 ;
27483 : int res1 = 0 ;
27484 0 : void *argp2 = 0 ;
27485 : int res2 = 0 ;
27486 : int res3 ;
27487 0 : char *buf3 = 0 ;
27488 0 : int alloc3 = 0 ;
27489 : int argvi = 0;
27490 : int result;
27491 0 : dXSARGS;
27492 :
27493 0 : if ((items < 3) || (items > 3)) {
27494 0 : SWIG_croak("Usage: layerObj_queryByFilter(self,map,string);");
27495 : }
27496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27497 0 : if (!SWIG_IsOK(res1)) {
27498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27499 : }
27500 0 : arg1 = (struct layerObj *)(argp1);
27501 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27502 0 : if (!SWIG_IsOK(res2)) {
27503 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFilter" "', argument " "2"" of type '" "mapObj *""'");
27504 : }
27505 0 : arg2 = (mapObj *)(argp2);
27506 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27507 0 : if (!SWIG_IsOK(res3)) {
27508 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByFilter" "', argument " "3"" of type '" "char *""'");
27509 : }
27510 0 : arg3 = (char *)(buf3);
27511 0 : result = (int)layerObj_queryByFilter(arg1,arg2,arg3);
27512 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27513 :
27514 :
27515 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27516 0 : XSRETURN(argvi);
27517 0 : fail:
27518 :
27519 :
27520 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27521 0 : SWIG_croak_null();
27522 : }
27523 : }
27524 :
27525 :
27526 0 : XS(_wrap_layerObj_queryByAttributes) {
27527 : {
27528 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27529 : mapObj *arg2 = (mapObj *) 0 ;
27530 : char *arg3 = (char *) 0 ;
27531 : char *arg4 = (char *) 0 ;
27532 : int arg5 ;
27533 0 : void *argp1 = 0 ;
27534 : int res1 = 0 ;
27535 0 : void *argp2 = 0 ;
27536 : int res2 = 0 ;
27537 : int res3 ;
27538 0 : char *buf3 = 0 ;
27539 0 : int alloc3 = 0 ;
27540 : int res4 ;
27541 0 : char *buf4 = 0 ;
27542 0 : int alloc4 = 0 ;
27543 : int val5 ;
27544 : int ecode5 = 0 ;
27545 : int argvi = 0;
27546 : int result;
27547 0 : dXSARGS;
27548 :
27549 0 : if ((items < 5) || (items > 5)) {
27550 0 : SWIG_croak("Usage: layerObj_queryByAttributes(self,map,qitem,qstring,mode);");
27551 : }
27552 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27553 0 : if (!SWIG_IsOK(res1)) {
27554 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByAttributes" "', argument " "1"" of type '" "struct layerObj *""'");
27555 : }
27556 0 : arg1 = (struct layerObj *)(argp1);
27557 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27558 0 : if (!SWIG_IsOK(res2)) {
27559 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByAttributes" "', argument " "2"" of type '" "mapObj *""'");
27560 : }
27561 0 : arg2 = (mapObj *)(argp2);
27562 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27563 0 : if (!SWIG_IsOK(res3)) {
27564 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByAttributes" "', argument " "3"" of type '" "char *""'");
27565 : }
27566 0 : arg3 = (char *)(buf3);
27567 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
27568 0 : if (!SWIG_IsOK(res4)) {
27569 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_queryByAttributes" "', argument " "4"" of type '" "char *""'");
27570 : }
27571 0 : arg4 = (char *)(buf4);
27572 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27573 0 : if (!SWIG_IsOK(ecode5)) {
27574 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByAttributes" "', argument " "5"" of type '" "int""'");
27575 : }
27576 : arg5 = (int)(val5);
27577 0 : result = (int)layerObj_queryByAttributes(arg1,arg2,arg3,arg4,arg5);
27578 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27579 :
27580 :
27581 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27582 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27583 :
27584 0 : XSRETURN(argvi);
27585 0 : fail:
27586 :
27587 :
27588 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27589 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27590 :
27591 0 : SWIG_croak_null();
27592 : }
27593 : }
27594 :
27595 :
27596 0 : XS(_wrap_layerObj_queryByPoint) {
27597 : {
27598 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27599 : mapObj *arg2 = (mapObj *) 0 ;
27600 : pointObj *arg3 = (pointObj *) 0 ;
27601 : int arg4 ;
27602 : double arg5 ;
27603 0 : void *argp1 = 0 ;
27604 : int res1 = 0 ;
27605 0 : void *argp2 = 0 ;
27606 : int res2 = 0 ;
27607 0 : void *argp3 = 0 ;
27608 : int res3 = 0 ;
27609 : int val4 ;
27610 : int ecode4 = 0 ;
27611 : double val5 ;
27612 : int ecode5 = 0 ;
27613 : int argvi = 0;
27614 : int result;
27615 0 : dXSARGS;
27616 :
27617 0 : if ((items < 5) || (items > 5)) {
27618 0 : SWIG_croak("Usage: layerObj_queryByPoint(self,map,point,mode,buffer);");
27619 : }
27620 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27621 0 : if (!SWIG_IsOK(res1)) {
27622 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByPoint" "', argument " "1"" of type '" "struct layerObj *""'");
27623 : }
27624 0 : arg1 = (struct layerObj *)(argp1);
27625 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27626 0 : if (!SWIG_IsOK(res2)) {
27627 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByPoint" "', argument " "2"" of type '" "mapObj *""'");
27628 : }
27629 0 : arg2 = (mapObj *)(argp2);
27630 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
27631 0 : if (!SWIG_IsOK(res3)) {
27632 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByPoint" "', argument " "3"" of type '" "pointObj *""'");
27633 : }
27634 0 : arg3 = (pointObj *)(argp3);
27635 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27636 0 : if (!SWIG_IsOK(ecode4)) {
27637 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByPoint" "', argument " "4"" of type '" "int""'");
27638 : }
27639 : arg4 = (int)(val4);
27640 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27641 0 : if (!SWIG_IsOK(ecode5)) {
27642 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByPoint" "', argument " "5"" of type '" "double""'");
27643 : }
27644 0 : arg5 = (double)(val5);
27645 : result = (int)layerObj_queryByPoint(arg1,arg2,arg3,arg4,arg5);
27646 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27647 :
27648 :
27649 :
27650 :
27651 :
27652 0 : XSRETURN(argvi);
27653 0 : fail:
27654 :
27655 :
27656 :
27657 :
27658 :
27659 0 : SWIG_croak_null();
27660 : }
27661 : }
27662 :
27663 :
27664 0 : XS(_wrap_layerObj_queryByRect) {
27665 : {
27666 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27667 : mapObj *arg2 = (mapObj *) 0 ;
27668 : rectObj arg3 ;
27669 0 : void *argp1 = 0 ;
27670 : int res1 = 0 ;
27671 0 : void *argp2 = 0 ;
27672 : int res2 = 0 ;
27673 : void *argp3 ;
27674 : int res3 = 0 ;
27675 : int argvi = 0;
27676 : int result;
27677 0 : dXSARGS;
27678 :
27679 0 : if ((items < 3) || (items > 3)) {
27680 0 : SWIG_croak("Usage: layerObj_queryByRect(self,map,rect);");
27681 : }
27682 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27683 0 : if (!SWIG_IsOK(res1)) {
27684 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByRect" "', argument " "1"" of type '" "struct layerObj *""'");
27685 : }
27686 0 : arg1 = (struct layerObj *)(argp1);
27687 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27688 0 : if (!SWIG_IsOK(res2)) {
27689 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByRect" "', argument " "2"" of type '" "mapObj *""'");
27690 : }
27691 0 : arg2 = (mapObj *)(argp2);
27692 : {
27693 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_rectObj, 0 );
27694 0 : if (!SWIG_IsOK(res3)) {
27695 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27696 : }
27697 0 : if (!argp3) {
27698 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27699 : } else {
27700 0 : arg3 = *((rectObj *)(argp3));
27701 : }
27702 : }
27703 : result = (int)layerObj_queryByRect(arg1,arg2,arg3);
27704 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27705 :
27706 :
27707 0 : XSRETURN(argvi);
27708 0 : fail:
27709 :
27710 :
27711 0 : SWIG_croak_null();
27712 : }
27713 : }
27714 :
27715 :
27716 0 : XS(_wrap_layerObj_queryByFeatures) {
27717 : {
27718 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27719 : mapObj *arg2 = (mapObj *) 0 ;
27720 : int arg3 ;
27721 0 : void *argp1 = 0 ;
27722 : int res1 = 0 ;
27723 0 : void *argp2 = 0 ;
27724 : int res2 = 0 ;
27725 : int val3 ;
27726 : int ecode3 = 0 ;
27727 : int argvi = 0;
27728 : int result;
27729 0 : dXSARGS;
27730 :
27731 0 : if ((items < 3) || (items > 3)) {
27732 0 : SWIG_croak("Usage: layerObj_queryByFeatures(self,map,slayer);");
27733 : }
27734 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27735 0 : if (!SWIG_IsOK(res1)) {
27736 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
27737 : }
27738 0 : arg1 = (struct layerObj *)(argp1);
27739 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27740 0 : if (!SWIG_IsOK(res2)) {
27741 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFeatures" "', argument " "2"" of type '" "mapObj *""'");
27742 : }
27743 0 : arg2 = (mapObj *)(argp2);
27744 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27745 0 : if (!SWIG_IsOK(ecode3)) {
27746 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByFeatures" "', argument " "3"" of type '" "int""'");
27747 : }
27748 : arg3 = (int)(val3);
27749 : result = (int)layerObj_queryByFeatures(arg1,arg2,arg3);
27750 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27751 :
27752 :
27753 :
27754 0 : XSRETURN(argvi);
27755 0 : fail:
27756 :
27757 :
27758 :
27759 0 : SWIG_croak_null();
27760 : }
27761 : }
27762 :
27763 :
27764 0 : XS(_wrap_layerObj_queryByShape) {
27765 : {
27766 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27767 : mapObj *arg2 = (mapObj *) 0 ;
27768 : shapeObj *arg3 = (shapeObj *) 0 ;
27769 0 : void *argp1 = 0 ;
27770 : int res1 = 0 ;
27771 0 : void *argp2 = 0 ;
27772 : int res2 = 0 ;
27773 0 : void *argp3 = 0 ;
27774 : int res3 = 0 ;
27775 : int argvi = 0;
27776 : int result;
27777 0 : dXSARGS;
27778 :
27779 0 : if ((items < 3) || (items > 3)) {
27780 0 : SWIG_croak("Usage: layerObj_queryByShape(self,map,shape);");
27781 : }
27782 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27783 0 : if (!SWIG_IsOK(res1)) {
27784 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByShape" "', argument " "1"" of type '" "struct layerObj *""'");
27785 : }
27786 0 : arg1 = (struct layerObj *)(argp1);
27787 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27788 0 : if (!SWIG_IsOK(res2)) {
27789 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByShape" "', argument " "2"" of type '" "mapObj *""'");
27790 : }
27791 0 : arg2 = (mapObj *)(argp2);
27792 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
27793 0 : if (!SWIG_IsOK(res3)) {
27794 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByShape" "', argument " "3"" of type '" "shapeObj *""'");
27795 : }
27796 0 : arg3 = (shapeObj *)(argp3);
27797 0 : result = (int)layerObj_queryByShape(arg1,arg2,arg3);
27798 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27799 :
27800 :
27801 :
27802 0 : XSRETURN(argvi);
27803 0 : fail:
27804 :
27805 :
27806 :
27807 0 : SWIG_croak_null();
27808 : }
27809 : }
27810 :
27811 :
27812 0 : XS(_wrap_layerObj_queryByIndex) {
27813 : {
27814 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27815 : mapObj *arg2 = (mapObj *) 0 ;
27816 : int arg3 ;
27817 : int arg4 ;
27818 : int arg5 = (int) 0 ;
27819 0 : void *argp1 = 0 ;
27820 : int res1 = 0 ;
27821 0 : void *argp2 = 0 ;
27822 : int res2 = 0 ;
27823 : int val3 ;
27824 : int ecode3 = 0 ;
27825 : int val4 ;
27826 : int ecode4 = 0 ;
27827 : int val5 ;
27828 : int ecode5 = 0 ;
27829 : int argvi = 0;
27830 : int result;
27831 0 : dXSARGS;
27832 :
27833 0 : if ((items < 4) || (items > 5)) {
27834 0 : SWIG_croak("Usage: layerObj_queryByIndex(self,map,tileindex,shapeindex,bAddToQuery);");
27835 : }
27836 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27837 0 : if (!SWIG_IsOK(res1)) {
27838 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByIndex" "', argument " "1"" of type '" "struct layerObj *""'");
27839 : }
27840 0 : arg1 = (struct layerObj *)(argp1);
27841 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27842 0 : if (!SWIG_IsOK(res2)) {
27843 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByIndex" "', argument " "2"" of type '" "mapObj *""'");
27844 : }
27845 0 : arg2 = (mapObj *)(argp2);
27846 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27847 0 : if (!SWIG_IsOK(ecode3)) {
27848 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByIndex" "', argument " "3"" of type '" "int""'");
27849 : }
27850 : arg3 = (int)(val3);
27851 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27852 0 : if (!SWIG_IsOK(ecode4)) {
27853 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByIndex" "', argument " "4"" of type '" "int""'");
27854 : }
27855 : arg4 = (int)(val4);
27856 0 : if (items > 4) {
27857 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27858 0 : if (!SWIG_IsOK(ecode5)) {
27859 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByIndex" "', argument " "5"" of type '" "int""'");
27860 : }
27861 : arg5 = (int)(val5);
27862 : }
27863 : result = (int)layerObj_queryByIndex(arg1,arg2,arg3,arg4,arg5);
27864 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27865 :
27866 :
27867 :
27868 :
27869 :
27870 0 : XSRETURN(argvi);
27871 0 : fail:
27872 :
27873 :
27874 :
27875 :
27876 :
27877 0 : SWIG_croak_null();
27878 : }
27879 : }
27880 :
27881 :
27882 0 : XS(_wrap_layerObj_getResults) {
27883 : {
27884 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27885 0 : void *argp1 = 0 ;
27886 : int res1 = 0 ;
27887 : int argvi = 0;
27888 : resultCacheObj *result = 0 ;
27889 0 : dXSARGS;
27890 :
27891 0 : if ((items < 1) || (items > 1)) {
27892 0 : SWIG_croak("Usage: layerObj_getResults(self);");
27893 : }
27894 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27895 0 : if (!SWIG_IsOK(res1)) {
27896 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResults" "', argument " "1"" of type '" "struct layerObj *""'");
27897 : }
27898 0 : arg1 = (struct layerObj *)(argp1);
27899 0 : result = (resultCacheObj *)layerObj_getResults(arg1);
27900 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, 0 | SWIG_SHADOW); argvi++ ;
27901 :
27902 0 : XSRETURN(argvi);
27903 0 : fail:
27904 :
27905 0 : SWIG_croak_null();
27906 : }
27907 : }
27908 :
27909 :
27910 0 : XS(_wrap_layerObj_setFilter) {
27911 : {
27912 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27913 : char *arg2 = (char *) 0 ;
27914 0 : void *argp1 = 0 ;
27915 : int res1 = 0 ;
27916 : int res2 ;
27917 0 : char *buf2 = 0 ;
27918 0 : int alloc2 = 0 ;
27919 : int argvi = 0;
27920 : int result;
27921 0 : dXSARGS;
27922 :
27923 0 : if ((items < 2) || (items > 2)) {
27924 0 : SWIG_croak("Usage: layerObj_setFilter(self,filter);");
27925 : }
27926 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27927 0 : if (!SWIG_IsOK(res1)) {
27928 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27929 : }
27930 0 : arg1 = (struct layerObj *)(argp1);
27931 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
27932 0 : if (!SWIG_IsOK(res2)) {
27933 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setFilter" "', argument " "2"" of type '" "char *""'");
27934 : }
27935 0 : arg2 = (char *)(buf2);
27936 0 : result = (int)layerObj_setFilter(arg1,arg2);
27937 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27938 :
27939 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27940 0 : XSRETURN(argvi);
27941 0 : fail:
27942 :
27943 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27944 0 : SWIG_croak_null();
27945 : }
27946 : }
27947 :
27948 :
27949 0 : XS(_wrap_layerObj_getFilterString) {
27950 : {
27951 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27952 0 : void *argp1 = 0 ;
27953 : int res1 = 0 ;
27954 : int argvi = 0;
27955 : char *result = 0 ;
27956 0 : dXSARGS;
27957 :
27958 0 : if ((items < 1) || (items > 1)) {
27959 0 : SWIG_croak("Usage: layerObj_getFilterString(self);");
27960 : }
27961 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27962 0 : if (!SWIG_IsOK(res1)) {
27963 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFilterString" "', argument " "1"" of type '" "struct layerObj *""'");
27964 : }
27965 0 : arg1 = (struct layerObj *)(argp1);
27966 : result = (char *)layerObj_getFilterString(arg1);
27967 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27968 :
27969 0 : free((char*)result);
27970 0 : XSRETURN(argvi);
27971 0 : fail:
27972 :
27973 0 : SWIG_croak_null();
27974 : }
27975 : }
27976 :
27977 :
27978 0 : XS(_wrap_layerObj_setWKTProjection) {
27979 : {
27980 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27981 : char *arg2 = (char *) 0 ;
27982 0 : void *argp1 = 0 ;
27983 : int res1 = 0 ;
27984 : int res2 ;
27985 0 : char *buf2 = 0 ;
27986 0 : int alloc2 = 0 ;
27987 : int argvi = 0;
27988 : int result;
27989 0 : dXSARGS;
27990 :
27991 0 : if ((items < 2) || (items > 2)) {
27992 0 : SWIG_croak("Usage: layerObj_setWKTProjection(self,wkt);");
27993 : }
27994 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27995 0 : if (!SWIG_IsOK(res1)) {
27996 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setWKTProjection" "', argument " "1"" of type '" "struct layerObj *""'");
27997 : }
27998 0 : arg1 = (struct layerObj *)(argp1);
27999 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28000 0 : if (!SWIG_IsOK(res2)) {
28001 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
28002 : }
28003 0 : arg2 = (char *)(buf2);
28004 : result = (int)layerObj_setWKTProjection(arg1,arg2);
28005 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28006 :
28007 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28008 0 : XSRETURN(argvi);
28009 0 : fail:
28010 :
28011 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28012 0 : SWIG_croak_null();
28013 : }
28014 : }
28015 :
28016 :
28017 0 : XS(_wrap_layerObj_getProjection) {
28018 : {
28019 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28020 0 : void *argp1 = 0 ;
28021 : int res1 = 0 ;
28022 : int argvi = 0;
28023 : char *result = 0 ;
28024 0 : dXSARGS;
28025 :
28026 0 : if ((items < 1) || (items > 1)) {
28027 0 : SWIG_croak("Usage: layerObj_getProjection(self);");
28028 : }
28029 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28030 0 : if (!SWIG_IsOK(res1)) {
28031 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProjection" "', argument " "1"" of type '" "struct layerObj *""'");
28032 : }
28033 0 : arg1 = (struct layerObj *)(argp1);
28034 : result = (char *)layerObj_getProjection(arg1);
28035 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28036 :
28037 0 : free((char*)result);
28038 0 : XSRETURN(argvi);
28039 0 : fail:
28040 :
28041 0 : SWIG_croak_null();
28042 : }
28043 : }
28044 :
28045 :
28046 0 : XS(_wrap_layerObj_setProjection) {
28047 : {
28048 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28049 : char *arg2 = (char *) 0 ;
28050 0 : void *argp1 = 0 ;
28051 : int res1 = 0 ;
28052 : int res2 ;
28053 0 : char *buf2 = 0 ;
28054 0 : int alloc2 = 0 ;
28055 : int argvi = 0;
28056 : int result;
28057 0 : dXSARGS;
28058 :
28059 0 : if ((items < 2) || (items > 2)) {
28060 0 : SWIG_croak("Usage: layerObj_setProjection(self,proj4);");
28061 : }
28062 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28063 0 : if (!SWIG_IsOK(res1)) {
28064 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProjection" "', argument " "1"" of type '" "struct layerObj *""'");
28065 : }
28066 0 : arg1 = (struct layerObj *)(argp1);
28067 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28068 0 : if (!SWIG_IsOK(res2)) {
28069 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProjection" "', argument " "2"" of type '" "char *""'");
28070 : }
28071 0 : arg2 = (char *)(buf2);
28072 : result = (int)layerObj_setProjection(arg1,arg2);
28073 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28074 :
28075 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28076 0 : XSRETURN(argvi);
28077 0 : fail:
28078 :
28079 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28080 0 : SWIG_croak_null();
28081 : }
28082 : }
28083 :
28084 :
28085 0 : XS(_wrap_layerObj_addFeature) {
28086 : {
28087 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28088 : shapeObj *arg2 = (shapeObj *) 0 ;
28089 0 : void *argp1 = 0 ;
28090 : int res1 = 0 ;
28091 0 : void *argp2 = 0 ;
28092 : int res2 = 0 ;
28093 : int argvi = 0;
28094 : int result;
28095 0 : dXSARGS;
28096 :
28097 0 : if ((items < 2) || (items > 2)) {
28098 0 : SWIG_croak("Usage: layerObj_addFeature(self,shape);");
28099 : }
28100 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28101 0 : if (!SWIG_IsOK(res1)) {
28102 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addFeature" "', argument " "1"" of type '" "struct layerObj *""'");
28103 : }
28104 0 : arg1 = (struct layerObj *)(argp1);
28105 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
28106 0 : if (!SWIG_IsOK(res2)) {
28107 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addFeature" "', argument " "2"" of type '" "shapeObj *""'");
28108 : }
28109 0 : arg2 = (shapeObj *)(argp2);
28110 0 : result = (int)layerObj_addFeature(arg1,arg2);
28111 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28112 :
28113 :
28114 0 : XSRETURN(argvi);
28115 0 : fail:
28116 :
28117 :
28118 0 : SWIG_croak_null();
28119 : }
28120 : }
28121 :
28122 :
28123 0 : XS(_wrap_layerObj_getNumFeatures) {
28124 : {
28125 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28126 0 : void *argp1 = 0 ;
28127 : int res1 = 0 ;
28128 : int argvi = 0;
28129 : int result;
28130 0 : dXSARGS;
28131 :
28132 0 : if ((items < 1) || (items > 1)) {
28133 0 : SWIG_croak("Usage: layerObj_getNumFeatures(self);");
28134 : }
28135 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28136 0 : if (!SWIG_IsOK(res1)) {
28137 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
28138 : }
28139 0 : arg1 = (struct layerObj *)(argp1);
28140 : result = (int)layerObj_getNumFeatures(arg1);
28141 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28142 :
28143 0 : XSRETURN(argvi);
28144 0 : fail:
28145 :
28146 0 : SWIG_croak_null();
28147 : }
28148 : }
28149 :
28150 :
28151 0 : XS(_wrap_layerObj_getExtent) {
28152 : {
28153 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28154 0 : void *argp1 = 0 ;
28155 : int res1 = 0 ;
28156 : int argvi = 0;
28157 : rectObj *result = 0 ;
28158 0 : dXSARGS;
28159 :
28160 0 : if ((items < 1) || (items > 1)) {
28161 0 : SWIG_croak("Usage: layerObj_getExtent(self);");
28162 : }
28163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28164 0 : if (!SWIG_IsOK(res1)) {
28165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getExtent" "', argument " "1"" of type '" "struct layerObj *""'");
28166 : }
28167 0 : arg1 = (struct layerObj *)(argp1);
28168 : result = (rectObj *)layerObj_getExtent(arg1);
28169 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
28170 :
28171 0 : XSRETURN(argvi);
28172 0 : fail:
28173 :
28174 0 : SWIG_croak_null();
28175 : }
28176 : }
28177 :
28178 :
28179 0 : XS(_wrap_layerObj_setExtent) {
28180 : {
28181 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28182 : double arg2 = (double) -1.0 ;
28183 : double arg3 = (double) -1.0 ;
28184 : double arg4 = (double) -1.0 ;
28185 : double arg5 = (double) -1.0 ;
28186 0 : void *argp1 = 0 ;
28187 : int res1 = 0 ;
28188 : double val2 ;
28189 : int ecode2 = 0 ;
28190 : double val3 ;
28191 : int ecode3 = 0 ;
28192 : double val4 ;
28193 : int ecode4 = 0 ;
28194 : double val5 ;
28195 : int ecode5 = 0 ;
28196 : int argvi = 0;
28197 : int result;
28198 0 : dXSARGS;
28199 :
28200 0 : if ((items < 1) || (items > 5)) {
28201 0 : SWIG_croak("Usage: layerObj_setExtent(self,minx,miny,maxx,maxy);");
28202 : }
28203 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28204 0 : if (!SWIG_IsOK(res1)) {
28205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setExtent" "', argument " "1"" of type '" "struct layerObj *""'");
28206 : }
28207 0 : arg1 = (struct layerObj *)(argp1);
28208 0 : if (items > 1) {
28209 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28210 0 : if (!SWIG_IsOK(ecode2)) {
28211 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setExtent" "', argument " "2"" of type '" "double""'");
28212 : }
28213 0 : arg2 = (double)(val2);
28214 : }
28215 0 : if (items > 2) {
28216 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
28217 0 : if (!SWIG_IsOK(ecode3)) {
28218 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setExtent" "', argument " "3"" of type '" "double""'");
28219 : }
28220 0 : arg3 = (double)(val3);
28221 : }
28222 0 : if (items > 3) {
28223 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
28224 0 : if (!SWIG_IsOK(ecode4)) {
28225 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_setExtent" "', argument " "4"" of type '" "double""'");
28226 : }
28227 0 : arg4 = (double)(val4);
28228 : }
28229 0 : if (items > 4) {
28230 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28231 0 : if (!SWIG_IsOK(ecode5)) {
28232 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_setExtent" "', argument " "5"" of type '" "double""'");
28233 : }
28234 0 : arg5 = (double)(val5);
28235 : }
28236 0 : result = (int)layerObj_setExtent(arg1,arg2,arg3,arg4,arg5);
28237 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28238 :
28239 :
28240 :
28241 :
28242 :
28243 0 : XSRETURN(argvi);
28244 0 : fail:
28245 :
28246 :
28247 :
28248 :
28249 :
28250 0 : SWIG_croak_null();
28251 : }
28252 : }
28253 :
28254 :
28255 0 : XS(_wrap_layerObj_getMetaData) {
28256 : {
28257 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28258 : char *arg2 = (char *) 0 ;
28259 0 : void *argp1 = 0 ;
28260 : int res1 = 0 ;
28261 : int res2 ;
28262 0 : char *buf2 = 0 ;
28263 0 : int alloc2 = 0 ;
28264 : int argvi = 0;
28265 : char *result = 0 ;
28266 0 : dXSARGS;
28267 :
28268 0 : if ((items < 2) || (items > 2)) {
28269 0 : SWIG_croak("Usage: layerObj_getMetaData(self,name);");
28270 : }
28271 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28272 0 : if (!SWIG_IsOK(res1)) {
28273 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28274 : }
28275 0 : arg1 = (struct layerObj *)(argp1);
28276 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28277 0 : if (!SWIG_IsOK(res2)) {
28278 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getMetaData" "', argument " "2"" of type '" "char *""'");
28279 : }
28280 0 : arg2 = (char *)(buf2);
28281 0 : result = (char *)layerObj_getMetaData(arg1,arg2);
28282 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28283 :
28284 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28285 0 : XSRETURN(argvi);
28286 0 : fail:
28287 :
28288 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28289 0 : SWIG_croak_null();
28290 : }
28291 : }
28292 :
28293 :
28294 0 : XS(_wrap_layerObj_setMetaData) {
28295 : {
28296 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28297 : char *arg2 = (char *) 0 ;
28298 : char *arg3 = (char *) 0 ;
28299 0 : void *argp1 = 0 ;
28300 : int res1 = 0 ;
28301 : int res2 ;
28302 0 : char *buf2 = 0 ;
28303 0 : int alloc2 = 0 ;
28304 : int res3 ;
28305 0 : char *buf3 = 0 ;
28306 0 : int alloc3 = 0 ;
28307 : int argvi = 0;
28308 : int result;
28309 0 : dXSARGS;
28310 :
28311 0 : if ((items < 3) || (items > 3)) {
28312 0 : SWIG_croak("Usage: layerObj_setMetaData(self,name,value);");
28313 : }
28314 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28315 0 : if (!SWIG_IsOK(res1)) {
28316 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28317 : }
28318 0 : arg1 = (struct layerObj *)(argp1);
28319 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28320 0 : if (!SWIG_IsOK(res2)) {
28321 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setMetaData" "', argument " "2"" of type '" "char *""'");
28322 : }
28323 0 : arg2 = (char *)(buf2);
28324 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28325 0 : if (!SWIG_IsOK(res3)) {
28326 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setMetaData" "', argument " "3"" of type '" "char *""'");
28327 : }
28328 0 : arg3 = (char *)(buf3);
28329 : result = (int)layerObj_setMetaData(arg1,arg2,arg3);
28330 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28331 :
28332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28333 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28334 0 : XSRETURN(argvi);
28335 0 : fail:
28336 :
28337 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28338 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28339 0 : SWIG_croak_null();
28340 : }
28341 : }
28342 :
28343 :
28344 0 : XS(_wrap_layerObj_removeMetaData) {
28345 : {
28346 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28347 : char *arg2 = (char *) 0 ;
28348 0 : void *argp1 = 0 ;
28349 : int res1 = 0 ;
28350 : int res2 ;
28351 0 : char *buf2 = 0 ;
28352 0 : int alloc2 = 0 ;
28353 : int argvi = 0;
28354 : int result;
28355 0 : dXSARGS;
28356 :
28357 0 : if ((items < 2) || (items > 2)) {
28358 0 : SWIG_croak("Usage: layerObj_removeMetaData(self,name);");
28359 : }
28360 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28361 0 : if (!SWIG_IsOK(res1)) {
28362 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28363 : }
28364 0 : arg1 = (struct layerObj *)(argp1);
28365 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28366 0 : if (!SWIG_IsOK(res2)) {
28367 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
28368 : }
28369 0 : arg2 = (char *)(buf2);
28370 : result = (int)layerObj_removeMetaData(arg1,arg2);
28371 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28372 :
28373 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28374 0 : XSRETURN(argvi);
28375 0 : fail:
28376 :
28377 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28378 0 : SWIG_croak_null();
28379 : }
28380 : }
28381 :
28382 :
28383 0 : XS(_wrap_layerObj_getFirstMetaDataKey) {
28384 : {
28385 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28386 0 : void *argp1 = 0 ;
28387 : int res1 = 0 ;
28388 : int argvi = 0;
28389 : char *result = 0 ;
28390 0 : dXSARGS;
28391 :
28392 0 : if ((items < 1) || (items > 1)) {
28393 0 : SWIG_croak("Usage: layerObj_getFirstMetaDataKey(self);");
28394 : }
28395 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28396 0 : if (!SWIG_IsOK(res1)) {
28397 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28398 : }
28399 0 : arg1 = (struct layerObj *)(argp1);
28400 : result = (char *)layerObj_getFirstMetaDataKey(arg1);
28401 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28402 :
28403 0 : XSRETURN(argvi);
28404 0 : fail:
28405 :
28406 0 : SWIG_croak_null();
28407 : }
28408 : }
28409 :
28410 :
28411 0 : XS(_wrap_layerObj_getNextMetaDataKey) {
28412 : {
28413 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28414 : char *arg2 = (char *) 0 ;
28415 0 : void *argp1 = 0 ;
28416 : int res1 = 0 ;
28417 : int res2 ;
28418 0 : char *buf2 = 0 ;
28419 0 : int alloc2 = 0 ;
28420 : int argvi = 0;
28421 : char *result = 0 ;
28422 0 : dXSARGS;
28423 :
28424 0 : if ((items < 2) || (items > 2)) {
28425 0 : SWIG_croak("Usage: layerObj_getNextMetaDataKey(self,lastkey);");
28426 : }
28427 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28428 0 : if (!SWIG_IsOK(res1)) {
28429 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28430 : }
28431 0 : arg1 = (struct layerObj *)(argp1);
28432 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28433 0 : if (!SWIG_IsOK(res2)) {
28434 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
28435 : }
28436 0 : arg2 = (char *)(buf2);
28437 : result = (char *)layerObj_getNextMetaDataKey(arg1,arg2);
28438 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28439 :
28440 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28441 0 : XSRETURN(argvi);
28442 0 : fail:
28443 :
28444 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28445 0 : SWIG_croak_null();
28446 : }
28447 : }
28448 :
28449 :
28450 0 : XS(_wrap_layerObj_getWMSFeatureInfoURL) {
28451 : {
28452 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28453 : mapObj *arg2 = (mapObj *) 0 ;
28454 : int arg3 ;
28455 : int arg4 ;
28456 : int arg5 ;
28457 : char *arg6 = (char *) 0 ;
28458 0 : void *argp1 = 0 ;
28459 : int res1 = 0 ;
28460 0 : void *argp2 = 0 ;
28461 : int res2 = 0 ;
28462 : int val3 ;
28463 : int ecode3 = 0 ;
28464 : int val4 ;
28465 : int ecode4 = 0 ;
28466 : int val5 ;
28467 : int ecode5 = 0 ;
28468 : int res6 ;
28469 0 : char *buf6 = 0 ;
28470 0 : int alloc6 = 0 ;
28471 : int argvi = 0;
28472 : char *result = 0 ;
28473 0 : dXSARGS;
28474 :
28475 0 : if ((items < 6) || (items > 6)) {
28476 0 : SWIG_croak("Usage: layerObj_getWMSFeatureInfoURL(self,map,click_x,click_y,feature_count,info_format);");
28477 : }
28478 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28479 0 : if (!SWIG_IsOK(res1)) {
28480 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "1"" of type '" "struct layerObj *""'");
28481 : }
28482 0 : arg1 = (struct layerObj *)(argp1);
28483 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
28484 0 : if (!SWIG_IsOK(res2)) {
28485 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "2"" of type '" "mapObj *""'");
28486 : }
28487 0 : arg2 = (mapObj *)(argp2);
28488 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
28489 0 : if (!SWIG_IsOK(ecode3)) {
28490 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "3"" of type '" "int""'");
28491 : }
28492 : arg3 = (int)(val3);
28493 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
28494 0 : if (!SWIG_IsOK(ecode4)) {
28495 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "4"" of type '" "int""'");
28496 : }
28497 : arg4 = (int)(val4);
28498 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28499 0 : if (!SWIG_IsOK(ecode5)) {
28500 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "5"" of type '" "int""'");
28501 : }
28502 : arg5 = (int)(val5);
28503 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
28504 0 : if (!SWIG_IsOK(res6)) {
28505 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "6"" of type '" "char *""'");
28506 : }
28507 0 : arg6 = (char *)(buf6);
28508 : result = (char *)layerObj_getWMSFeatureInfoURL(arg1,arg2,arg3,arg4,arg5,arg6);
28509 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28510 :
28511 :
28512 :
28513 :
28514 :
28515 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28516 0 : free((char*)result);
28517 0 : XSRETURN(argvi);
28518 0 : fail:
28519 :
28520 :
28521 :
28522 :
28523 :
28524 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28525 0 : SWIG_croak_null();
28526 : }
28527 : }
28528 :
28529 :
28530 0 : XS(_wrap_layerObj_executeWFSGetFeature) {
28531 : {
28532 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28533 : layerObj *arg2 = (layerObj *) 0 ;
28534 0 : void *argp1 = 0 ;
28535 : int res1 = 0 ;
28536 0 : void *argp2 = 0 ;
28537 : int res2 = 0 ;
28538 : int argvi = 0;
28539 : char *result = 0 ;
28540 0 : dXSARGS;
28541 :
28542 0 : if ((items < 2) || (items > 2)) {
28543 0 : SWIG_croak("Usage: layerObj_executeWFSGetFeature(self,layer);");
28544 : }
28545 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28546 0 : if (!SWIG_IsOK(res1)) {
28547 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_executeWFSGetFeature" "', argument " "1"" of type '" "struct layerObj *""'");
28548 : }
28549 : arg1 = (struct layerObj *)(argp1);
28550 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
28551 0 : if (!SWIG_IsOK(res2)) {
28552 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_executeWFSGetFeature" "', argument " "2"" of type '" "layerObj *""'");
28553 : }
28554 0 : arg2 = (layerObj *)(argp2);
28555 : result = (char *)layerObj_executeWFSGetFeature(arg1,arg2);
28556 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28557 :
28558 :
28559 0 : free((char*)result);
28560 0 : XSRETURN(argvi);
28561 0 : fail:
28562 :
28563 :
28564 0 : SWIG_croak_null();
28565 : }
28566 : }
28567 :
28568 :
28569 0 : XS(_wrap_layerObj_applySLD) {
28570 : {
28571 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28572 : char *arg2 = (char *) 0 ;
28573 : char *arg3 = (char *) 0 ;
28574 0 : void *argp1 = 0 ;
28575 : int res1 = 0 ;
28576 : int res2 ;
28577 0 : char *buf2 = 0 ;
28578 0 : int alloc2 = 0 ;
28579 : int res3 ;
28580 0 : char *buf3 = 0 ;
28581 0 : int alloc3 = 0 ;
28582 : int argvi = 0;
28583 : int result;
28584 0 : dXSARGS;
28585 :
28586 0 : if ((items < 3) || (items > 3)) {
28587 0 : SWIG_croak("Usage: layerObj_applySLD(self,sld,stylelayer);");
28588 : }
28589 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28590 0 : if (!SWIG_IsOK(res1)) {
28591 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLD" "', argument " "1"" of type '" "struct layerObj *""'");
28592 : }
28593 0 : arg1 = (struct layerObj *)(argp1);
28594 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28595 0 : if (!SWIG_IsOK(res2)) {
28596 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLD" "', argument " "2"" of type '" "char *""'");
28597 : }
28598 0 : arg2 = (char *)(buf2);
28599 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28600 0 : if (!SWIG_IsOK(res3)) {
28601 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLD" "', argument " "3"" of type '" "char *""'");
28602 : }
28603 0 : arg3 = (char *)(buf3);
28604 0 : result = (int)layerObj_applySLD(arg1,arg2,arg3);
28605 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28606 :
28607 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28608 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28609 0 : XSRETURN(argvi);
28610 0 : fail:
28611 :
28612 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28613 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28614 0 : SWIG_croak_null();
28615 : }
28616 : }
28617 :
28618 :
28619 0 : XS(_wrap_layerObj_applySLDURL) {
28620 : {
28621 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28622 : char *arg2 = (char *) 0 ;
28623 : char *arg3 = (char *) 0 ;
28624 0 : void *argp1 = 0 ;
28625 : int res1 = 0 ;
28626 : int res2 ;
28627 0 : char *buf2 = 0 ;
28628 0 : int alloc2 = 0 ;
28629 : int res3 ;
28630 0 : char *buf3 = 0 ;
28631 0 : int alloc3 = 0 ;
28632 : int argvi = 0;
28633 : int result;
28634 0 : dXSARGS;
28635 :
28636 0 : if ((items < 3) || (items > 3)) {
28637 0 : SWIG_croak("Usage: layerObj_applySLDURL(self,sld,stylelayer);");
28638 : }
28639 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28640 0 : if (!SWIG_IsOK(res1)) {
28641 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLDURL" "', argument " "1"" of type '" "struct layerObj *""'");
28642 : }
28643 0 : arg1 = (struct layerObj *)(argp1);
28644 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28645 0 : if (!SWIG_IsOK(res2)) {
28646 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
28647 : }
28648 0 : arg2 = (char *)(buf2);
28649 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28650 0 : if (!SWIG_IsOK(res3)) {
28651 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLDURL" "', argument " "3"" of type '" "char *""'");
28652 : }
28653 0 : arg3 = (char *)(buf3);
28654 0 : result = (int)layerObj_applySLDURL(arg1,arg2,arg3);
28655 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28656 :
28657 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28658 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28659 0 : XSRETURN(argvi);
28660 0 : fail:
28661 :
28662 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28663 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28664 0 : SWIG_croak_null();
28665 : }
28666 : }
28667 :
28668 :
28669 0 : XS(_wrap_layerObj_generateSLD) {
28670 : {
28671 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28672 0 : void *argp1 = 0 ;
28673 : int res1 = 0 ;
28674 : int argvi = 0;
28675 : char *result = 0 ;
28676 0 : dXSARGS;
28677 :
28678 0 : if ((items < 1) || (items > 1)) {
28679 0 : SWIG_croak("Usage: layerObj_generateSLD(self);");
28680 : }
28681 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28682 0 : if (!SWIG_IsOK(res1)) {
28683 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_generateSLD" "', argument " "1"" of type '" "struct layerObj *""'");
28684 : }
28685 0 : arg1 = (struct layerObj *)(argp1);
28686 0 : result = (char *)layerObj_generateSLD(arg1);
28687 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28688 :
28689 0 : free((char*)result);
28690 0 : XSRETURN(argvi);
28691 0 : fail:
28692 :
28693 0 : SWIG_croak_null();
28694 : }
28695 : }
28696 :
28697 :
28698 0 : XS(_wrap_layerObj_isVisible) {
28699 : {
28700 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28701 0 : void *argp1 = 0 ;
28702 : int res1 = 0 ;
28703 : int argvi = 0;
28704 : int result;
28705 0 : dXSARGS;
28706 :
28707 0 : if ((items < 1) || (items > 1)) {
28708 0 : SWIG_croak("Usage: layerObj_isVisible(self);");
28709 : }
28710 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28711 0 : if (!SWIG_IsOK(res1)) {
28712 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_isVisible" "', argument " "1"" of type '" "struct layerObj *""'");
28713 : }
28714 0 : arg1 = (struct layerObj *)(argp1);
28715 0 : result = (int)layerObj_isVisible(arg1);
28716 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28717 :
28718 0 : XSRETURN(argvi);
28719 0 : fail:
28720 :
28721 0 : SWIG_croak_null();
28722 : }
28723 : }
28724 :
28725 :
28726 0 : XS(_wrap_layerObj_moveClassUp) {
28727 : {
28728 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28729 : int arg2 ;
28730 0 : void *argp1 = 0 ;
28731 : int res1 = 0 ;
28732 : int val2 ;
28733 : int ecode2 = 0 ;
28734 : int argvi = 0;
28735 : int result;
28736 0 : dXSARGS;
28737 :
28738 0 : if ((items < 2) || (items > 2)) {
28739 0 : SWIG_croak("Usage: layerObj_moveClassUp(self,index);");
28740 : }
28741 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28742 0 : if (!SWIG_IsOK(res1)) {
28743 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassUp" "', argument " "1"" of type '" "struct layerObj *""'");
28744 : }
28745 0 : arg1 = (struct layerObj *)(argp1);
28746 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28747 0 : if (!SWIG_IsOK(ecode2)) {
28748 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassUp" "', argument " "2"" of type '" "int""'");
28749 : }
28750 : arg2 = (int)(val2);
28751 : result = (int)layerObj_moveClassUp(arg1,arg2);
28752 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28753 :
28754 :
28755 0 : XSRETURN(argvi);
28756 0 : fail:
28757 :
28758 :
28759 0 : SWIG_croak_null();
28760 : }
28761 : }
28762 :
28763 :
28764 0 : XS(_wrap_layerObj_moveClassDown) {
28765 : {
28766 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28767 : int arg2 ;
28768 0 : void *argp1 = 0 ;
28769 : int res1 = 0 ;
28770 : int val2 ;
28771 : int ecode2 = 0 ;
28772 : int argvi = 0;
28773 : int result;
28774 0 : dXSARGS;
28775 :
28776 0 : if ((items < 2) || (items > 2)) {
28777 0 : SWIG_croak("Usage: layerObj_moveClassDown(self,index);");
28778 : }
28779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28780 0 : if (!SWIG_IsOK(res1)) {
28781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassDown" "', argument " "1"" of type '" "struct layerObj *""'");
28782 : }
28783 0 : arg1 = (struct layerObj *)(argp1);
28784 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28785 0 : if (!SWIG_IsOK(ecode2)) {
28786 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassDown" "', argument " "2"" of type '" "int""'");
28787 : }
28788 : arg2 = (int)(val2);
28789 : result = (int)layerObj_moveClassDown(arg1,arg2);
28790 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28791 :
28792 :
28793 0 : XSRETURN(argvi);
28794 0 : fail:
28795 :
28796 :
28797 0 : SWIG_croak_null();
28798 : }
28799 : }
28800 :
28801 :
28802 0 : XS(_wrap_layerObj_setProcessingKey) {
28803 : {
28804 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28805 : char *arg2 = (char *) 0 ;
28806 : char *arg3 = (char *) 0 ;
28807 0 : void *argp1 = 0 ;
28808 : int res1 = 0 ;
28809 : int res2 ;
28810 0 : char *buf2 = 0 ;
28811 0 : int alloc2 = 0 ;
28812 : int res3 ;
28813 0 : char *buf3 = 0 ;
28814 0 : int alloc3 = 0 ;
28815 : int argvi = 0;
28816 0 : dXSARGS;
28817 :
28818 0 : if ((items < 3) || (items > 3)) {
28819 0 : SWIG_croak("Usage: layerObj_setProcessingKey(self,key,value);");
28820 : }
28821 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28822 0 : if (!SWIG_IsOK(res1)) {
28823 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28824 : }
28825 0 : arg1 = (struct layerObj *)(argp1);
28826 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28827 0 : if (!SWIG_IsOK(res2)) {
28828 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessingKey" "', argument " "2"" of type '" "char const *""'");
28829 : }
28830 0 : arg2 = (char *)(buf2);
28831 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28832 0 : if (!SWIG_IsOK(res3)) {
28833 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setProcessingKey" "', argument " "3"" of type '" "char const *""'");
28834 : }
28835 0 : arg3 = (char *)(buf3);
28836 : layerObj_setProcessingKey(arg1,(char const *)arg2,(char const *)arg3);
28837 0 : ST(argvi) = sv_newmortal();
28838 :
28839 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28840 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28841 0 : XSRETURN(argvi);
28842 0 : fail:
28843 :
28844 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28845 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28846 0 : SWIG_croak_null();
28847 : }
28848 : }
28849 :
28850 :
28851 0 : XS(_wrap_layerObj_setProcessing) {
28852 : {
28853 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28854 : char *arg2 = (char *) 0 ;
28855 0 : void *argp1 = 0 ;
28856 : int res1 = 0 ;
28857 : int res2 ;
28858 0 : char *buf2 = 0 ;
28859 0 : int alloc2 = 0 ;
28860 : int argvi = 0;
28861 0 : dXSARGS;
28862 :
28863 0 : if ((items < 2) || (items > 2)) {
28864 0 : SWIG_croak("Usage: layerObj_setProcessing(self,directive);");
28865 : }
28866 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28867 0 : if (!SWIG_IsOK(res1)) {
28868 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28869 : }
28870 0 : arg1 = (struct layerObj *)(argp1);
28871 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28872 0 : if (!SWIG_IsOK(res2)) {
28873 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessing" "', argument " "2"" of type '" "char const *""'");
28874 : }
28875 0 : arg2 = (char *)(buf2);
28876 : layerObj_setProcessing(arg1,(char const *)arg2);
28877 0 : ST(argvi) = sv_newmortal();
28878 :
28879 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28880 0 : XSRETURN(argvi);
28881 0 : fail:
28882 :
28883 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28884 0 : SWIG_croak_null();
28885 : }
28886 : }
28887 :
28888 :
28889 0 : XS(_wrap_layerObj_addProcessing) {
28890 : {
28891 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28892 : char *arg2 = (char *) 0 ;
28893 0 : void *argp1 = 0 ;
28894 : int res1 = 0 ;
28895 : int res2 ;
28896 0 : char *buf2 = 0 ;
28897 0 : int alloc2 = 0 ;
28898 : int argvi = 0;
28899 0 : dXSARGS;
28900 :
28901 0 : if ((items < 2) || (items > 2)) {
28902 0 : SWIG_croak("Usage: layerObj_addProcessing(self,directive);");
28903 : }
28904 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28905 0 : if (!SWIG_IsOK(res1)) {
28906 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28907 : }
28908 0 : arg1 = (struct layerObj *)(argp1);
28909 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28910 0 : if (!SWIG_IsOK(res2)) {
28911 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addProcessing" "', argument " "2"" of type '" "char const *""'");
28912 : }
28913 0 : arg2 = (char *)(buf2);
28914 : layerObj_addProcessing(arg1,(char const *)arg2);
28915 0 : ST(argvi) = sv_newmortal();
28916 :
28917 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28918 0 : XSRETURN(argvi);
28919 0 : fail:
28920 :
28921 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28922 0 : SWIG_croak_null();
28923 : }
28924 : }
28925 :
28926 :
28927 0 : XS(_wrap_layerObj_getProcessing) {
28928 : {
28929 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28930 : int arg2 ;
28931 0 : void *argp1 = 0 ;
28932 : int res1 = 0 ;
28933 : int val2 ;
28934 : int ecode2 = 0 ;
28935 : int argvi = 0;
28936 : char *result = 0 ;
28937 0 : dXSARGS;
28938 :
28939 0 : if ((items < 2) || (items > 2)) {
28940 0 : SWIG_croak("Usage: layerObj_getProcessing(self,index);");
28941 : }
28942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28943 0 : if (!SWIG_IsOK(res1)) {
28944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28945 : }
28946 0 : arg1 = (struct layerObj *)(argp1);
28947 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28948 0 : if (!SWIG_IsOK(ecode2)) {
28949 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getProcessing" "', argument " "2"" of type '" "int""'");
28950 : }
28951 : arg2 = (int)(val2);
28952 : result = (char *)layerObj_getProcessing(arg1,arg2);
28953 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28954 :
28955 :
28956 0 : XSRETURN(argvi);
28957 0 : fail:
28958 :
28959 :
28960 0 : SWIG_croak_null();
28961 : }
28962 : }
28963 :
28964 :
28965 0 : XS(_wrap_layerObj_getProcessingKey) {
28966 : {
28967 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28968 : char *arg2 = (char *) 0 ;
28969 0 : void *argp1 = 0 ;
28970 : int res1 = 0 ;
28971 : int res2 ;
28972 0 : char *buf2 = 0 ;
28973 0 : int alloc2 = 0 ;
28974 : int argvi = 0;
28975 : char *result = 0 ;
28976 0 : dXSARGS;
28977 :
28978 0 : if ((items < 2) || (items > 2)) {
28979 0 : SWIG_croak("Usage: layerObj_getProcessingKey(self,key);");
28980 : }
28981 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28982 0 : if (!SWIG_IsOK(res1)) {
28983 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28984 : }
28985 0 : arg1 = (struct layerObj *)(argp1);
28986 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28987 0 : if (!SWIG_IsOK(res2)) {
28988 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getProcessingKey" "', argument " "2"" of type '" "char const *""'");
28989 : }
28990 0 : arg2 = (char *)(buf2);
28991 : result = (char *)layerObj_getProcessingKey(arg1,(char const *)arg2);
28992 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28993 :
28994 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28995 0 : XSRETURN(argvi);
28996 0 : fail:
28997 :
28998 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28999 0 : SWIG_croak_null();
29000 : }
29001 : }
29002 :
29003 :
29004 0 : XS(_wrap_layerObj_clearProcessing) {
29005 : {
29006 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29007 0 : void *argp1 = 0 ;
29008 : int res1 = 0 ;
29009 : int argvi = 0;
29010 : int result;
29011 0 : dXSARGS;
29012 :
29013 0 : if ((items < 1) || (items > 1)) {
29014 0 : SWIG_croak("Usage: layerObj_clearProcessing(self);");
29015 : }
29016 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29017 0 : if (!SWIG_IsOK(res1)) {
29018 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clearProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
29019 : }
29020 0 : arg1 = (struct layerObj *)(argp1);
29021 : result = (int)layerObj_clearProcessing(arg1);
29022 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29023 :
29024 0 : XSRETURN(argvi);
29025 0 : fail:
29026 :
29027 0 : SWIG_croak_null();
29028 : }
29029 : }
29030 :
29031 :
29032 0 : XS(_wrap_layerObj_setConnectionType) {
29033 : {
29034 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29035 : int arg2 ;
29036 : char *arg3 = (char *) 0 ;
29037 0 : void *argp1 = 0 ;
29038 : int res1 = 0 ;
29039 : int val2 ;
29040 : int ecode2 = 0 ;
29041 : int res3 ;
29042 0 : char *buf3 = 0 ;
29043 0 : int alloc3 = 0 ;
29044 : int argvi = 0;
29045 : int result;
29046 0 : dXSARGS;
29047 :
29048 0 : if ((items < 3) || (items > 3)) {
29049 0 : SWIG_croak("Usage: layerObj_setConnectionType(self,connectiontype,library_str);");
29050 : }
29051 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29052 0 : if (!SWIG_IsOK(res1)) {
29053 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setConnectionType" "', argument " "1"" of type '" "struct layerObj *""'");
29054 : }
29055 0 : arg1 = (struct layerObj *)(argp1);
29056 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29057 0 : if (!SWIG_IsOK(ecode2)) {
29058 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setConnectionType" "', argument " "2"" of type '" "int""'");
29059 : }
29060 : arg2 = (int)(val2);
29061 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
29062 0 : if (!SWIG_IsOK(res3)) {
29063 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setConnectionType" "', argument " "3"" of type '" "char const *""'");
29064 : }
29065 0 : arg3 = (char *)(buf3);
29066 0 : result = (int)layerObj_setConnectionType(arg1,arg2,(char const *)arg3);
29067 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29068 :
29069 :
29070 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29071 0 : XSRETURN(argvi);
29072 0 : fail:
29073 :
29074 :
29075 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29076 0 : SWIG_croak_null();
29077 : }
29078 : }
29079 :
29080 :
29081 0 : XS(_wrap_layerObj_getClassIndex) {
29082 : {
29083 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29084 : mapObj *arg2 = (mapObj *) 0 ;
29085 : shapeObj *arg3 = (shapeObj *) 0 ;
29086 : int *arg4 = (int *) NULL ;
29087 : int arg5 = (int) 0 ;
29088 0 : void *argp1 = 0 ;
29089 : int res1 = 0 ;
29090 0 : void *argp2 = 0 ;
29091 : int res2 = 0 ;
29092 0 : void *argp3 = 0 ;
29093 : int res3 = 0 ;
29094 0 : void *argp4 = 0 ;
29095 : int res4 = 0 ;
29096 : int val5 ;
29097 : int ecode5 = 0 ;
29098 : int argvi = 0;
29099 : int result;
29100 0 : dXSARGS;
29101 :
29102 0 : if ((items < 3) || (items > 5)) {
29103 0 : SWIG_croak("Usage: layerObj_getClassIndex(self,map,shape,classgroup,numclasses);");
29104 : }
29105 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29106 0 : if (!SWIG_IsOK(res1)) {
29107 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClassIndex" "', argument " "1"" of type '" "struct layerObj *""'");
29108 : }
29109 0 : arg1 = (struct layerObj *)(argp1);
29110 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
29111 0 : if (!SWIG_IsOK(res2)) {
29112 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getClassIndex" "', argument " "2"" of type '" "mapObj *""'");
29113 : }
29114 0 : arg2 = (mapObj *)(argp2);
29115 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
29116 0 : if (!SWIG_IsOK(res3)) {
29117 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_getClassIndex" "', argument " "3"" of type '" "shapeObj *""'");
29118 : }
29119 0 : arg3 = (shapeObj *)(argp3);
29120 0 : if (items > 3) {
29121 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 | 0 );
29122 0 : if (!SWIG_IsOK(res4)) {
29123 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_getClassIndex" "', argument " "4"" of type '" "int *""'");
29124 : }
29125 0 : arg4 = (int *)(argp4);
29126 : }
29127 0 : if (items > 4) {
29128 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
29129 0 : if (!SWIG_IsOK(ecode5)) {
29130 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getClassIndex" "', argument " "5"" of type '" "int""'");
29131 : }
29132 : arg5 = (int)(val5);
29133 : }
29134 : result = (int)layerObj_getClassIndex(arg1,arg2,arg3,arg4,arg5);
29135 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29136 :
29137 :
29138 :
29139 :
29140 :
29141 0 : XSRETURN(argvi);
29142 0 : fail:
29143 :
29144 :
29145 :
29146 :
29147 :
29148 0 : SWIG_croak_null();
29149 : }
29150 : }
29151 :
29152 :
29153 0 : XS(_wrap_layerObj_getGeomTransform) {
29154 : {
29155 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29156 0 : void *argp1 = 0 ;
29157 : int res1 = 0 ;
29158 : int argvi = 0;
29159 : char *result = 0 ;
29160 0 : dXSARGS;
29161 :
29162 0 : if ((items < 1) || (items > 1)) {
29163 0 : SWIG_croak("Usage: layerObj_getGeomTransform(self);");
29164 : }
29165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29166 0 : if (!SWIG_IsOK(res1)) {
29167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
29168 : }
29169 0 : arg1 = (struct layerObj *)(argp1);
29170 0 : result = (char *)layerObj_getGeomTransform(arg1);
29171 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29172 :
29173 0 : XSRETURN(argvi);
29174 0 : fail:
29175 :
29176 0 : SWIG_croak_null();
29177 : }
29178 : }
29179 :
29180 :
29181 0 : XS(_wrap_layerObj_setGeomTransform) {
29182 : {
29183 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29184 : char *arg2 = (char *) 0 ;
29185 0 : void *argp1 = 0 ;
29186 : int res1 = 0 ;
29187 : int res2 ;
29188 0 : char *buf2 = 0 ;
29189 0 : int alloc2 = 0 ;
29190 : int argvi = 0;
29191 0 : dXSARGS;
29192 :
29193 0 : if ((items < 2) || (items > 2)) {
29194 0 : SWIG_croak("Usage: layerObj_setGeomTransform(self,transform);");
29195 : }
29196 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29197 0 : if (!SWIG_IsOK(res1)) {
29198 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
29199 : }
29200 0 : arg1 = (struct layerObj *)(argp1);
29201 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
29202 0 : if (!SWIG_IsOK(res2)) {
29203 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
29204 : }
29205 0 : arg2 = (char *)(buf2);
29206 0 : layerObj_setGeomTransform(arg1,arg2);
29207 0 : ST(argvi) = sv_newmortal();
29208 :
29209 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29210 0 : XSRETURN(argvi);
29211 0 : fail:
29212 :
29213 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29214 0 : SWIG_croak_null();
29215 : }
29216 : }
29217 :
29218 :
29219 0 : XS(_wrap_layerObj_getItemType) {
29220 : {
29221 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29222 : int arg2 ;
29223 0 : void *argp1 = 0 ;
29224 : int res1 = 0 ;
29225 : int val2 ;
29226 : int ecode2 = 0 ;
29227 : int argvi = 0;
29228 : char *result = 0 ;
29229 0 : dXSARGS;
29230 :
29231 0 : if ((items < 2) || (items > 2)) {
29232 0 : SWIG_croak("Usage: layerObj_getItemType(self,i);");
29233 : }
29234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29235 0 : if (!SWIG_IsOK(res1)) {
29236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItemType" "', argument " "1"" of type '" "struct layerObj *""'");
29237 : }
29238 0 : arg1 = (struct layerObj *)(argp1);
29239 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29240 0 : if (!SWIG_IsOK(ecode2)) {
29241 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItemType" "', argument " "2"" of type '" "int""'");
29242 : }
29243 : arg2 = (int)(val2);
29244 0 : result = (char *)layerObj_getItemType(arg1,arg2);
29245 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29246 :
29247 :
29248 0 : XSRETURN(argvi);
29249 0 : fail:
29250 :
29251 :
29252 0 : SWIG_croak_null();
29253 : }
29254 : }
29255 :
29256 :
29257 0 : XS(_wrap_mapObj_name_set) {
29258 : {
29259 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29260 : char *arg2 = (char *) 0 ;
29261 0 : void *argp1 = 0 ;
29262 : int res1 = 0 ;
29263 : int res2 ;
29264 0 : char *buf2 = 0 ;
29265 0 : int alloc2 = 0 ;
29266 : int argvi = 0;
29267 0 : dXSARGS;
29268 :
29269 0 : if ((items < 2) || (items > 2)) {
29270 0 : SWIG_croak("Usage: mapObj_name_set(self,name);");
29271 : }
29272 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29273 0 : if (!SWIG_IsOK(res1)) {
29274 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_set" "', argument " "1"" of type '" "struct mapObj *""'");
29275 : }
29276 0 : arg1 = (struct mapObj *)(argp1);
29277 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
29278 0 : if (!SWIG_IsOK(res2)) {
29279 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_name_set" "', argument " "2"" of type '" "char *""'");
29280 : }
29281 0 : arg2 = (char *)(buf2);
29282 : {
29283 0 : if (arg1->name) free((char*)arg1->name);
29284 0 : if (arg2) {
29285 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
29286 : strcpy((char*)arg1->name,arg2);
29287 : } else {
29288 0 : arg1->name = 0;
29289 : }
29290 : }
29291 0 : ST(argvi) = sv_newmortal();
29292 :
29293 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29294 0 : XSRETURN(argvi);
29295 0 : fail:
29296 :
29297 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29298 0 : SWIG_croak_null();
29299 : }
29300 : }
29301 :
29302 :
29303 0 : XS(_wrap_mapObj_name_get) {
29304 : {
29305 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29306 0 : void *argp1 = 0 ;
29307 : int res1 = 0 ;
29308 : int argvi = 0;
29309 : char *result = 0 ;
29310 0 : dXSARGS;
29311 :
29312 0 : if ((items < 1) || (items > 1)) {
29313 0 : SWIG_croak("Usage: mapObj_name_get(self);");
29314 : }
29315 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29316 0 : if (!SWIG_IsOK(res1)) {
29317 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_get" "', argument " "1"" of type '" "struct mapObj *""'");
29318 : }
29319 0 : arg1 = (struct mapObj *)(argp1);
29320 0 : result = (char *) ((arg1)->name);
29321 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29322 :
29323 0 : XSRETURN(argvi);
29324 0 : fail:
29325 :
29326 0 : SWIG_croak_null();
29327 : }
29328 : }
29329 :
29330 :
29331 0 : XS(_wrap_mapObj_status_set) {
29332 : {
29333 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29334 : int arg2 ;
29335 0 : void *argp1 = 0 ;
29336 : int res1 = 0 ;
29337 : int val2 ;
29338 : int ecode2 = 0 ;
29339 : int argvi = 0;
29340 0 : dXSARGS;
29341 :
29342 0 : if ((items < 2) || (items > 2)) {
29343 0 : SWIG_croak("Usage: mapObj_status_set(self,status);");
29344 : }
29345 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29346 0 : if (!SWIG_IsOK(res1)) {
29347 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_set" "', argument " "1"" of type '" "struct mapObj *""'");
29348 : }
29349 0 : arg1 = (struct mapObj *)(argp1);
29350 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29351 0 : if (!SWIG_IsOK(ecode2)) {
29352 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_status_set" "', argument " "2"" of type '" "int""'");
29353 : }
29354 : arg2 = (int)(val2);
29355 0 : if (arg1) (arg1)->status = arg2;
29356 0 : ST(argvi) = sv_newmortal();
29357 :
29358 :
29359 0 : XSRETURN(argvi);
29360 0 : fail:
29361 :
29362 :
29363 0 : SWIG_croak_null();
29364 : }
29365 : }
29366 :
29367 :
29368 0 : XS(_wrap_mapObj_status_get) {
29369 : {
29370 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29371 0 : void *argp1 = 0 ;
29372 : int res1 = 0 ;
29373 : int argvi = 0;
29374 : int result;
29375 0 : dXSARGS;
29376 :
29377 0 : if ((items < 1) || (items > 1)) {
29378 0 : SWIG_croak("Usage: mapObj_status_get(self);");
29379 : }
29380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29381 0 : if (!SWIG_IsOK(res1)) {
29382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_get" "', argument " "1"" of type '" "struct mapObj *""'");
29383 : }
29384 0 : arg1 = (struct mapObj *)(argp1);
29385 0 : result = (int) ((arg1)->status);
29386 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29387 :
29388 0 : XSRETURN(argvi);
29389 0 : fail:
29390 :
29391 0 : SWIG_croak_null();
29392 : }
29393 : }
29394 :
29395 :
29396 0 : XS(_wrap_mapObj_height_set) {
29397 : {
29398 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29399 : int arg2 ;
29400 0 : void *argp1 = 0 ;
29401 : int res1 = 0 ;
29402 : int val2 ;
29403 : int ecode2 = 0 ;
29404 : int argvi = 0;
29405 0 : dXSARGS;
29406 :
29407 0 : if ((items < 2) || (items > 2)) {
29408 0 : SWIG_croak("Usage: mapObj_height_set(self,height);");
29409 : }
29410 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29411 0 : if (!SWIG_IsOK(res1)) {
29412 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_set" "', argument " "1"" of type '" "struct mapObj *""'");
29413 : }
29414 0 : arg1 = (struct mapObj *)(argp1);
29415 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29416 0 : if (!SWIG_IsOK(ecode2)) {
29417 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_height_set" "', argument " "2"" of type '" "int""'");
29418 : }
29419 : arg2 = (int)(val2);
29420 0 : if (arg1) (arg1)->height = arg2;
29421 0 : ST(argvi) = sv_newmortal();
29422 :
29423 :
29424 0 : XSRETURN(argvi);
29425 0 : fail:
29426 :
29427 :
29428 0 : SWIG_croak_null();
29429 : }
29430 : }
29431 :
29432 :
29433 0 : XS(_wrap_mapObj_height_get) {
29434 : {
29435 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29436 0 : void *argp1 = 0 ;
29437 : int res1 = 0 ;
29438 : int argvi = 0;
29439 : int result;
29440 0 : dXSARGS;
29441 :
29442 0 : if ((items < 1) || (items > 1)) {
29443 0 : SWIG_croak("Usage: mapObj_height_get(self);");
29444 : }
29445 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29446 0 : if (!SWIG_IsOK(res1)) {
29447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_get" "', argument " "1"" of type '" "struct mapObj *""'");
29448 : }
29449 0 : arg1 = (struct mapObj *)(argp1);
29450 0 : result = (int) ((arg1)->height);
29451 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29452 :
29453 0 : XSRETURN(argvi);
29454 0 : fail:
29455 :
29456 0 : SWIG_croak_null();
29457 : }
29458 : }
29459 :
29460 :
29461 0 : XS(_wrap_mapObj_width_set) {
29462 : {
29463 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29464 : int arg2 ;
29465 0 : void *argp1 = 0 ;
29466 : int res1 = 0 ;
29467 : int val2 ;
29468 : int ecode2 = 0 ;
29469 : int argvi = 0;
29470 0 : dXSARGS;
29471 :
29472 0 : if ((items < 2) || (items > 2)) {
29473 0 : SWIG_croak("Usage: mapObj_width_set(self,width);");
29474 : }
29475 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29476 0 : if (!SWIG_IsOK(res1)) {
29477 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_set" "', argument " "1"" of type '" "struct mapObj *""'");
29478 : }
29479 0 : arg1 = (struct mapObj *)(argp1);
29480 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29481 0 : if (!SWIG_IsOK(ecode2)) {
29482 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_width_set" "', argument " "2"" of type '" "int""'");
29483 : }
29484 : arg2 = (int)(val2);
29485 0 : if (arg1) (arg1)->width = arg2;
29486 0 : ST(argvi) = sv_newmortal();
29487 :
29488 :
29489 0 : XSRETURN(argvi);
29490 0 : fail:
29491 :
29492 :
29493 0 : SWIG_croak_null();
29494 : }
29495 : }
29496 :
29497 :
29498 0 : XS(_wrap_mapObj_width_get) {
29499 : {
29500 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29501 0 : void *argp1 = 0 ;
29502 : int res1 = 0 ;
29503 : int argvi = 0;
29504 : int result;
29505 0 : dXSARGS;
29506 :
29507 0 : if ((items < 1) || (items > 1)) {
29508 0 : SWIG_croak("Usage: mapObj_width_get(self);");
29509 : }
29510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29511 0 : if (!SWIG_IsOK(res1)) {
29512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_get" "', argument " "1"" of type '" "struct mapObj *""'");
29513 : }
29514 0 : arg1 = (struct mapObj *)(argp1);
29515 0 : result = (int) ((arg1)->width);
29516 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29517 :
29518 0 : XSRETURN(argvi);
29519 0 : fail:
29520 :
29521 0 : SWIG_croak_null();
29522 : }
29523 : }
29524 :
29525 :
29526 0 : XS(_wrap_mapObj_maxsize_set) {
29527 : {
29528 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29529 : int arg2 ;
29530 0 : void *argp1 = 0 ;
29531 : int res1 = 0 ;
29532 : int val2 ;
29533 : int ecode2 = 0 ;
29534 : int argvi = 0;
29535 0 : dXSARGS;
29536 :
29537 0 : if ((items < 2) || (items > 2)) {
29538 0 : SWIG_croak("Usage: mapObj_maxsize_set(self,maxsize);");
29539 : }
29540 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29541 0 : if (!SWIG_IsOK(res1)) {
29542 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
29543 : }
29544 0 : arg1 = (struct mapObj *)(argp1);
29545 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29546 0 : if (!SWIG_IsOK(ecode2)) {
29547 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_maxsize_set" "', argument " "2"" of type '" "int""'");
29548 : }
29549 : arg2 = (int)(val2);
29550 0 : if (arg1) (arg1)->maxsize = arg2;
29551 0 : ST(argvi) = sv_newmortal();
29552 :
29553 :
29554 0 : XSRETURN(argvi);
29555 0 : fail:
29556 :
29557 :
29558 0 : SWIG_croak_null();
29559 : }
29560 : }
29561 :
29562 :
29563 0 : XS(_wrap_mapObj_maxsize_get) {
29564 : {
29565 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29566 0 : void *argp1 = 0 ;
29567 : int res1 = 0 ;
29568 : int argvi = 0;
29569 : int result;
29570 0 : dXSARGS;
29571 :
29572 0 : if ((items < 1) || (items > 1)) {
29573 0 : SWIG_croak("Usage: mapObj_maxsize_get(self);");
29574 : }
29575 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29576 0 : if (!SWIG_IsOK(res1)) {
29577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
29578 : }
29579 0 : arg1 = (struct mapObj *)(argp1);
29580 0 : result = (int) ((arg1)->maxsize);
29581 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29582 :
29583 0 : XSRETURN(argvi);
29584 0 : fail:
29585 :
29586 0 : SWIG_croak_null();
29587 : }
29588 : }
29589 :
29590 :
29591 0 : XS(_wrap_mapObj_refcount_get) {
29592 : {
29593 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29594 0 : void *argp1 = 0 ;
29595 : int res1 = 0 ;
29596 : int argvi = 0;
29597 : int result;
29598 0 : dXSARGS;
29599 :
29600 0 : if ((items < 1) || (items > 1)) {
29601 0 : SWIG_croak("Usage: mapObj_refcount_get(self);");
29602 : }
29603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29604 0 : if (!SWIG_IsOK(res1)) {
29605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_refcount_get" "', argument " "1"" of type '" "struct mapObj *""'");
29606 : }
29607 0 : arg1 = (struct mapObj *)(argp1);
29608 0 : result = (int) ((arg1)->refcount);
29609 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29610 :
29611 0 : XSRETURN(argvi);
29612 0 : fail:
29613 :
29614 0 : SWIG_croak_null();
29615 : }
29616 : }
29617 :
29618 :
29619 0 : XS(_wrap_mapObj_numlayers_get) {
29620 : {
29621 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29622 0 : void *argp1 = 0 ;
29623 : int res1 = 0 ;
29624 : int argvi = 0;
29625 : int result;
29626 0 : dXSARGS;
29627 :
29628 0 : if ((items < 1) || (items > 1)) {
29629 0 : SWIG_croak("Usage: mapObj_numlayers_get(self);");
29630 : }
29631 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29632 0 : if (!SWIG_IsOK(res1)) {
29633 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29634 : }
29635 0 : arg1 = (struct mapObj *)(argp1);
29636 0 : result = (int) ((arg1)->numlayers);
29637 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29638 :
29639 0 : XSRETURN(argvi);
29640 0 : fail:
29641 :
29642 0 : SWIG_croak_null();
29643 : }
29644 : }
29645 :
29646 :
29647 0 : XS(_wrap_mapObj_maxlayers_get) {
29648 : {
29649 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29650 0 : void *argp1 = 0 ;
29651 : int res1 = 0 ;
29652 : int argvi = 0;
29653 : int result;
29654 0 : dXSARGS;
29655 :
29656 0 : if ((items < 1) || (items > 1)) {
29657 0 : SWIG_croak("Usage: mapObj_maxlayers_get(self);");
29658 : }
29659 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29660 0 : if (!SWIG_IsOK(res1)) {
29661 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29662 : }
29663 0 : arg1 = (struct mapObj *)(argp1);
29664 0 : result = (int) ((arg1)->maxlayers);
29665 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29666 :
29667 0 : XSRETURN(argvi);
29668 0 : fail:
29669 :
29670 0 : SWIG_croak_null();
29671 : }
29672 : }
29673 :
29674 :
29675 0 : XS(_wrap_mapObj_symbolset_get) {
29676 : {
29677 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29678 0 : void *argp1 = 0 ;
29679 : int res1 = 0 ;
29680 : int argvi = 0;
29681 : symbolSetObj *result = 0 ;
29682 0 : dXSARGS;
29683 :
29684 0 : if ((items < 1) || (items > 1)) {
29685 0 : SWIG_croak("Usage: mapObj_symbolset_get(self);");
29686 : }
29687 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29688 0 : if (!SWIG_IsOK(res1)) {
29689 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_symbolset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29690 : }
29691 0 : arg1 = (struct mapObj *)(argp1);
29692 0 : result = (symbolSetObj *)& ((arg1)->symbolset);
29693 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, 0 | SWIG_SHADOW); argvi++ ;
29694 :
29695 0 : XSRETURN(argvi);
29696 0 : fail:
29697 :
29698 0 : SWIG_croak_null();
29699 : }
29700 : }
29701 :
29702 :
29703 0 : XS(_wrap_mapObj_fontset_get) {
29704 : {
29705 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29706 0 : void *argp1 = 0 ;
29707 : int res1 = 0 ;
29708 : int argvi = 0;
29709 : fontSetObj *result = 0 ;
29710 0 : dXSARGS;
29711 :
29712 0 : if ((items < 1) || (items > 1)) {
29713 0 : SWIG_croak("Usage: mapObj_fontset_get(self);");
29714 : }
29715 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29716 0 : if (!SWIG_IsOK(res1)) {
29717 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_fontset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29718 : }
29719 0 : arg1 = (struct mapObj *)(argp1);
29720 0 : result = (fontSetObj *)& ((arg1)->fontset);
29721 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, 0 | SWIG_SHADOW); argvi++ ;
29722 :
29723 0 : XSRETURN(argvi);
29724 0 : fail:
29725 :
29726 0 : SWIG_croak_null();
29727 : }
29728 : }
29729 :
29730 :
29731 0 : XS(_wrap_mapObj_labelcache_get) {
29732 : {
29733 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29734 0 : void *argp1 = 0 ;
29735 : int res1 = 0 ;
29736 : int argvi = 0;
29737 : labelCacheObj *result = 0 ;
29738 0 : dXSARGS;
29739 :
29740 0 : if ((items < 1) || (items > 1)) {
29741 0 : SWIG_croak("Usage: mapObj_labelcache_get(self);");
29742 : }
29743 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29744 0 : if (!SWIG_IsOK(res1)) {
29745 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_labelcache_get" "', argument " "1"" of type '" "struct mapObj *""'");
29746 : }
29747 0 : arg1 = (struct mapObj *)(argp1);
29748 0 : result = (labelCacheObj *)& ((arg1)->labelcache);
29749 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, 0 | SWIG_SHADOW); argvi++ ;
29750 :
29751 0 : XSRETURN(argvi);
29752 0 : fail:
29753 :
29754 0 : SWIG_croak_null();
29755 : }
29756 : }
29757 :
29758 :
29759 0 : XS(_wrap_mapObj_transparent_set) {
29760 : {
29761 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29762 : int arg2 ;
29763 0 : void *argp1 = 0 ;
29764 : int res1 = 0 ;
29765 : int val2 ;
29766 : int ecode2 = 0 ;
29767 : int argvi = 0;
29768 0 : dXSARGS;
29769 :
29770 0 : if ((items < 2) || (items > 2)) {
29771 0 : SWIG_croak("Usage: mapObj_transparent_set(self,transparent);");
29772 : }
29773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29774 0 : if (!SWIG_IsOK(res1)) {
29775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29776 : }
29777 0 : arg1 = (struct mapObj *)(argp1);
29778 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29779 0 : if (!SWIG_IsOK(ecode2)) {
29780 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_transparent_set" "', argument " "2"" of type '" "int""'");
29781 : }
29782 : arg2 = (int)(val2);
29783 0 : if (arg1) (arg1)->transparent = arg2;
29784 0 : ST(argvi) = sv_newmortal();
29785 :
29786 :
29787 0 : XSRETURN(argvi);
29788 0 : fail:
29789 :
29790 :
29791 0 : SWIG_croak_null();
29792 : }
29793 : }
29794 :
29795 :
29796 0 : XS(_wrap_mapObj_transparent_get) {
29797 : {
29798 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29799 0 : void *argp1 = 0 ;
29800 : int res1 = 0 ;
29801 : int argvi = 0;
29802 : int result;
29803 0 : dXSARGS;
29804 :
29805 0 : if ((items < 1) || (items > 1)) {
29806 0 : SWIG_croak("Usage: mapObj_transparent_get(self);");
29807 : }
29808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29809 0 : if (!SWIG_IsOK(res1)) {
29810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_get" "', argument " "1"" of type '" "struct mapObj *""'");
29811 : }
29812 0 : arg1 = (struct mapObj *)(argp1);
29813 0 : result = (int) ((arg1)->transparent);
29814 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29815 :
29816 0 : XSRETURN(argvi);
29817 0 : fail:
29818 :
29819 0 : SWIG_croak_null();
29820 : }
29821 : }
29822 :
29823 :
29824 0 : XS(_wrap_mapObj_interlace_set) {
29825 : {
29826 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29827 : int arg2 ;
29828 0 : void *argp1 = 0 ;
29829 : int res1 = 0 ;
29830 : int val2 ;
29831 : int ecode2 = 0 ;
29832 : int argvi = 0;
29833 0 : dXSARGS;
29834 :
29835 0 : if ((items < 2) || (items > 2)) {
29836 0 : SWIG_croak("Usage: mapObj_interlace_set(self,interlace);");
29837 : }
29838 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29839 0 : if (!SWIG_IsOK(res1)) {
29840 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_set" "', argument " "1"" of type '" "struct mapObj *""'");
29841 : }
29842 0 : arg1 = (struct mapObj *)(argp1);
29843 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29844 0 : if (!SWIG_IsOK(ecode2)) {
29845 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_interlace_set" "', argument " "2"" of type '" "int""'");
29846 : }
29847 : arg2 = (int)(val2);
29848 0 : if (arg1) (arg1)->interlace = arg2;
29849 0 : ST(argvi) = sv_newmortal();
29850 :
29851 :
29852 0 : XSRETURN(argvi);
29853 0 : fail:
29854 :
29855 :
29856 0 : SWIG_croak_null();
29857 : }
29858 : }
29859 :
29860 :
29861 0 : XS(_wrap_mapObj_interlace_get) {
29862 : {
29863 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29864 0 : void *argp1 = 0 ;
29865 : int res1 = 0 ;
29866 : int argvi = 0;
29867 : int result;
29868 0 : dXSARGS;
29869 :
29870 0 : if ((items < 1) || (items > 1)) {
29871 0 : SWIG_croak("Usage: mapObj_interlace_get(self);");
29872 : }
29873 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29874 0 : if (!SWIG_IsOK(res1)) {
29875 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_get" "', argument " "1"" of type '" "struct mapObj *""'");
29876 : }
29877 0 : arg1 = (struct mapObj *)(argp1);
29878 0 : result = (int) ((arg1)->interlace);
29879 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29880 :
29881 0 : XSRETURN(argvi);
29882 0 : fail:
29883 :
29884 0 : SWIG_croak_null();
29885 : }
29886 : }
29887 :
29888 :
29889 0 : XS(_wrap_mapObj_imagequality_set) {
29890 : {
29891 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29892 : int arg2 ;
29893 0 : void *argp1 = 0 ;
29894 : int res1 = 0 ;
29895 : int val2 ;
29896 : int ecode2 = 0 ;
29897 : int argvi = 0;
29898 0 : dXSARGS;
29899 :
29900 0 : if ((items < 2) || (items > 2)) {
29901 0 : SWIG_croak("Usage: mapObj_imagequality_set(self,imagequality);");
29902 : }
29903 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29904 0 : if (!SWIG_IsOK(res1)) {
29905 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_set" "', argument " "1"" of type '" "struct mapObj *""'");
29906 : }
29907 0 : arg1 = (struct mapObj *)(argp1);
29908 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29909 0 : if (!SWIG_IsOK(ecode2)) {
29910 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_imagequality_set" "', argument " "2"" of type '" "int""'");
29911 : }
29912 : arg2 = (int)(val2);
29913 0 : if (arg1) (arg1)->imagequality = arg2;
29914 0 : ST(argvi) = sv_newmortal();
29915 :
29916 :
29917 0 : XSRETURN(argvi);
29918 0 : fail:
29919 :
29920 :
29921 0 : SWIG_croak_null();
29922 : }
29923 : }
29924 :
29925 :
29926 0 : XS(_wrap_mapObj_imagequality_get) {
29927 : {
29928 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29929 0 : void *argp1 = 0 ;
29930 : int res1 = 0 ;
29931 : int argvi = 0;
29932 : int result;
29933 0 : dXSARGS;
29934 :
29935 0 : if ((items < 1) || (items > 1)) {
29936 0 : SWIG_croak("Usage: mapObj_imagequality_get(self);");
29937 : }
29938 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29939 0 : if (!SWIG_IsOK(res1)) {
29940 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_get" "', argument " "1"" of type '" "struct mapObj *""'");
29941 : }
29942 0 : arg1 = (struct mapObj *)(argp1);
29943 0 : result = (int) ((arg1)->imagequality);
29944 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29945 :
29946 0 : XSRETURN(argvi);
29947 0 : fail:
29948 :
29949 0 : SWIG_croak_null();
29950 : }
29951 : }
29952 :
29953 :
29954 0 : XS(_wrap_mapObj_extent_set) {
29955 : {
29956 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29957 : rectObj *arg2 = (rectObj *) 0 ;
29958 0 : void *argp1 = 0 ;
29959 : int res1 = 0 ;
29960 0 : void *argp2 = 0 ;
29961 : int res2 = 0 ;
29962 : int argvi = 0;
29963 0 : dXSARGS;
29964 :
29965 0 : if ((items < 2) || (items > 2)) {
29966 0 : SWIG_croak("Usage: mapObj_extent_set(self,extent);");
29967 : }
29968 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29969 0 : if (!SWIG_IsOK(res1)) {
29970 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29971 : }
29972 0 : arg1 = (struct mapObj *)(argp1);
29973 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
29974 0 : if (!SWIG_IsOK(res2)) {
29975 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
29976 : }
29977 0 : arg2 = (rectObj *)(argp2);
29978 0 : if (arg1) (arg1)->extent = *arg2;
29979 0 : ST(argvi) = sv_newmortal();
29980 :
29981 :
29982 0 : XSRETURN(argvi);
29983 0 : fail:
29984 :
29985 :
29986 0 : SWIG_croak_null();
29987 : }
29988 : }
29989 :
29990 :
29991 0 : XS(_wrap_mapObj_extent_get) {
29992 : {
29993 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29994 0 : void *argp1 = 0 ;
29995 : int res1 = 0 ;
29996 : int argvi = 0;
29997 : rectObj *result = 0 ;
29998 0 : dXSARGS;
29999 :
30000 0 : if ((items < 1) || (items > 1)) {
30001 0 : SWIG_croak("Usage: mapObj_extent_get(self);");
30002 : }
30003 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30004 0 : if (!SWIG_IsOK(res1)) {
30005 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_get" "', argument " "1"" of type '" "struct mapObj *""'");
30006 : }
30007 0 : arg1 = (struct mapObj *)(argp1);
30008 0 : result = (rectObj *)& ((arg1)->extent);
30009 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
30010 :
30011 0 : XSRETURN(argvi);
30012 0 : fail:
30013 :
30014 0 : SWIG_croak_null();
30015 : }
30016 : }
30017 :
30018 :
30019 0 : XS(_wrap_mapObj_cellsize_set) {
30020 : {
30021 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30022 : double arg2 ;
30023 0 : void *argp1 = 0 ;
30024 : int res1 = 0 ;
30025 : double val2 ;
30026 : int ecode2 = 0 ;
30027 : int argvi = 0;
30028 0 : dXSARGS;
30029 :
30030 0 : if ((items < 2) || (items > 2)) {
30031 0 : SWIG_croak("Usage: mapObj_cellsize_set(self,cellsize);");
30032 : }
30033 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30034 0 : if (!SWIG_IsOK(res1)) {
30035 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
30036 : }
30037 0 : arg1 = (struct mapObj *)(argp1);
30038 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30039 0 : if (!SWIG_IsOK(ecode2)) {
30040 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_cellsize_set" "', argument " "2"" of type '" "double""'");
30041 : }
30042 0 : arg2 = (double)(val2);
30043 0 : if (arg1) (arg1)->cellsize = arg2;
30044 0 : ST(argvi) = sv_newmortal();
30045 :
30046 :
30047 0 : XSRETURN(argvi);
30048 0 : fail:
30049 :
30050 :
30051 0 : SWIG_croak_null();
30052 : }
30053 : }
30054 :
30055 :
30056 0 : XS(_wrap_mapObj_cellsize_get) {
30057 : {
30058 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30059 0 : void *argp1 = 0 ;
30060 : int res1 = 0 ;
30061 : int argvi = 0;
30062 : double result;
30063 0 : dXSARGS;
30064 :
30065 0 : if ((items < 1) || (items > 1)) {
30066 0 : SWIG_croak("Usage: mapObj_cellsize_get(self);");
30067 : }
30068 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30069 0 : if (!SWIG_IsOK(res1)) {
30070 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
30071 : }
30072 0 : arg1 = (struct mapObj *)(argp1);
30073 0 : result = (double) ((arg1)->cellsize);
30074 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30075 :
30076 0 : XSRETURN(argvi);
30077 0 : fail:
30078 :
30079 0 : SWIG_croak_null();
30080 : }
30081 : }
30082 :
30083 :
30084 0 : XS(_wrap_mapObj_units_set) {
30085 : {
30086 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30087 : enum MS_UNITS arg2 ;
30088 0 : void *argp1 = 0 ;
30089 : int res1 = 0 ;
30090 : int val2 ;
30091 : int ecode2 = 0 ;
30092 : int argvi = 0;
30093 0 : dXSARGS;
30094 :
30095 0 : if ((items < 2) || (items > 2)) {
30096 0 : SWIG_croak("Usage: mapObj_units_set(self,units);");
30097 : }
30098 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30099 0 : if (!SWIG_IsOK(res1)) {
30100 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_set" "', argument " "1"" of type '" "struct mapObj *""'");
30101 : }
30102 0 : arg1 = (struct mapObj *)(argp1);
30103 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30104 0 : if (!SWIG_IsOK(ecode2)) {
30105 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_units_set" "', argument " "2"" of type '" "enum MS_UNITS""'");
30106 : }
30107 : arg2 = (enum MS_UNITS)(val2);
30108 0 : if (arg1) (arg1)->units = arg2;
30109 0 : ST(argvi) = sv_newmortal();
30110 :
30111 :
30112 0 : XSRETURN(argvi);
30113 0 : fail:
30114 :
30115 :
30116 0 : SWIG_croak_null();
30117 : }
30118 : }
30119 :
30120 :
30121 0 : XS(_wrap_mapObj_units_get) {
30122 : {
30123 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30124 0 : void *argp1 = 0 ;
30125 : int res1 = 0 ;
30126 : int argvi = 0;
30127 : enum MS_UNITS result;
30128 0 : dXSARGS;
30129 :
30130 0 : if ((items < 1) || (items > 1)) {
30131 0 : SWIG_croak("Usage: mapObj_units_get(self);");
30132 : }
30133 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30134 0 : if (!SWIG_IsOK(res1)) {
30135 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_get" "', argument " "1"" of type '" "struct mapObj *""'");
30136 : }
30137 0 : arg1 = (struct mapObj *)(argp1);
30138 0 : result = (enum MS_UNITS) ((arg1)->units);
30139 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30140 :
30141 0 : XSRETURN(argvi);
30142 0 : fail:
30143 :
30144 0 : SWIG_croak_null();
30145 : }
30146 : }
30147 :
30148 :
30149 0 : XS(_wrap_mapObj_scaledenom_set) {
30150 : {
30151 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30152 : double arg2 ;
30153 0 : void *argp1 = 0 ;
30154 : int res1 = 0 ;
30155 : double val2 ;
30156 : int ecode2 = 0 ;
30157 : int argvi = 0;
30158 0 : dXSARGS;
30159 :
30160 0 : if ((items < 2) || (items > 2)) {
30161 0 : SWIG_croak("Usage: mapObj_scaledenom_set(self,scaledenom);");
30162 : }
30163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30164 0 : if (!SWIG_IsOK(res1)) {
30165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_set" "', argument " "1"" of type '" "struct mapObj *""'");
30166 : }
30167 0 : arg1 = (struct mapObj *)(argp1);
30168 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30169 0 : if (!SWIG_IsOK(ecode2)) {
30170 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaledenom_set" "', argument " "2"" of type '" "double""'");
30171 : }
30172 0 : arg2 = (double)(val2);
30173 0 : if (arg1) (arg1)->scaledenom = arg2;
30174 0 : ST(argvi) = sv_newmortal();
30175 :
30176 :
30177 0 : XSRETURN(argvi);
30178 0 : fail:
30179 :
30180 :
30181 0 : SWIG_croak_null();
30182 : }
30183 : }
30184 :
30185 :
30186 0 : XS(_wrap_mapObj_scaledenom_get) {
30187 : {
30188 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30189 0 : void *argp1 = 0 ;
30190 : int res1 = 0 ;
30191 : int argvi = 0;
30192 : double result;
30193 0 : dXSARGS;
30194 :
30195 0 : if ((items < 1) || (items > 1)) {
30196 0 : SWIG_croak("Usage: mapObj_scaledenom_get(self);");
30197 : }
30198 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30199 0 : if (!SWIG_IsOK(res1)) {
30200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_get" "', argument " "1"" of type '" "struct mapObj *""'");
30201 : }
30202 0 : arg1 = (struct mapObj *)(argp1);
30203 0 : result = (double) ((arg1)->scaledenom);
30204 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30205 :
30206 0 : XSRETURN(argvi);
30207 0 : fail:
30208 :
30209 0 : SWIG_croak_null();
30210 : }
30211 : }
30212 :
30213 :
30214 0 : XS(_wrap_mapObj_resolution_set) {
30215 : {
30216 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30217 : double arg2 ;
30218 0 : void *argp1 = 0 ;
30219 : int res1 = 0 ;
30220 : double val2 ;
30221 : int ecode2 = 0 ;
30222 : int argvi = 0;
30223 0 : dXSARGS;
30224 :
30225 0 : if ((items < 2) || (items > 2)) {
30226 0 : SWIG_croak("Usage: mapObj_resolution_set(self,resolution);");
30227 : }
30228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30229 0 : if (!SWIG_IsOK(res1)) {
30230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
30231 : }
30232 0 : arg1 = (struct mapObj *)(argp1);
30233 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30234 0 : if (!SWIG_IsOK(ecode2)) {
30235 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_resolution_set" "', argument " "2"" of type '" "double""'");
30236 : }
30237 0 : arg2 = (double)(val2);
30238 0 : if (arg1) (arg1)->resolution = arg2;
30239 0 : ST(argvi) = sv_newmortal();
30240 :
30241 :
30242 0 : XSRETURN(argvi);
30243 0 : fail:
30244 :
30245 :
30246 0 : SWIG_croak_null();
30247 : }
30248 : }
30249 :
30250 :
30251 0 : XS(_wrap_mapObj_resolution_get) {
30252 : {
30253 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30254 0 : void *argp1 = 0 ;
30255 : int res1 = 0 ;
30256 : int argvi = 0;
30257 : double result;
30258 0 : dXSARGS;
30259 :
30260 0 : if ((items < 1) || (items > 1)) {
30261 0 : SWIG_croak("Usage: mapObj_resolution_get(self);");
30262 : }
30263 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30264 0 : if (!SWIG_IsOK(res1)) {
30265 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30266 : }
30267 0 : arg1 = (struct mapObj *)(argp1);
30268 0 : result = (double) ((arg1)->resolution);
30269 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30270 :
30271 0 : XSRETURN(argvi);
30272 0 : fail:
30273 :
30274 0 : SWIG_croak_null();
30275 : }
30276 : }
30277 :
30278 :
30279 0 : XS(_wrap_mapObj_defresolution_set) {
30280 : {
30281 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30282 : double arg2 ;
30283 0 : void *argp1 = 0 ;
30284 : int res1 = 0 ;
30285 : double val2 ;
30286 : int ecode2 = 0 ;
30287 : int argvi = 0;
30288 0 : dXSARGS;
30289 :
30290 0 : if ((items < 2) || (items > 2)) {
30291 0 : SWIG_croak("Usage: mapObj_defresolution_set(self,defresolution);");
30292 : }
30293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30294 0 : if (!SWIG_IsOK(res1)) {
30295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
30296 : }
30297 0 : arg1 = (struct mapObj *)(argp1);
30298 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30299 0 : if (!SWIG_IsOK(ecode2)) {
30300 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_defresolution_set" "', argument " "2"" of type '" "double""'");
30301 : }
30302 0 : arg2 = (double)(val2);
30303 0 : if (arg1) (arg1)->defresolution = arg2;
30304 0 : ST(argvi) = sv_newmortal();
30305 :
30306 :
30307 0 : XSRETURN(argvi);
30308 0 : fail:
30309 :
30310 :
30311 0 : SWIG_croak_null();
30312 : }
30313 : }
30314 :
30315 :
30316 0 : XS(_wrap_mapObj_defresolution_get) {
30317 : {
30318 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30319 0 : void *argp1 = 0 ;
30320 : int res1 = 0 ;
30321 : int argvi = 0;
30322 : double result;
30323 0 : dXSARGS;
30324 :
30325 0 : if ((items < 1) || (items > 1)) {
30326 0 : SWIG_croak("Usage: mapObj_defresolution_get(self);");
30327 : }
30328 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30329 0 : if (!SWIG_IsOK(res1)) {
30330 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30331 : }
30332 0 : arg1 = (struct mapObj *)(argp1);
30333 0 : result = (double) ((arg1)->defresolution);
30334 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30335 :
30336 0 : XSRETURN(argvi);
30337 0 : fail:
30338 :
30339 0 : SWIG_croak_null();
30340 : }
30341 : }
30342 :
30343 :
30344 0 : XS(_wrap_mapObj_shapepath_set) {
30345 : {
30346 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30347 : char *arg2 = (char *) 0 ;
30348 0 : void *argp1 = 0 ;
30349 : int res1 = 0 ;
30350 : int res2 ;
30351 0 : char *buf2 = 0 ;
30352 0 : int alloc2 = 0 ;
30353 : int argvi = 0;
30354 0 : dXSARGS;
30355 :
30356 0 : if ((items < 2) || (items > 2)) {
30357 0 : SWIG_croak("Usage: mapObj_shapepath_set(self,shapepath);");
30358 : }
30359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30360 0 : if (!SWIG_IsOK(res1)) {
30361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30362 : }
30363 0 : arg1 = (struct mapObj *)(argp1);
30364 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30365 0 : if (!SWIG_IsOK(res2)) {
30366 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_shapepath_set" "', argument " "2"" of type '" "char *""'");
30367 : }
30368 0 : arg2 = (char *)(buf2);
30369 : {
30370 0 : if (arg1->shapepath) free((char*)arg1->shapepath);
30371 0 : if (arg2) {
30372 0 : arg1->shapepath = (char *) malloc(strlen(arg2)+1);
30373 : strcpy((char*)arg1->shapepath,arg2);
30374 : } else {
30375 0 : arg1->shapepath = 0;
30376 : }
30377 : }
30378 0 : ST(argvi) = sv_newmortal();
30379 :
30380 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30381 0 : XSRETURN(argvi);
30382 0 : fail:
30383 :
30384 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30385 0 : SWIG_croak_null();
30386 : }
30387 : }
30388 :
30389 :
30390 0 : XS(_wrap_mapObj_shapepath_get) {
30391 : {
30392 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30393 0 : void *argp1 = 0 ;
30394 : int res1 = 0 ;
30395 : int argvi = 0;
30396 : char *result = 0 ;
30397 0 : dXSARGS;
30398 :
30399 0 : if ((items < 1) || (items > 1)) {
30400 0 : SWIG_croak("Usage: mapObj_shapepath_get(self);");
30401 : }
30402 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30403 0 : if (!SWIG_IsOK(res1)) {
30404 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30405 : }
30406 0 : arg1 = (struct mapObj *)(argp1);
30407 0 : result = (char *) ((arg1)->shapepath);
30408 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30409 :
30410 0 : XSRETURN(argvi);
30411 0 : fail:
30412 :
30413 0 : SWIG_croak_null();
30414 : }
30415 : }
30416 :
30417 :
30418 0 : XS(_wrap_mapObj_mappath_set) {
30419 : {
30420 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30421 : char *arg2 = (char *) 0 ;
30422 0 : void *argp1 = 0 ;
30423 : int res1 = 0 ;
30424 : int res2 ;
30425 0 : char *buf2 = 0 ;
30426 0 : int alloc2 = 0 ;
30427 : int argvi = 0;
30428 0 : dXSARGS;
30429 :
30430 0 : if ((items < 2) || (items > 2)) {
30431 0 : SWIG_croak("Usage: mapObj_mappath_set(self,mappath);");
30432 : }
30433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30434 0 : if (!SWIG_IsOK(res1)) {
30435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30436 : }
30437 0 : arg1 = (struct mapObj *)(argp1);
30438 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30439 0 : if (!SWIG_IsOK(res2)) {
30440 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_mappath_set" "', argument " "2"" of type '" "char *""'");
30441 : }
30442 0 : arg2 = (char *)(buf2);
30443 : {
30444 0 : if (arg1->mappath) free((char*)arg1->mappath);
30445 0 : if (arg2) {
30446 0 : arg1->mappath = (char *) malloc(strlen(arg2)+1);
30447 : strcpy((char*)arg1->mappath,arg2);
30448 : } else {
30449 0 : arg1->mappath = 0;
30450 : }
30451 : }
30452 0 : ST(argvi) = sv_newmortal();
30453 :
30454 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30455 0 : XSRETURN(argvi);
30456 0 : fail:
30457 :
30458 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30459 0 : SWIG_croak_null();
30460 : }
30461 : }
30462 :
30463 :
30464 0 : XS(_wrap_mapObj_mappath_get) {
30465 : {
30466 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30467 0 : void *argp1 = 0 ;
30468 : int res1 = 0 ;
30469 : int argvi = 0;
30470 : char *result = 0 ;
30471 0 : dXSARGS;
30472 :
30473 0 : if ((items < 1) || (items > 1)) {
30474 0 : SWIG_croak("Usage: mapObj_mappath_get(self);");
30475 : }
30476 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30477 0 : if (!SWIG_IsOK(res1)) {
30478 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30479 : }
30480 0 : arg1 = (struct mapObj *)(argp1);
30481 0 : result = (char *) ((arg1)->mappath);
30482 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30483 :
30484 0 : XSRETURN(argvi);
30485 0 : fail:
30486 :
30487 0 : SWIG_croak_null();
30488 : }
30489 : }
30490 :
30491 :
30492 0 : XS(_wrap_mapObj_sldurl_set) {
30493 : {
30494 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30495 : char *arg2 = (char *) 0 ;
30496 0 : void *argp1 = 0 ;
30497 : int res1 = 0 ;
30498 : int res2 ;
30499 0 : char *buf2 = 0 ;
30500 0 : int alloc2 = 0 ;
30501 : int argvi = 0;
30502 0 : dXSARGS;
30503 :
30504 0 : if ((items < 2) || (items > 2)) {
30505 0 : SWIG_croak("Usage: mapObj_sldurl_set(self,sldurl);");
30506 : }
30507 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30508 0 : if (!SWIG_IsOK(res1)) {
30509 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_sldurl_set" "', argument " "1"" of type '" "struct mapObj *""'");
30510 : }
30511 0 : arg1 = (struct mapObj *)(argp1);
30512 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30513 0 : if (!SWIG_IsOK(res2)) {
30514 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_sldurl_set" "', argument " "2"" of type '" "char *""'");
30515 : }
30516 0 : arg2 = (char *)(buf2);
30517 : {
30518 0 : if (arg1->sldurl) free((char*)arg1->sldurl);
30519 0 : if (arg2) {
30520 0 : arg1->sldurl = (char *) malloc(strlen(arg2)+1);
30521 : strcpy((char*)arg1->sldurl,arg2);
30522 : } else {
30523 0 : arg1->sldurl = 0;
30524 : }
30525 : }
30526 0 : ST(argvi) = sv_newmortal();
30527 :
30528 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30529 0 : XSRETURN(argvi);
30530 0 : fail:
30531 :
30532 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30533 0 : SWIG_croak_null();
30534 : }
30535 : }
30536 :
30537 :
30538 0 : XS(_wrap_mapObj_sldurl_get) {
30539 : {
30540 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30541 0 : void *argp1 = 0 ;
30542 : int res1 = 0 ;
30543 : int argvi = 0;
30544 : char *result = 0 ;
30545 0 : dXSARGS;
30546 :
30547 0 : if ((items < 1) || (items > 1)) {
30548 0 : SWIG_croak("Usage: mapObj_sldurl_get(self);");
30549 : }
30550 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30551 0 : if (!SWIG_IsOK(res1)) {
30552 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_sldurl_get" "', argument " "1"" of type '" "struct mapObj *""'");
30553 : }
30554 0 : arg1 = (struct mapObj *)(argp1);
30555 0 : result = (char *) ((arg1)->sldurl);
30556 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30557 :
30558 0 : XSRETURN(argvi);
30559 0 : fail:
30560 :
30561 0 : SWIG_croak_null();
30562 : }
30563 : }
30564 :
30565 :
30566 0 : XS(_wrap_mapObj_imagecolor_set) {
30567 : {
30568 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30569 : colorObj *arg2 = (colorObj *) 0 ;
30570 0 : void *argp1 = 0 ;
30571 : int res1 = 0 ;
30572 0 : void *argp2 = 0 ;
30573 : int res2 = 0 ;
30574 : int argvi = 0;
30575 0 : dXSARGS;
30576 :
30577 0 : if ((items < 2) || (items > 2)) {
30578 0 : SWIG_croak("Usage: mapObj_imagecolor_set(self,imagecolor);");
30579 : }
30580 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30581 0 : if (!SWIG_IsOK(res1)) {
30582 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_set" "', argument " "1"" of type '" "struct mapObj *""'");
30583 : }
30584 0 : arg1 = (struct mapObj *)(argp1);
30585 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
30586 0 : if (!SWIG_IsOK(res2)) {
30587 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
30588 : }
30589 0 : arg2 = (colorObj *)(argp2);
30590 0 : if (arg1) (arg1)->imagecolor = *arg2;
30591 0 : ST(argvi) = sv_newmortal();
30592 :
30593 :
30594 0 : XSRETURN(argvi);
30595 0 : fail:
30596 :
30597 :
30598 0 : SWIG_croak_null();
30599 : }
30600 : }
30601 :
30602 :
30603 0 : XS(_wrap_mapObj_imagecolor_get) {
30604 : {
30605 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30606 0 : void *argp1 = 0 ;
30607 : int res1 = 0 ;
30608 : int argvi = 0;
30609 : colorObj *result = 0 ;
30610 0 : dXSARGS;
30611 :
30612 0 : if ((items < 1) || (items > 1)) {
30613 0 : SWIG_croak("Usage: mapObj_imagecolor_get(self);");
30614 : }
30615 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30616 0 : if (!SWIG_IsOK(res1)) {
30617 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_get" "', argument " "1"" of type '" "struct mapObj *""'");
30618 : }
30619 0 : arg1 = (struct mapObj *)(argp1);
30620 0 : result = (colorObj *)& ((arg1)->imagecolor);
30621 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
30622 :
30623 0 : XSRETURN(argvi);
30624 0 : fail:
30625 :
30626 0 : SWIG_croak_null();
30627 : }
30628 : }
30629 :
30630 :
30631 0 : XS(_wrap_mapObj_numoutputformats_get) {
30632 : {
30633 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30634 0 : void *argp1 = 0 ;
30635 : int res1 = 0 ;
30636 : int argvi = 0;
30637 : int result;
30638 0 : dXSARGS;
30639 :
30640 0 : if ((items < 1) || (items > 1)) {
30641 0 : SWIG_croak("Usage: mapObj_numoutputformats_get(self);");
30642 : }
30643 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30644 0 : if (!SWIG_IsOK(res1)) {
30645 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numoutputformats_get" "', argument " "1"" of type '" "struct mapObj *""'");
30646 : }
30647 0 : arg1 = (struct mapObj *)(argp1);
30648 0 : result = (int) ((arg1)->numoutputformats);
30649 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30650 :
30651 0 : XSRETURN(argvi);
30652 0 : fail:
30653 :
30654 0 : SWIG_croak_null();
30655 : }
30656 : }
30657 :
30658 :
30659 0 : XS(_wrap_mapObj_outputformat_get) {
30660 : {
30661 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30662 0 : void *argp1 = 0 ;
30663 : int res1 = 0 ;
30664 : int argvi = 0;
30665 : outputFormatObj *result = 0 ;
30666 0 : dXSARGS;
30667 :
30668 0 : if ((items < 1) || (items > 1)) {
30669 0 : SWIG_croak("Usage: mapObj_outputformat_get(self);");
30670 : }
30671 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30672 0 : if (!SWIG_IsOK(res1)) {
30673 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_outputformat_get" "', argument " "1"" of type '" "struct mapObj *""'");
30674 : }
30675 0 : arg1 = (struct mapObj *)(argp1);
30676 0 : result = (outputFormatObj *) ((arg1)->outputformat);
30677 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
30678 :
30679 0 : XSRETURN(argvi);
30680 0 : fail:
30681 :
30682 0 : SWIG_croak_null();
30683 : }
30684 : }
30685 :
30686 :
30687 0 : XS(_wrap_mapObj_imagetype_get) {
30688 : {
30689 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30690 0 : void *argp1 = 0 ;
30691 : int res1 = 0 ;
30692 : int argvi = 0;
30693 : char *result = 0 ;
30694 0 : dXSARGS;
30695 :
30696 0 : if ((items < 1) || (items > 1)) {
30697 0 : SWIG_croak("Usage: mapObj_imagetype_get(self);");
30698 : }
30699 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30700 0 : if (!SWIG_IsOK(res1)) {
30701 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagetype_get" "', argument " "1"" of type '" "struct mapObj *""'");
30702 : }
30703 0 : arg1 = (struct mapObj *)(argp1);
30704 0 : result = (char *) ((arg1)->imagetype);
30705 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30706 :
30707 0 : XSRETURN(argvi);
30708 0 : fail:
30709 :
30710 0 : SWIG_croak_null();
30711 : }
30712 : }
30713 :
30714 :
30715 0 : XS(_wrap_mapObj_reference_get) {
30716 : {
30717 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30718 0 : void *argp1 = 0 ;
30719 : int res1 = 0 ;
30720 : int argvi = 0;
30721 : referenceMapObj *result = 0 ;
30722 0 : dXSARGS;
30723 :
30724 0 : if ((items < 1) || (items > 1)) {
30725 0 : SWIG_croak("Usage: mapObj_reference_get(self);");
30726 : }
30727 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30728 0 : if (!SWIG_IsOK(res1)) {
30729 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_reference_get" "', argument " "1"" of type '" "struct mapObj *""'");
30730 : }
30731 0 : arg1 = (struct mapObj *)(argp1);
30732 0 : result = (referenceMapObj *)& ((arg1)->reference);
30733 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, 0 | SWIG_SHADOW); argvi++ ;
30734 :
30735 0 : XSRETURN(argvi);
30736 0 : fail:
30737 :
30738 0 : SWIG_croak_null();
30739 : }
30740 : }
30741 :
30742 :
30743 0 : XS(_wrap_mapObj_scalebar_get) {
30744 : {
30745 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30746 0 : void *argp1 = 0 ;
30747 : int res1 = 0 ;
30748 : int argvi = 0;
30749 : scalebarObj *result = 0 ;
30750 0 : dXSARGS;
30751 :
30752 0 : if ((items < 1) || (items > 1)) {
30753 0 : SWIG_croak("Usage: mapObj_scalebar_get(self);");
30754 : }
30755 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30756 0 : if (!SWIG_IsOK(res1)) {
30757 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scalebar_get" "', argument " "1"" of type '" "struct mapObj *""'");
30758 : }
30759 0 : arg1 = (struct mapObj *)(argp1);
30760 0 : result = (scalebarObj *)& ((arg1)->scalebar);
30761 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, 0 | SWIG_SHADOW); argvi++ ;
30762 :
30763 0 : XSRETURN(argvi);
30764 0 : fail:
30765 :
30766 0 : SWIG_croak_null();
30767 : }
30768 : }
30769 :
30770 :
30771 0 : XS(_wrap_mapObj_legend_get) {
30772 : {
30773 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30774 0 : void *argp1 = 0 ;
30775 : int res1 = 0 ;
30776 : int argvi = 0;
30777 : legendObj *result = 0 ;
30778 0 : dXSARGS;
30779 :
30780 0 : if ((items < 1) || (items > 1)) {
30781 0 : SWIG_croak("Usage: mapObj_legend_get(self);");
30782 : }
30783 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30784 0 : if (!SWIG_IsOK(res1)) {
30785 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_legend_get" "', argument " "1"" of type '" "struct mapObj *""'");
30786 : }
30787 0 : arg1 = (struct mapObj *)(argp1);
30788 0 : result = (legendObj *)& ((arg1)->legend);
30789 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, 0 | SWIG_SHADOW); argvi++ ;
30790 :
30791 0 : XSRETURN(argvi);
30792 0 : fail:
30793 :
30794 0 : SWIG_croak_null();
30795 : }
30796 : }
30797 :
30798 :
30799 0 : XS(_wrap_mapObj_querymap_get) {
30800 : {
30801 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30802 0 : void *argp1 = 0 ;
30803 : int res1 = 0 ;
30804 : int argvi = 0;
30805 : queryMapObj *result = 0 ;
30806 0 : dXSARGS;
30807 :
30808 0 : if ((items < 1) || (items > 1)) {
30809 0 : SWIG_croak("Usage: mapObj_querymap_get(self);");
30810 : }
30811 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30812 0 : if (!SWIG_IsOK(res1)) {
30813 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_querymap_get" "', argument " "1"" of type '" "struct mapObj *""'");
30814 : }
30815 0 : arg1 = (struct mapObj *)(argp1);
30816 0 : result = (queryMapObj *)& ((arg1)->querymap);
30817 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, 0 | SWIG_SHADOW); argvi++ ;
30818 :
30819 0 : XSRETURN(argvi);
30820 0 : fail:
30821 :
30822 0 : SWIG_croak_null();
30823 : }
30824 : }
30825 :
30826 :
30827 0 : XS(_wrap_mapObj_web_get) {
30828 : {
30829 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30830 0 : void *argp1 = 0 ;
30831 : int res1 = 0 ;
30832 : int argvi = 0;
30833 : webObj *result = 0 ;
30834 0 : dXSARGS;
30835 :
30836 0 : if ((items < 1) || (items > 1)) {
30837 0 : SWIG_croak("Usage: mapObj_web_get(self);");
30838 : }
30839 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30840 0 : if (!SWIG_IsOK(res1)) {
30841 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_web_get" "', argument " "1"" of type '" "struct mapObj *""'");
30842 : }
30843 0 : arg1 = (struct mapObj *)(argp1);
30844 0 : result = (webObj *)& ((arg1)->web);
30845 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, 0 | SWIG_SHADOW); argvi++ ;
30846 :
30847 0 : XSRETURN(argvi);
30848 0 : fail:
30849 :
30850 0 : SWIG_croak_null();
30851 : }
30852 : }
30853 :
30854 :
30855 0 : XS(_wrap_mapObj_layerorder_set) {
30856 : {
30857 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30858 : int *arg2 = (int *) 0 ;
30859 0 : void *argp1 = 0 ;
30860 : int res1 = 0 ;
30861 0 : void *argp2 = 0 ;
30862 : int res2 = 0 ;
30863 : int argvi = 0;
30864 0 : dXSARGS;
30865 :
30866 0 : if ((items < 2) || (items > 2)) {
30867 0 : SWIG_croak("Usage: mapObj_layerorder_set(self,layerorder);");
30868 : }
30869 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30870 0 : if (!SWIG_IsOK(res1)) {
30871 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_set" "', argument " "1"" of type '" "struct mapObj *""'");
30872 : }
30873 0 : arg1 = (struct mapObj *)(argp1);
30874 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
30875 0 : if (!SWIG_IsOK(res2)) {
30876 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_layerorder_set" "', argument " "2"" of type '" "int *""'");
30877 : }
30878 0 : arg2 = (int *)(argp2);
30879 0 : if (arg1) (arg1)->layerorder = arg2;
30880 0 : ST(argvi) = sv_newmortal();
30881 :
30882 :
30883 0 : XSRETURN(argvi);
30884 0 : fail:
30885 :
30886 :
30887 0 : SWIG_croak_null();
30888 : }
30889 : }
30890 :
30891 :
30892 0 : XS(_wrap_mapObj_layerorder_get) {
30893 : {
30894 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30895 0 : void *argp1 = 0 ;
30896 : int res1 = 0 ;
30897 : int argvi = 0;
30898 : int *result = 0 ;
30899 0 : dXSARGS;
30900 :
30901 0 : if ((items < 1) || (items > 1)) {
30902 0 : SWIG_croak("Usage: mapObj_layerorder_get(self);");
30903 : }
30904 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30905 0 : if (!SWIG_IsOK(res1)) {
30906 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_get" "', argument " "1"" of type '" "struct mapObj *""'");
30907 : }
30908 0 : arg1 = (struct mapObj *)(argp1);
30909 0 : result = (int *) ((arg1)->layerorder);
30910 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
30911 :
30912 0 : XSRETURN(argvi);
30913 0 : fail:
30914 :
30915 0 : SWIG_croak_null();
30916 : }
30917 : }
30918 :
30919 :
30920 0 : XS(_wrap_mapObj_debug_set) {
30921 : {
30922 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30923 : int arg2 ;
30924 0 : void *argp1 = 0 ;
30925 : int res1 = 0 ;
30926 : int val2 ;
30927 : int ecode2 = 0 ;
30928 : int argvi = 0;
30929 0 : dXSARGS;
30930 :
30931 0 : if ((items < 2) || (items > 2)) {
30932 0 : SWIG_croak("Usage: mapObj_debug_set(self,debug);");
30933 : }
30934 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30935 0 : if (!SWIG_IsOK(res1)) {
30936 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_set" "', argument " "1"" of type '" "struct mapObj *""'");
30937 : }
30938 0 : arg1 = (struct mapObj *)(argp1);
30939 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30940 0 : if (!SWIG_IsOK(ecode2)) {
30941 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_debug_set" "', argument " "2"" of type '" "int""'");
30942 : }
30943 : arg2 = (int)(val2);
30944 0 : if (arg1) (arg1)->debug = arg2;
30945 0 : ST(argvi) = sv_newmortal();
30946 :
30947 :
30948 0 : XSRETURN(argvi);
30949 0 : fail:
30950 :
30951 :
30952 0 : SWIG_croak_null();
30953 : }
30954 : }
30955 :
30956 :
30957 0 : XS(_wrap_mapObj_debug_get) {
30958 : {
30959 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30960 0 : void *argp1 = 0 ;
30961 : int res1 = 0 ;
30962 : int argvi = 0;
30963 : int result;
30964 0 : dXSARGS;
30965 :
30966 0 : if ((items < 1) || (items > 1)) {
30967 0 : SWIG_croak("Usage: mapObj_debug_get(self);");
30968 : }
30969 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30970 0 : if (!SWIG_IsOK(res1)) {
30971 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_get" "', argument " "1"" of type '" "struct mapObj *""'");
30972 : }
30973 0 : arg1 = (struct mapObj *)(argp1);
30974 0 : result = (int) ((arg1)->debug);
30975 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30976 :
30977 0 : XSRETURN(argvi);
30978 0 : fail:
30979 :
30980 0 : SWIG_croak_null();
30981 : }
30982 : }
30983 :
30984 :
30985 0 : XS(_wrap_mapObj_datapattern_set) {
30986 : {
30987 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30988 : char *arg2 = (char *) 0 ;
30989 0 : void *argp1 = 0 ;
30990 : int res1 = 0 ;
30991 : int res2 ;
30992 0 : char *buf2 = 0 ;
30993 0 : int alloc2 = 0 ;
30994 : int argvi = 0;
30995 0 : dXSARGS;
30996 :
30997 0 : if ((items < 2) || (items > 2)) {
30998 0 : SWIG_croak("Usage: mapObj_datapattern_set(self,datapattern);");
30999 : }
31000 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31001 0 : if (!SWIG_IsOK(res1)) {
31002 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
31003 : }
31004 0 : arg1 = (struct mapObj *)(argp1);
31005 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31006 0 : if (!SWIG_IsOK(res2)) {
31007 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_datapattern_set" "', argument " "2"" of type '" "char *""'");
31008 : }
31009 0 : arg2 = (char *)(buf2);
31010 : {
31011 0 : if (arg1->datapattern) free((char*)arg1->datapattern);
31012 0 : if (arg2) {
31013 0 : arg1->datapattern = (char *) malloc(strlen(arg2)+1);
31014 : strcpy((char*)arg1->datapattern,arg2);
31015 : } else {
31016 0 : arg1->datapattern = 0;
31017 : }
31018 : }
31019 0 : ST(argvi) = sv_newmortal();
31020 :
31021 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31022 0 : XSRETURN(argvi);
31023 0 : fail:
31024 :
31025 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31026 0 : SWIG_croak_null();
31027 : }
31028 : }
31029 :
31030 :
31031 0 : XS(_wrap_mapObj_datapattern_get) {
31032 : {
31033 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31034 0 : void *argp1 = 0 ;
31035 : int res1 = 0 ;
31036 : int argvi = 0;
31037 : char *result = 0 ;
31038 0 : dXSARGS;
31039 :
31040 0 : if ((items < 1) || (items > 1)) {
31041 0 : SWIG_croak("Usage: mapObj_datapattern_get(self);");
31042 : }
31043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31044 0 : if (!SWIG_IsOK(res1)) {
31045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
31046 : }
31047 0 : arg1 = (struct mapObj *)(argp1);
31048 0 : result = (char *) ((arg1)->datapattern);
31049 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
31050 :
31051 0 : XSRETURN(argvi);
31052 0 : fail:
31053 :
31054 0 : SWIG_croak_null();
31055 : }
31056 : }
31057 :
31058 :
31059 0 : XS(_wrap_mapObj_templatepattern_set) {
31060 : {
31061 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31062 : char *arg2 = (char *) 0 ;
31063 0 : void *argp1 = 0 ;
31064 : int res1 = 0 ;
31065 : int res2 ;
31066 0 : char *buf2 = 0 ;
31067 0 : int alloc2 = 0 ;
31068 : int argvi = 0;
31069 0 : dXSARGS;
31070 :
31071 0 : if ((items < 2) || (items > 2)) {
31072 0 : SWIG_croak("Usage: mapObj_templatepattern_set(self,templatepattern);");
31073 : }
31074 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31075 0 : if (!SWIG_IsOK(res1)) {
31076 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
31077 : }
31078 0 : arg1 = (struct mapObj *)(argp1);
31079 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31080 0 : if (!SWIG_IsOK(res2)) {
31081 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_templatepattern_set" "', argument " "2"" of type '" "char *""'");
31082 : }
31083 0 : arg2 = (char *)(buf2);
31084 : {
31085 0 : if (arg1->templatepattern) free((char*)arg1->templatepattern);
31086 0 : if (arg2) {
31087 0 : arg1->templatepattern = (char *) malloc(strlen(arg2)+1);
31088 : strcpy((char*)arg1->templatepattern,arg2);
31089 : } else {
31090 0 : arg1->templatepattern = 0;
31091 : }
31092 : }
31093 0 : ST(argvi) = sv_newmortal();
31094 :
31095 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31096 0 : XSRETURN(argvi);
31097 0 : fail:
31098 :
31099 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31100 0 : SWIG_croak_null();
31101 : }
31102 : }
31103 :
31104 :
31105 0 : XS(_wrap_mapObj_templatepattern_get) {
31106 : {
31107 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31108 0 : void *argp1 = 0 ;
31109 : int res1 = 0 ;
31110 : int argvi = 0;
31111 : char *result = 0 ;
31112 0 : dXSARGS;
31113 :
31114 0 : if ((items < 1) || (items > 1)) {
31115 0 : SWIG_croak("Usage: mapObj_templatepattern_get(self);");
31116 : }
31117 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31118 0 : if (!SWIG_IsOK(res1)) {
31119 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
31120 : }
31121 0 : arg1 = (struct mapObj *)(argp1);
31122 0 : result = (char *) ((arg1)->templatepattern);
31123 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
31124 :
31125 0 : XSRETURN(argvi);
31126 0 : fail:
31127 :
31128 0 : SWIG_croak_null();
31129 : }
31130 : }
31131 :
31132 :
31133 0 : XS(_wrap_mapObj_configoptions_get) {
31134 : {
31135 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31136 0 : void *argp1 = 0 ;
31137 : int res1 = 0 ;
31138 : int argvi = 0;
31139 : hashTableObj *result = 0 ;
31140 0 : dXSARGS;
31141 :
31142 0 : if ((items < 1) || (items > 1)) {
31143 0 : SWIG_croak("Usage: mapObj_configoptions_get(self);");
31144 : }
31145 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31146 0 : if (!SWIG_IsOK(res1)) {
31147 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_configoptions_get" "', argument " "1"" of type '" "struct mapObj *""'");
31148 : }
31149 0 : arg1 = (struct mapObj *)(argp1);
31150 0 : result = (hashTableObj *)& ((arg1)->configoptions);
31151 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
31152 :
31153 0 : XSRETURN(argvi);
31154 0 : fail:
31155 :
31156 0 : SWIG_croak_null();
31157 : }
31158 : }
31159 :
31160 :
31161 1 : XS(_wrap_new_mapObj) {
31162 : {
31163 : char *arg1 = (char *) "" ;
31164 : int res1 ;
31165 1 : char *buf1 = 0 ;
31166 1 : int alloc1 = 0 ;
31167 : int argvi = 0;
31168 : struct mapObj *result = 0 ;
31169 1 : dXSARGS;
31170 :
31171 1 : if ((items < 0) || (items > 1)) {
31172 0 : SWIG_croak("Usage: new_mapObj(filename);");
31173 : }
31174 1 : if (items > 0) {
31175 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
31176 1 : if (!SWIG_IsOK(res1)) {
31177 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_mapObj" "', argument " "1"" of type '" "char *""'");
31178 : }
31179 1 : arg1 = (char *)(buf1);
31180 : }
31181 1 : result = (struct mapObj *)new_mapObj(arg1);
31182 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31183 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
31184 1 : XSRETURN(argvi);
31185 0 : fail:
31186 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
31187 0 : SWIG_croak_null();
31188 : }
31189 : }
31190 :
31191 :
31192 1 : XS(_wrap_delete_mapObj) {
31193 : {
31194 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31195 1 : void *argp1 = 0 ;
31196 : int res1 = 0 ;
31197 : int argvi = 0;
31198 1 : dXSARGS;
31199 :
31200 1 : if ((items < 1) || (items > 1)) {
31201 0 : SWIG_croak("Usage: delete_mapObj(self);");
31202 : }
31203 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, SWIG_POINTER_DISOWN | 0 );
31204 1 : if (!SWIG_IsOK(res1)) {
31205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_mapObj" "', argument " "1"" of type '" "struct mapObj *""'");
31206 : }
31207 1 : arg1 = (struct mapObj *)(argp1);
31208 : delete_mapObj(arg1);
31209 1 : ST(argvi) = sv_newmortal();
31210 :
31211 1 : XSRETURN(argvi);
31212 0 : fail:
31213 :
31214 0 : SWIG_croak_null();
31215 : }
31216 : }
31217 :
31218 :
31219 0 : XS(_wrap_mapObj_clone) {
31220 : {
31221 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31222 0 : void *argp1 = 0 ;
31223 : int res1 = 0 ;
31224 : int argvi = 0;
31225 : mapObj *result = 0 ;
31226 0 : dXSARGS;
31227 :
31228 0 : if ((items < 1) || (items > 1)) {
31229 0 : SWIG_croak("Usage: mapObj_clone(self);");
31230 : }
31231 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31232 0 : if (!SWIG_IsOK(res1)) {
31233 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_clone" "', argument " "1"" of type '" "struct mapObj *""'");
31234 : }
31235 0 : arg1 = (struct mapObj *)(argp1);
31236 0 : result = (mapObj *)mapObj_clone(arg1);
31237 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31238 :
31239 0 : XSRETURN(argvi);
31240 0 : fail:
31241 :
31242 0 : SWIG_croak_null();
31243 : }
31244 : }
31245 :
31246 :
31247 1 : XS(_wrap_mapObj_insertLayer) {
31248 : {
31249 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31250 : layerObj *arg2 = (layerObj *) 0 ;
31251 : int arg3 = (int) -1 ;
31252 1 : void *argp1 = 0 ;
31253 : int res1 = 0 ;
31254 1 : void *argp2 = 0 ;
31255 : int res2 = 0 ;
31256 : int val3 ;
31257 : int ecode3 = 0 ;
31258 : int argvi = 0;
31259 : int result;
31260 1 : dXSARGS;
31261 :
31262 1 : if ((items < 2) || (items > 3)) {
31263 0 : SWIG_croak("Usage: mapObj_insertLayer(self,layer,index);");
31264 : }
31265 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31266 1 : if (!SWIG_IsOK(res1)) {
31267 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_insertLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31268 : }
31269 1 : arg1 = (struct mapObj *)(argp1);
31270 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
31271 1 : if (!SWIG_IsOK(res2)) {
31272 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_insertLayer" "', argument " "2"" of type '" "layerObj *""'");
31273 : }
31274 1 : arg2 = (layerObj *)(argp2);
31275 1 : if (items > 2) {
31276 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31277 0 : if (!SWIG_IsOK(ecode3)) {
31278 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_insertLayer" "', argument " "3"" of type '" "int""'");
31279 : }
31280 : arg3 = (int)(val3);
31281 : }
31282 : result = (int)mapObj_insertLayer(arg1,arg2,arg3);
31283 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31284 :
31285 :
31286 :
31287 1 : XSRETURN(argvi);
31288 0 : fail:
31289 :
31290 :
31291 :
31292 0 : SWIG_croak_null();
31293 : }
31294 : }
31295 :
31296 :
31297 0 : XS(_wrap_mapObj_removeLayer) {
31298 : {
31299 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31300 : int arg2 ;
31301 0 : void *argp1 = 0 ;
31302 : int res1 = 0 ;
31303 : int val2 ;
31304 : int ecode2 = 0 ;
31305 : int argvi = 0;
31306 : layerObj *result = 0 ;
31307 0 : dXSARGS;
31308 :
31309 0 : if ((items < 2) || (items > 2)) {
31310 0 : SWIG_croak("Usage: mapObj_removeLayer(self,index);");
31311 : }
31312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31313 0 : if (!SWIG_IsOK(res1)) {
31314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31315 : }
31316 0 : arg1 = (struct mapObj *)(argp1);
31317 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31318 0 : if (!SWIG_IsOK(ecode2)) {
31319 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_removeLayer" "', argument " "2"" of type '" "int""'");
31320 : }
31321 : arg2 = (int)(val2);
31322 : result = (layerObj *)mapObj_removeLayer(arg1,arg2);
31323 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31324 :
31325 :
31326 0 : XSRETURN(argvi);
31327 0 : fail:
31328 :
31329 :
31330 0 : SWIG_croak_null();
31331 : }
31332 : }
31333 :
31334 :
31335 0 : XS(_wrap_mapObj_setExtent) {
31336 : {
31337 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31338 : double arg2 ;
31339 : double arg3 ;
31340 : double arg4 ;
31341 : double arg5 ;
31342 0 : void *argp1 = 0 ;
31343 : int res1 = 0 ;
31344 : double val2 ;
31345 : int ecode2 = 0 ;
31346 : double val3 ;
31347 : int ecode3 = 0 ;
31348 : double val4 ;
31349 : int ecode4 = 0 ;
31350 : double val5 ;
31351 : int ecode5 = 0 ;
31352 : int argvi = 0;
31353 : int result;
31354 0 : dXSARGS;
31355 :
31356 0 : if ((items < 5) || (items > 5)) {
31357 0 : SWIG_croak("Usage: mapObj_setExtent(self,minx,miny,maxx,maxy);");
31358 : }
31359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31360 0 : if (!SWIG_IsOK(res1)) {
31361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31362 : }
31363 0 : arg1 = (struct mapObj *)(argp1);
31364 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31365 0 : if (!SWIG_IsOK(ecode2)) {
31366 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setExtent" "', argument " "2"" of type '" "double""'");
31367 : }
31368 0 : arg2 = (double)(val2);
31369 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31370 0 : if (!SWIG_IsOK(ecode3)) {
31371 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setExtent" "', argument " "3"" of type '" "double""'");
31372 : }
31373 0 : arg3 = (double)(val3);
31374 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31375 0 : if (!SWIG_IsOK(ecode4)) {
31376 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_setExtent" "', argument " "4"" of type '" "double""'");
31377 : }
31378 0 : arg4 = (double)(val4);
31379 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
31380 0 : if (!SWIG_IsOK(ecode5)) {
31381 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_setExtent" "', argument " "5"" of type '" "double""'");
31382 : }
31383 0 : arg5 = (double)(val5);
31384 : result = (int)mapObj_setExtent(arg1,arg2,arg3,arg4,arg5);
31385 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31386 :
31387 :
31388 :
31389 :
31390 :
31391 0 : XSRETURN(argvi);
31392 0 : fail:
31393 :
31394 :
31395 :
31396 :
31397 :
31398 0 : SWIG_croak_null();
31399 : }
31400 : }
31401 :
31402 :
31403 0 : XS(_wrap_mapObj_offsetExtent) {
31404 : {
31405 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31406 : double arg2 ;
31407 : double arg3 ;
31408 0 : void *argp1 = 0 ;
31409 : int res1 = 0 ;
31410 : double val2 ;
31411 : int ecode2 = 0 ;
31412 : double val3 ;
31413 : int ecode3 = 0 ;
31414 : int argvi = 0;
31415 : int result;
31416 0 : dXSARGS;
31417 :
31418 0 : if ((items < 3) || (items > 3)) {
31419 0 : SWIG_croak("Usage: mapObj_offsetExtent(self,x,y);");
31420 : }
31421 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31422 0 : if (!SWIG_IsOK(res1)) {
31423 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_offsetExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31424 : }
31425 0 : arg1 = (struct mapObj *)(argp1);
31426 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31427 0 : if (!SWIG_IsOK(ecode2)) {
31428 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_offsetExtent" "', argument " "2"" of type '" "double""'");
31429 : }
31430 0 : arg2 = (double)(val2);
31431 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31432 0 : if (!SWIG_IsOK(ecode3)) {
31433 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_offsetExtent" "', argument " "3"" of type '" "double""'");
31434 : }
31435 0 : arg3 = (double)(val3);
31436 : result = (int)mapObj_offsetExtent(arg1,arg2,arg3);
31437 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31438 :
31439 :
31440 :
31441 0 : XSRETURN(argvi);
31442 0 : fail:
31443 :
31444 :
31445 :
31446 0 : SWIG_croak_null();
31447 : }
31448 : }
31449 :
31450 :
31451 0 : XS(_wrap_mapObj_scaleExtent) {
31452 : {
31453 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31454 : double arg2 ;
31455 : double arg3 ;
31456 : double arg4 ;
31457 0 : void *argp1 = 0 ;
31458 : int res1 = 0 ;
31459 : double val2 ;
31460 : int ecode2 = 0 ;
31461 : double val3 ;
31462 : int ecode3 = 0 ;
31463 : double val4 ;
31464 : int ecode4 = 0 ;
31465 : int argvi = 0;
31466 : int result;
31467 0 : dXSARGS;
31468 :
31469 0 : if ((items < 4) || (items > 4)) {
31470 0 : SWIG_croak("Usage: mapObj_scaleExtent(self,zoomfactor,minscaledenom,maxscaledenom);");
31471 : }
31472 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31473 0 : if (!SWIG_IsOK(res1)) {
31474 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaleExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31475 : }
31476 0 : arg1 = (struct mapObj *)(argp1);
31477 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31478 0 : if (!SWIG_IsOK(ecode2)) {
31479 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaleExtent" "', argument " "2"" of type '" "double""'");
31480 : }
31481 0 : arg2 = (double)(val2);
31482 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31483 0 : if (!SWIG_IsOK(ecode3)) {
31484 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_scaleExtent" "', argument " "3"" of type '" "double""'");
31485 : }
31486 0 : arg3 = (double)(val3);
31487 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31488 0 : if (!SWIG_IsOK(ecode4)) {
31489 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_scaleExtent" "', argument " "4"" of type '" "double""'");
31490 : }
31491 0 : arg4 = (double)(val4);
31492 : result = (int)mapObj_scaleExtent(arg1,arg2,arg3,arg4);
31493 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31494 :
31495 :
31496 :
31497 :
31498 0 : XSRETURN(argvi);
31499 0 : fail:
31500 :
31501 :
31502 :
31503 :
31504 0 : SWIG_croak_null();
31505 : }
31506 : }
31507 :
31508 :
31509 0 : XS(_wrap_mapObj_setCenter) {
31510 : {
31511 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31512 : pointObj *arg2 = (pointObj *) 0 ;
31513 0 : void *argp1 = 0 ;
31514 : int res1 = 0 ;
31515 0 : void *argp2 = 0 ;
31516 : int res2 = 0 ;
31517 : int argvi = 0;
31518 : int result;
31519 0 : dXSARGS;
31520 :
31521 0 : if ((items < 2) || (items > 2)) {
31522 0 : SWIG_croak("Usage: mapObj_setCenter(self,center);");
31523 : }
31524 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31525 0 : if (!SWIG_IsOK(res1)) {
31526 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setCenter" "', argument " "1"" of type '" "struct mapObj *""'");
31527 : }
31528 0 : arg1 = (struct mapObj *)(argp1);
31529 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
31530 0 : if (!SWIG_IsOK(res2)) {
31531 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setCenter" "', argument " "2"" of type '" "pointObj *""'");
31532 : }
31533 0 : arg2 = (pointObj *)(argp2);
31534 : result = (int)mapObj_setCenter(arg1,arg2);
31535 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31536 :
31537 :
31538 0 : XSRETURN(argvi);
31539 0 : fail:
31540 :
31541 :
31542 0 : SWIG_croak_null();
31543 : }
31544 : }
31545 :
31546 :
31547 0 : XS(_wrap_mapObj_setSize) {
31548 : {
31549 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31550 : int arg2 ;
31551 : int arg3 ;
31552 0 : void *argp1 = 0 ;
31553 : int res1 = 0 ;
31554 : int val2 ;
31555 : int ecode2 = 0 ;
31556 : int val3 ;
31557 : int ecode3 = 0 ;
31558 : int argvi = 0;
31559 : int result;
31560 0 : dXSARGS;
31561 :
31562 0 : if ((items < 3) || (items > 3)) {
31563 0 : SWIG_croak("Usage: mapObj_setSize(self,width,height);");
31564 : }
31565 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31566 0 : if (!SWIG_IsOK(res1)) {
31567 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSize" "', argument " "1"" of type '" "struct mapObj *""'");
31568 : }
31569 0 : arg1 = (struct mapObj *)(argp1);
31570 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31571 0 : if (!SWIG_IsOK(ecode2)) {
31572 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setSize" "', argument " "2"" of type '" "int""'");
31573 : }
31574 : arg2 = (int)(val2);
31575 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31576 0 : if (!SWIG_IsOK(ecode3)) {
31577 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setSize" "', argument " "3"" of type '" "int""'");
31578 : }
31579 : arg3 = (int)(val3);
31580 : result = (int)mapObj_setSize(arg1,arg2,arg3);
31581 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31582 :
31583 :
31584 :
31585 0 : XSRETURN(argvi);
31586 0 : fail:
31587 :
31588 :
31589 :
31590 0 : SWIG_croak_null();
31591 : }
31592 : }
31593 :
31594 :
31595 0 : XS(_wrap_mapObj_pixelToGeoref) {
31596 : {
31597 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31598 : double arg2 ;
31599 : double arg3 ;
31600 : pointObj *arg4 = (pointObj *) 0 ;
31601 0 : void *argp1 = 0 ;
31602 : int res1 = 0 ;
31603 : double val2 ;
31604 : int ecode2 = 0 ;
31605 : double val3 ;
31606 : int ecode3 = 0 ;
31607 0 : void *argp4 = 0 ;
31608 : int res4 = 0 ;
31609 : int argvi = 0;
31610 0 : dXSARGS;
31611 :
31612 0 : if ((items < 4) || (items > 4)) {
31613 0 : SWIG_croak("Usage: mapObj_pixelToGeoref(self,pixPosX,pixPosY,geoPos);");
31614 : }
31615 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31616 0 : if (!SWIG_IsOK(res1)) {
31617 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_pixelToGeoref" "', argument " "1"" of type '" "struct mapObj *""'");
31618 : }
31619 0 : arg1 = (struct mapObj *)(argp1);
31620 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31621 0 : if (!SWIG_IsOK(ecode2)) {
31622 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_pixelToGeoref" "', argument " "2"" of type '" "double""'");
31623 : }
31624 0 : arg2 = (double)(val2);
31625 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31626 0 : if (!SWIG_IsOK(ecode3)) {
31627 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_pixelToGeoref" "', argument " "3"" of type '" "double""'");
31628 : }
31629 0 : arg3 = (double)(val3);
31630 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_pointObj, 0 | 0 );
31631 0 : if (!SWIG_IsOK(res4)) {
31632 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_pixelToGeoref" "', argument " "4"" of type '" "pointObj *""'");
31633 : }
31634 0 : arg4 = (pointObj *)(argp4);
31635 : mapObj_pixelToGeoref(arg1,arg2,arg3,arg4);
31636 0 : ST(argvi) = sv_newmortal();
31637 :
31638 :
31639 :
31640 :
31641 0 : XSRETURN(argvi);
31642 0 : fail:
31643 :
31644 :
31645 :
31646 :
31647 0 : SWIG_croak_null();
31648 : }
31649 : }
31650 :
31651 :
31652 0 : XS(_wrap_mapObj_getRotation) {
31653 : {
31654 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31655 0 : void *argp1 = 0 ;
31656 : int res1 = 0 ;
31657 : int argvi = 0;
31658 : double result;
31659 0 : dXSARGS;
31660 :
31661 0 : if ((items < 1) || (items > 1)) {
31662 0 : SWIG_croak("Usage: mapObj_getRotation(self);");
31663 : }
31664 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31665 0 : if (!SWIG_IsOK(res1)) {
31666 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getRotation" "', argument " "1"" of type '" "struct mapObj *""'");
31667 : }
31668 0 : arg1 = (struct mapObj *)(argp1);
31669 0 : result = (double)mapObj_getRotation(arg1);
31670 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
31671 :
31672 0 : XSRETURN(argvi);
31673 0 : fail:
31674 :
31675 0 : SWIG_croak_null();
31676 : }
31677 : }
31678 :
31679 :
31680 0 : XS(_wrap_mapObj_setRotation) {
31681 : {
31682 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31683 : double arg2 ;
31684 0 : void *argp1 = 0 ;
31685 : int res1 = 0 ;
31686 : double val2 ;
31687 : int ecode2 = 0 ;
31688 : int argvi = 0;
31689 : int result;
31690 0 : dXSARGS;
31691 :
31692 0 : if ((items < 2) || (items > 2)) {
31693 0 : SWIG_croak("Usage: mapObj_setRotation(self,rotation_angle);");
31694 : }
31695 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31696 0 : if (!SWIG_IsOK(res1)) {
31697 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setRotation" "', argument " "1"" of type '" "struct mapObj *""'");
31698 : }
31699 0 : arg1 = (struct mapObj *)(argp1);
31700 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31701 0 : if (!SWIG_IsOK(ecode2)) {
31702 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setRotation" "', argument " "2"" of type '" "double""'");
31703 : }
31704 0 : arg2 = (double)(val2);
31705 : result = (int)mapObj_setRotation(arg1,arg2);
31706 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31707 :
31708 :
31709 0 : XSRETURN(argvi);
31710 0 : fail:
31711 :
31712 :
31713 0 : SWIG_croak_null();
31714 : }
31715 : }
31716 :
31717 :
31718 1 : XS(_wrap_mapObj_getLayer) {
31719 : {
31720 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31721 : int arg2 ;
31722 1 : void *argp1 = 0 ;
31723 : int res1 = 0 ;
31724 : int val2 ;
31725 : int ecode2 = 0 ;
31726 : int argvi = 0;
31727 : layerObj *result = 0 ;
31728 1 : dXSARGS;
31729 :
31730 1 : if ((items < 2) || (items > 2)) {
31731 0 : SWIG_croak("Usage: mapObj_getLayer(self,i);");
31732 : }
31733 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31734 1 : if (!SWIG_IsOK(res1)) {
31735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31736 : }
31737 1 : arg1 = (struct mapObj *)(argp1);
31738 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31739 1 : if (!SWIG_IsOK(ecode2)) {
31740 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getLayer" "', argument " "2"" of type '" "int""'");
31741 : }
31742 : arg2 = (int)(val2);
31743 1 : result = (layerObj *)mapObj_getLayer(arg1,arg2);
31744 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31745 :
31746 :
31747 1 : XSRETURN(argvi);
31748 0 : fail:
31749 :
31750 :
31751 0 : SWIG_croak_null();
31752 : }
31753 : }
31754 :
31755 :
31756 1 : XS(_wrap_mapObj_getLayerByName) {
31757 : {
31758 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31759 : char *arg2 = (char *) 0 ;
31760 1 : void *argp1 = 0 ;
31761 : int res1 = 0 ;
31762 : int res2 ;
31763 1 : char *buf2 = 0 ;
31764 1 : int alloc2 = 0 ;
31765 : int argvi = 0;
31766 : layerObj *result = 0 ;
31767 1 : dXSARGS;
31768 :
31769 1 : if ((items < 2) || (items > 2)) {
31770 0 : SWIG_croak("Usage: mapObj_getLayerByName(self,name);");
31771 : }
31772 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31773 1 : if (!SWIG_IsOK(res1)) {
31774 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayerByName" "', argument " "1"" of type '" "struct mapObj *""'");
31775 : }
31776 1 : arg1 = (struct mapObj *)(argp1);
31777 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31778 1 : if (!SWIG_IsOK(res2)) {
31779 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getLayerByName" "', argument " "2"" of type '" "char *""'");
31780 : }
31781 1 : arg2 = (char *)(buf2);
31782 1 : result = (layerObj *)mapObj_getLayerByName(arg1,arg2);
31783 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31784 :
31785 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31786 1 : XSRETURN(argvi);
31787 0 : fail:
31788 :
31789 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31790 0 : SWIG_croak_null();
31791 : }
31792 : }
31793 :
31794 :
31795 0 : XS(_wrap_mapObj_getSymbolByName) {
31796 : {
31797 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31798 : char *arg2 = (char *) 0 ;
31799 0 : void *argp1 = 0 ;
31800 : int res1 = 0 ;
31801 : int res2 ;
31802 0 : char *buf2 = 0 ;
31803 0 : int alloc2 = 0 ;
31804 : int argvi = 0;
31805 : int result;
31806 0 : dXSARGS;
31807 :
31808 0 : if ((items < 2) || (items > 2)) {
31809 0 : SWIG_croak("Usage: mapObj_getSymbolByName(self,name);");
31810 : }
31811 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31812 0 : if (!SWIG_IsOK(res1)) {
31813 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getSymbolByName" "', argument " "1"" of type '" "struct mapObj *""'");
31814 : }
31815 0 : arg1 = (struct mapObj *)(argp1);
31816 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31817 0 : if (!SWIG_IsOK(res2)) {
31818 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
31819 : }
31820 0 : arg2 = (char *)(buf2);
31821 : result = (int)mapObj_getSymbolByName(arg1,arg2);
31822 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31823 :
31824 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31825 0 : XSRETURN(argvi);
31826 0 : fail:
31827 :
31828 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31829 0 : SWIG_croak_null();
31830 : }
31831 : }
31832 :
31833 :
31834 0 : XS(_wrap_mapObj_prepareQuery) {
31835 : {
31836 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31837 0 : void *argp1 = 0 ;
31838 : int res1 = 0 ;
31839 : int argvi = 0;
31840 0 : dXSARGS;
31841 :
31842 0 : if ((items < 1) || (items > 1)) {
31843 0 : SWIG_croak("Usage: mapObj_prepareQuery(self);");
31844 : }
31845 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31846 0 : if (!SWIG_IsOK(res1)) {
31847 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareQuery" "', argument " "1"" of type '" "struct mapObj *""'");
31848 : }
31849 0 : arg1 = (struct mapObj *)(argp1);
31850 0 : mapObj_prepareQuery(arg1);
31851 0 : ST(argvi) = sv_newmortal();
31852 :
31853 0 : XSRETURN(argvi);
31854 0 : fail:
31855 :
31856 0 : SWIG_croak_null();
31857 : }
31858 : }
31859 :
31860 :
31861 0 : XS(_wrap_mapObj_prepareImage) {
31862 : {
31863 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31864 0 : void *argp1 = 0 ;
31865 : int res1 = 0 ;
31866 : int argvi = 0;
31867 : imageObj *result = 0 ;
31868 0 : dXSARGS;
31869 :
31870 0 : if ((items < 1) || (items > 1)) {
31871 0 : SWIG_croak("Usage: mapObj_prepareImage(self);");
31872 : }
31873 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31874 0 : if (!SWIG_IsOK(res1)) {
31875 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareImage" "', argument " "1"" of type '" "struct mapObj *""'");
31876 : }
31877 0 : arg1 = (struct mapObj *)(argp1);
31878 : result = (imageObj *)mapObj_prepareImage(arg1);
31879 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31880 :
31881 0 : XSRETURN(argvi);
31882 0 : fail:
31883 :
31884 0 : SWIG_croak_null();
31885 : }
31886 : }
31887 :
31888 :
31889 0 : XS(_wrap_mapObj_setImageType) {
31890 : {
31891 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31892 : char *arg2 = (char *) 0 ;
31893 0 : void *argp1 = 0 ;
31894 : int res1 = 0 ;
31895 : int res2 ;
31896 0 : char *buf2 = 0 ;
31897 0 : int alloc2 = 0 ;
31898 : int argvi = 0;
31899 0 : dXSARGS;
31900 :
31901 0 : if ((items < 2) || (items > 2)) {
31902 0 : SWIG_croak("Usage: mapObj_setImageType(self,imagetype);");
31903 : }
31904 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31905 0 : if (!SWIG_IsOK(res1)) {
31906 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setImageType" "', argument " "1"" of type '" "struct mapObj *""'");
31907 : }
31908 0 : arg1 = (struct mapObj *)(argp1);
31909 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31910 0 : if (!SWIG_IsOK(res2)) {
31911 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setImageType" "', argument " "2"" of type '" "char *""'");
31912 : }
31913 0 : arg2 = (char *)(buf2);
31914 0 : mapObj_setImageType(arg1,arg2);
31915 0 : ST(argvi) = sv_newmortal();
31916 :
31917 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31918 0 : XSRETURN(argvi);
31919 0 : fail:
31920 :
31921 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31922 0 : SWIG_croak_null();
31923 : }
31924 : }
31925 :
31926 :
31927 0 : XS(_wrap_mapObj_selectOutputFormat) {
31928 : {
31929 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31930 : char *arg2 = (char *) 0 ;
31931 0 : void *argp1 = 0 ;
31932 : int res1 = 0 ;
31933 : int res2 ;
31934 0 : char *buf2 = 0 ;
31935 0 : int alloc2 = 0 ;
31936 : int argvi = 0;
31937 0 : dXSARGS;
31938 :
31939 0 : if ((items < 2) || (items > 2)) {
31940 0 : SWIG_croak("Usage: mapObj_selectOutputFormat(self,imagetype);");
31941 : }
31942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31943 0 : if (!SWIG_IsOK(res1)) {
31944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_selectOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31945 : }
31946 0 : arg1 = (struct mapObj *)(argp1);
31947 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31948 0 : if (!SWIG_IsOK(res2)) {
31949 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_selectOutputFormat" "', argument " "2"" of type '" "char *""'");
31950 : }
31951 0 : arg2 = (char *)(buf2);
31952 0 : mapObj_selectOutputFormat(arg1,arg2);
31953 0 : ST(argvi) = sv_newmortal();
31954 :
31955 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31956 0 : XSRETURN(argvi);
31957 0 : fail:
31958 :
31959 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31960 0 : SWIG_croak_null();
31961 : }
31962 : }
31963 :
31964 :
31965 0 : XS(_wrap_mapObj_getOutputFormat) {
31966 : {
31967 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31968 : int arg2 ;
31969 0 : void *argp1 = 0 ;
31970 : int res1 = 0 ;
31971 : int val2 ;
31972 : int ecode2 = 0 ;
31973 : int argvi = 0;
31974 : outputFormatObj *result = 0 ;
31975 0 : dXSARGS;
31976 :
31977 0 : if ((items < 2) || (items > 2)) {
31978 0 : SWIG_croak("Usage: mapObj_getOutputFormat(self,i);");
31979 : }
31980 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31981 0 : if (!SWIG_IsOK(res1)) {
31982 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31983 : }
31984 0 : arg1 = (struct mapObj *)(argp1);
31985 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31986 0 : if (!SWIG_IsOK(ecode2)) {
31987 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getOutputFormat" "', argument " "2"" of type '" "int""'");
31988 : }
31989 : arg2 = (int)(val2);
31990 0 : result = (outputFormatObj *)mapObj_getOutputFormat(arg1,arg2);
31991 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31992 :
31993 :
31994 0 : XSRETURN(argvi);
31995 0 : fail:
31996 :
31997 :
31998 0 : SWIG_croak_null();
31999 : }
32000 : }
32001 :
32002 :
32003 0 : XS(_wrap_mapObj_setOutputFormat) {
32004 : {
32005 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32006 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
32007 0 : void *argp1 = 0 ;
32008 : int res1 = 0 ;
32009 0 : void *argp2 = 0 ;
32010 : int res2 = 0 ;
32011 : int argvi = 0;
32012 0 : dXSARGS;
32013 :
32014 0 : if ((items < 2) || (items > 2)) {
32015 0 : SWIG_croak("Usage: mapObj_setOutputFormat(self,format);");
32016 : }
32017 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32018 0 : if (!SWIG_IsOK(res1)) {
32019 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
32020 : }
32021 0 : arg1 = (struct mapObj *)(argp1);
32022 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
32023 0 : if (!SWIG_IsOK(res2)) {
32024 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
32025 : }
32026 0 : arg2 = (outputFormatObj *)(argp2);
32027 : mapObj_setOutputFormat(arg1,arg2);
32028 0 : ST(argvi) = sv_newmortal();
32029 :
32030 :
32031 0 : XSRETURN(argvi);
32032 0 : fail:
32033 :
32034 :
32035 0 : SWIG_croak_null();
32036 : }
32037 : }
32038 :
32039 :
32040 0 : XS(_wrap_mapObj_draw) {
32041 : {
32042 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32043 0 : void *argp1 = 0 ;
32044 : int res1 = 0 ;
32045 : int argvi = 0;
32046 : imageObj *result = 0 ;
32047 0 : dXSARGS;
32048 :
32049 0 : if ((items < 1) || (items > 1)) {
32050 0 : SWIG_croak("Usage: mapObj_draw(self);");
32051 : }
32052 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32053 0 : if (!SWIG_IsOK(res1)) {
32054 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_draw" "', argument " "1"" of type '" "struct mapObj *""'");
32055 : }
32056 0 : arg1 = (struct mapObj *)(argp1);
32057 : result = (imageObj *)mapObj_draw(arg1);
32058 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32059 :
32060 0 : XSRETURN(argvi);
32061 0 : fail:
32062 :
32063 0 : SWIG_croak_null();
32064 : }
32065 : }
32066 :
32067 :
32068 0 : XS(_wrap_mapObj_drawQuery) {
32069 : {
32070 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32071 0 : void *argp1 = 0 ;
32072 : int res1 = 0 ;
32073 : int argvi = 0;
32074 : imageObj *result = 0 ;
32075 0 : dXSARGS;
32076 :
32077 0 : if ((items < 1) || (items > 1)) {
32078 0 : SWIG_croak("Usage: mapObj_drawQuery(self);");
32079 : }
32080 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32081 0 : if (!SWIG_IsOK(res1)) {
32082 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32083 : }
32084 0 : arg1 = (struct mapObj *)(argp1);
32085 : result = (imageObj *)mapObj_drawQuery(arg1);
32086 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32087 :
32088 0 : XSRETURN(argvi);
32089 0 : fail:
32090 :
32091 0 : SWIG_croak_null();
32092 : }
32093 : }
32094 :
32095 :
32096 0 : XS(_wrap_mapObj_drawLegend) {
32097 : {
32098 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32099 : int arg2 = (int) 0 ;
32100 0 : void *argp1 = 0 ;
32101 : int res1 = 0 ;
32102 : int val2 ;
32103 : int ecode2 = 0 ;
32104 : int argvi = 0;
32105 : imageObj *result = 0 ;
32106 0 : dXSARGS;
32107 :
32108 0 : if ((items < 1) || (items > 2)) {
32109 0 : SWIG_croak("Usage: mapObj_drawLegend(self,scale_independent);");
32110 : }
32111 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32112 0 : if (!SWIG_IsOK(res1)) {
32113 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLegend" "', argument " "1"" of type '" "struct mapObj *""'");
32114 : }
32115 0 : arg1 = (struct mapObj *)(argp1);
32116 0 : if (items > 1) {
32117 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32118 0 : if (!SWIG_IsOK(ecode2)) {
32119 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_drawLegend" "', argument " "2"" of type '" "int""'");
32120 : }
32121 : arg2 = (int)(val2);
32122 : }
32123 : result = (imageObj *)mapObj_drawLegend(arg1,arg2);
32124 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32125 :
32126 :
32127 0 : XSRETURN(argvi);
32128 0 : fail:
32129 :
32130 :
32131 0 : SWIG_croak_null();
32132 : }
32133 : }
32134 :
32135 :
32136 0 : XS(_wrap_mapObj_drawScalebar) {
32137 : {
32138 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32139 0 : void *argp1 = 0 ;
32140 : int res1 = 0 ;
32141 : int argvi = 0;
32142 : imageObj *result = 0 ;
32143 0 : dXSARGS;
32144 :
32145 0 : if ((items < 1) || (items > 1)) {
32146 0 : SWIG_croak("Usage: mapObj_drawScalebar(self);");
32147 : }
32148 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32149 0 : if (!SWIG_IsOK(res1)) {
32150 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
32151 : }
32152 0 : arg1 = (struct mapObj *)(argp1);
32153 : result = (imageObj *)mapObj_drawScalebar(arg1);
32154 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32155 :
32156 0 : XSRETURN(argvi);
32157 0 : fail:
32158 :
32159 0 : SWIG_croak_null();
32160 : }
32161 : }
32162 :
32163 :
32164 0 : XS(_wrap_mapObj_drawReferenceMap) {
32165 : {
32166 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32167 0 : void *argp1 = 0 ;
32168 : int res1 = 0 ;
32169 : int argvi = 0;
32170 : imageObj *result = 0 ;
32171 0 : dXSARGS;
32172 :
32173 0 : if ((items < 1) || (items > 1)) {
32174 0 : SWIG_croak("Usage: mapObj_drawReferenceMap(self);");
32175 : }
32176 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32177 0 : if (!SWIG_IsOK(res1)) {
32178 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawReferenceMap" "', argument " "1"" of type '" "struct mapObj *""'");
32179 : }
32180 0 : arg1 = (struct mapObj *)(argp1);
32181 : result = (imageObj *)mapObj_drawReferenceMap(arg1);
32182 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32183 :
32184 0 : XSRETURN(argvi);
32185 0 : fail:
32186 :
32187 0 : SWIG_croak_null();
32188 : }
32189 : }
32190 :
32191 :
32192 0 : XS(_wrap_mapObj_embedScalebar) {
32193 : {
32194 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32195 : imageObj *arg2 = (imageObj *) 0 ;
32196 0 : void *argp1 = 0 ;
32197 : int res1 = 0 ;
32198 0 : void *argp2 = 0 ;
32199 : int res2 = 0 ;
32200 : int argvi = 0;
32201 : int result;
32202 0 : dXSARGS;
32203 :
32204 0 : if ((items < 2) || (items > 2)) {
32205 0 : SWIG_croak("Usage: mapObj_embedScalebar(self,image);");
32206 : }
32207 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32208 0 : if (!SWIG_IsOK(res1)) {
32209 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
32210 : }
32211 0 : arg1 = (struct mapObj *)(argp1);
32212 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32213 0 : if (!SWIG_IsOK(res2)) {
32214 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedScalebar" "', argument " "2"" of type '" "imageObj *""'");
32215 : }
32216 0 : arg2 = (imageObj *)(argp2);
32217 : result = (int)mapObj_embedScalebar(arg1,arg2);
32218 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32219 :
32220 :
32221 0 : XSRETURN(argvi);
32222 0 : fail:
32223 :
32224 :
32225 0 : SWIG_croak_null();
32226 : }
32227 : }
32228 :
32229 :
32230 0 : XS(_wrap_mapObj_embedLegend) {
32231 : {
32232 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32233 : imageObj *arg2 = (imageObj *) 0 ;
32234 0 : void *argp1 = 0 ;
32235 : int res1 = 0 ;
32236 0 : void *argp2 = 0 ;
32237 : int res2 = 0 ;
32238 : int argvi = 0;
32239 : int result;
32240 0 : dXSARGS;
32241 :
32242 0 : if ((items < 2) || (items > 2)) {
32243 0 : SWIG_croak("Usage: mapObj_embedLegend(self,image);");
32244 : }
32245 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32246 0 : if (!SWIG_IsOK(res1)) {
32247 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedLegend" "', argument " "1"" of type '" "struct mapObj *""'");
32248 : }
32249 0 : arg1 = (struct mapObj *)(argp1);
32250 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32251 0 : if (!SWIG_IsOK(res2)) {
32252 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedLegend" "', argument " "2"" of type '" "imageObj *""'");
32253 : }
32254 0 : arg2 = (imageObj *)(argp2);
32255 : result = (int)mapObj_embedLegend(arg1,arg2);
32256 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32257 :
32258 :
32259 0 : XSRETURN(argvi);
32260 0 : fail:
32261 :
32262 :
32263 0 : SWIG_croak_null();
32264 : }
32265 : }
32266 :
32267 :
32268 0 : XS(_wrap_mapObj_drawLabelCache) {
32269 : {
32270 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32271 : imageObj *arg2 = (imageObj *) 0 ;
32272 0 : void *argp1 = 0 ;
32273 : int res1 = 0 ;
32274 0 : void *argp2 = 0 ;
32275 : int res2 = 0 ;
32276 : int argvi = 0;
32277 : int result;
32278 0 : dXSARGS;
32279 :
32280 0 : if ((items < 2) || (items > 2)) {
32281 0 : SWIG_croak("Usage: mapObj_drawLabelCache(self,image);");
32282 : }
32283 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32284 0 : if (!SWIG_IsOK(res1)) {
32285 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLabelCache" "', argument " "1"" of type '" "struct mapObj *""'");
32286 : }
32287 0 : arg1 = (struct mapObj *)(argp1);
32288 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32289 0 : if (!SWIG_IsOK(res2)) {
32290 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_drawLabelCache" "', argument " "2"" of type '" "imageObj *""'");
32291 : }
32292 0 : arg2 = (imageObj *)(argp2);
32293 : result = (int)mapObj_drawLabelCache(arg1,arg2);
32294 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32295 :
32296 :
32297 0 : XSRETURN(argvi);
32298 0 : fail:
32299 :
32300 :
32301 0 : SWIG_croak_null();
32302 : }
32303 : }
32304 :
32305 :
32306 0 : XS(_wrap_mapObj_queryByFilter) {
32307 : {
32308 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32309 : char *arg2 = (char *) 0 ;
32310 0 : void *argp1 = 0 ;
32311 : int res1 = 0 ;
32312 : int res2 ;
32313 0 : char *buf2 = 0 ;
32314 0 : int alloc2 = 0 ;
32315 : int argvi = 0;
32316 : int result;
32317 0 : dXSARGS;
32318 :
32319 0 : if ((items < 2) || (items > 2)) {
32320 0 : SWIG_croak("Usage: mapObj_queryByFilter(self,string);");
32321 : }
32322 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32323 0 : if (!SWIG_IsOK(res1)) {
32324 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFilter" "', argument " "1"" of type '" "struct mapObj *""'");
32325 : }
32326 0 : arg1 = (struct mapObj *)(argp1);
32327 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32328 0 : if (!SWIG_IsOK(res2)) {
32329 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByFilter" "', argument " "2"" of type '" "char *""'");
32330 : }
32331 0 : arg2 = (char *)(buf2);
32332 0 : result = (int)mapObj_queryByFilter(arg1,arg2);
32333 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32334 :
32335 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32336 0 : XSRETURN(argvi);
32337 0 : fail:
32338 :
32339 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32340 0 : SWIG_croak_null();
32341 : }
32342 : }
32343 :
32344 :
32345 0 : XS(_wrap_mapObj_queryByPoint) {
32346 : {
32347 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32348 : pointObj *arg2 = (pointObj *) 0 ;
32349 : int arg3 ;
32350 : double arg4 ;
32351 0 : void *argp1 = 0 ;
32352 : int res1 = 0 ;
32353 0 : void *argp2 = 0 ;
32354 : int res2 = 0 ;
32355 : int val3 ;
32356 : int ecode3 = 0 ;
32357 : double val4 ;
32358 : int ecode4 = 0 ;
32359 : int argvi = 0;
32360 : int result;
32361 0 : dXSARGS;
32362 :
32363 0 : if ((items < 4) || (items > 4)) {
32364 0 : SWIG_croak("Usage: mapObj_queryByPoint(self,point,mode,buffer);");
32365 : }
32366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32367 0 : if (!SWIG_IsOK(res1)) {
32368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByPoint" "', argument " "1"" of type '" "struct mapObj *""'");
32369 : }
32370 0 : arg1 = (struct mapObj *)(argp1);
32371 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
32372 0 : if (!SWIG_IsOK(res2)) {
32373 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByPoint" "', argument " "2"" of type '" "pointObj *""'");
32374 : }
32375 0 : arg2 = (pointObj *)(argp2);
32376 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32377 0 : if (!SWIG_IsOK(ecode3)) {
32378 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_queryByPoint" "', argument " "3"" of type '" "int""'");
32379 : }
32380 : arg3 = (int)(val3);
32381 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
32382 0 : if (!SWIG_IsOK(ecode4)) {
32383 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_queryByPoint" "', argument " "4"" of type '" "double""'");
32384 : }
32385 0 : arg4 = (double)(val4);
32386 : result = (int)mapObj_queryByPoint(arg1,arg2,arg3,arg4);
32387 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32388 :
32389 :
32390 :
32391 :
32392 0 : XSRETURN(argvi);
32393 0 : fail:
32394 :
32395 :
32396 :
32397 :
32398 0 : SWIG_croak_null();
32399 : }
32400 : }
32401 :
32402 :
32403 0 : XS(_wrap_mapObj_queryByRect) {
32404 : {
32405 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32406 : rectObj arg2 ;
32407 0 : void *argp1 = 0 ;
32408 : int res1 = 0 ;
32409 : void *argp2 ;
32410 : int res2 = 0 ;
32411 : int argvi = 0;
32412 : int result;
32413 0 : dXSARGS;
32414 :
32415 0 : if ((items < 2) || (items > 2)) {
32416 0 : SWIG_croak("Usage: mapObj_queryByRect(self,rect);");
32417 : }
32418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32419 0 : if (!SWIG_IsOK(res1)) {
32420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByRect" "', argument " "1"" of type '" "struct mapObj *""'");
32421 : }
32422 0 : arg1 = (struct mapObj *)(argp1);
32423 : {
32424 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
32425 0 : if (!SWIG_IsOK(res2)) {
32426 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
32427 : }
32428 0 : if (!argp2) {
32429 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
32430 : } else {
32431 0 : arg2 = *((rectObj *)(argp2));
32432 : }
32433 : }
32434 : result = (int)mapObj_queryByRect(arg1,arg2);
32435 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32436 :
32437 0 : XSRETURN(argvi);
32438 0 : fail:
32439 :
32440 0 : SWIG_croak_null();
32441 : }
32442 : }
32443 :
32444 :
32445 0 : XS(_wrap_mapObj_queryByFeatures) {
32446 : {
32447 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32448 : int arg2 ;
32449 0 : void *argp1 = 0 ;
32450 : int res1 = 0 ;
32451 : int val2 ;
32452 : int ecode2 = 0 ;
32453 : int argvi = 0;
32454 : int result;
32455 0 : dXSARGS;
32456 :
32457 0 : if ((items < 2) || (items > 2)) {
32458 0 : SWIG_croak("Usage: mapObj_queryByFeatures(self,slayer);");
32459 : }
32460 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32461 0 : if (!SWIG_IsOK(res1)) {
32462 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFeatures" "', argument " "1"" of type '" "struct mapObj *""'");
32463 : }
32464 0 : arg1 = (struct mapObj *)(argp1);
32465 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32466 0 : if (!SWIG_IsOK(ecode2)) {
32467 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_queryByFeatures" "', argument " "2"" of type '" "int""'");
32468 : }
32469 : arg2 = (int)(val2);
32470 : result = (int)mapObj_queryByFeatures(arg1,arg2);
32471 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32472 :
32473 :
32474 0 : XSRETURN(argvi);
32475 0 : fail:
32476 :
32477 :
32478 0 : SWIG_croak_null();
32479 : }
32480 : }
32481 :
32482 :
32483 0 : XS(_wrap_mapObj_queryByShape) {
32484 : {
32485 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32486 : shapeObj *arg2 = (shapeObj *) 0 ;
32487 0 : void *argp1 = 0 ;
32488 : int res1 = 0 ;
32489 0 : void *argp2 = 0 ;
32490 : int res2 = 0 ;
32491 : int argvi = 0;
32492 : int result;
32493 0 : dXSARGS;
32494 :
32495 0 : if ((items < 2) || (items > 2)) {
32496 0 : SWIG_croak("Usage: mapObj_queryByShape(self,shape);");
32497 : }
32498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32499 0 : if (!SWIG_IsOK(res1)) {
32500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByShape" "', argument " "1"" of type '" "struct mapObj *""'");
32501 : }
32502 0 : arg1 = (struct mapObj *)(argp1);
32503 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
32504 0 : if (!SWIG_IsOK(res2)) {
32505 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByShape" "', argument " "2"" of type '" "shapeObj *""'");
32506 : }
32507 0 : arg2 = (shapeObj *)(argp2);
32508 0 : result = (int)mapObj_queryByShape(arg1,arg2);
32509 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32510 :
32511 :
32512 0 : XSRETURN(argvi);
32513 0 : fail:
32514 :
32515 :
32516 0 : SWIG_croak_null();
32517 : }
32518 : }
32519 :
32520 :
32521 0 : XS(_wrap_mapObj_setWKTProjection) {
32522 : {
32523 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32524 : char *arg2 = (char *) 0 ;
32525 0 : void *argp1 = 0 ;
32526 : int res1 = 0 ;
32527 : int res2 ;
32528 0 : char *buf2 = 0 ;
32529 0 : int alloc2 = 0 ;
32530 : int argvi = 0;
32531 : int result;
32532 0 : dXSARGS;
32533 :
32534 0 : if ((items < 2) || (items > 2)) {
32535 0 : SWIG_croak("Usage: mapObj_setWKTProjection(self,wkt);");
32536 : }
32537 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32538 0 : if (!SWIG_IsOK(res1)) {
32539 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setWKTProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32540 : }
32541 0 : arg1 = (struct mapObj *)(argp1);
32542 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32543 0 : if (!SWIG_IsOK(res2)) {
32544 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
32545 : }
32546 0 : arg2 = (char *)(buf2);
32547 : result = (int)mapObj_setWKTProjection(arg1,arg2);
32548 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32549 :
32550 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32551 0 : XSRETURN(argvi);
32552 0 : fail:
32553 :
32554 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32555 0 : SWIG_croak_null();
32556 : }
32557 : }
32558 :
32559 :
32560 0 : XS(_wrap_mapObj_getProjection) {
32561 : {
32562 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32563 0 : void *argp1 = 0 ;
32564 : int res1 = 0 ;
32565 : int argvi = 0;
32566 : char *result = 0 ;
32567 0 : dXSARGS;
32568 :
32569 0 : if ((items < 1) || (items > 1)) {
32570 0 : SWIG_croak("Usage: mapObj_getProjection(self);");
32571 : }
32572 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32573 0 : if (!SWIG_IsOK(res1)) {
32574 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32575 : }
32576 0 : arg1 = (struct mapObj *)(argp1);
32577 : result = (char *)mapObj_getProjection(arg1);
32578 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32579 :
32580 0 : free((char*)result);
32581 0 : XSRETURN(argvi);
32582 0 : fail:
32583 :
32584 0 : SWIG_croak_null();
32585 : }
32586 : }
32587 :
32588 :
32589 0 : XS(_wrap_mapObj_setProjection) {
32590 : {
32591 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32592 : char *arg2 = (char *) 0 ;
32593 0 : void *argp1 = 0 ;
32594 : int res1 = 0 ;
32595 : int res2 ;
32596 0 : char *buf2 = 0 ;
32597 0 : int alloc2 = 0 ;
32598 : int argvi = 0;
32599 : int result;
32600 0 : dXSARGS;
32601 :
32602 0 : if ((items < 2) || (items > 2)) {
32603 0 : SWIG_croak("Usage: mapObj_setProjection(self,proj4);");
32604 : }
32605 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32606 0 : if (!SWIG_IsOK(res1)) {
32607 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32608 : }
32609 0 : arg1 = (struct mapObj *)(argp1);
32610 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32611 0 : if (!SWIG_IsOK(res2)) {
32612 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setProjection" "', argument " "2"" of type '" "char *""'");
32613 : }
32614 0 : arg2 = (char *)(buf2);
32615 : result = (int)mapObj_setProjection(arg1,arg2);
32616 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32617 :
32618 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32619 0 : XSRETURN(argvi);
32620 0 : fail:
32621 :
32622 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32623 0 : SWIG_croak_null();
32624 : }
32625 : }
32626 :
32627 :
32628 0 : XS(_wrap_mapObj_save) {
32629 : {
32630 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32631 : char *arg2 = (char *) 0 ;
32632 0 : void *argp1 = 0 ;
32633 : int res1 = 0 ;
32634 : int res2 ;
32635 0 : char *buf2 = 0 ;
32636 0 : int alloc2 = 0 ;
32637 : int argvi = 0;
32638 : int result;
32639 0 : dXSARGS;
32640 :
32641 0 : if ((items < 2) || (items > 2)) {
32642 0 : SWIG_croak("Usage: mapObj_save(self,filename);");
32643 : }
32644 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32645 0 : if (!SWIG_IsOK(res1)) {
32646 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_save" "', argument " "1"" of type '" "struct mapObj *""'");
32647 : }
32648 0 : arg1 = (struct mapObj *)(argp1);
32649 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32650 0 : if (!SWIG_IsOK(res2)) {
32651 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_save" "', argument " "2"" of type '" "char *""'");
32652 : }
32653 0 : arg2 = (char *)(buf2);
32654 : result = (int)mapObj_save(arg1,arg2);
32655 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32656 :
32657 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32658 0 : XSRETURN(argvi);
32659 0 : fail:
32660 :
32661 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32662 0 : SWIG_croak_null();
32663 : }
32664 : }
32665 :
32666 :
32667 0 : XS(_wrap_mapObj_saveQuery) {
32668 : {
32669 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32670 : char *arg2 = (char *) 0 ;
32671 : int arg3 = (int) 0 ;
32672 0 : void *argp1 = 0 ;
32673 : int res1 = 0 ;
32674 : int res2 ;
32675 0 : char *buf2 = 0 ;
32676 0 : int alloc2 = 0 ;
32677 : int val3 ;
32678 : int ecode3 = 0 ;
32679 : int argvi = 0;
32680 : int result;
32681 0 : dXSARGS;
32682 :
32683 0 : if ((items < 2) || (items > 3)) {
32684 0 : SWIG_croak("Usage: mapObj_saveQuery(self,filename,results);");
32685 : }
32686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32687 0 : if (!SWIG_IsOK(res1)) {
32688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32689 : }
32690 0 : arg1 = (struct mapObj *)(argp1);
32691 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32692 0 : if (!SWIG_IsOK(res2)) {
32693 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQuery" "', argument " "2"" of type '" "char *""'");
32694 : }
32695 0 : arg2 = (char *)(buf2);
32696 0 : if (items > 2) {
32697 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32698 0 : if (!SWIG_IsOK(ecode3)) {
32699 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_saveQuery" "', argument " "3"" of type '" "int""'");
32700 : }
32701 : arg3 = (int)(val3);
32702 : }
32703 : result = (int)mapObj_saveQuery(arg1,arg2,arg3);
32704 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32705 :
32706 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32707 :
32708 0 : XSRETURN(argvi);
32709 0 : fail:
32710 :
32711 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32712 :
32713 0 : SWIG_croak_null();
32714 : }
32715 : }
32716 :
32717 :
32718 0 : XS(_wrap_mapObj_loadQuery) {
32719 : {
32720 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32721 : char *arg2 = (char *) 0 ;
32722 0 : void *argp1 = 0 ;
32723 : int res1 = 0 ;
32724 : int res2 ;
32725 0 : char *buf2 = 0 ;
32726 0 : int alloc2 = 0 ;
32727 : int argvi = 0;
32728 : int result;
32729 0 : dXSARGS;
32730 :
32731 0 : if ((items < 2) || (items > 2)) {
32732 0 : SWIG_croak("Usage: mapObj_loadQuery(self,filename);");
32733 : }
32734 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32735 0 : if (!SWIG_IsOK(res1)) {
32736 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32737 : }
32738 0 : arg1 = (struct mapObj *)(argp1);
32739 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32740 0 : if (!SWIG_IsOK(res2)) {
32741 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadQuery" "', argument " "2"" of type '" "char *""'");
32742 : }
32743 0 : arg2 = (char *)(buf2);
32744 : result = (int)mapObj_loadQuery(arg1,arg2);
32745 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32746 :
32747 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32748 0 : XSRETURN(argvi);
32749 0 : fail:
32750 :
32751 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32752 0 : SWIG_croak_null();
32753 : }
32754 : }
32755 :
32756 :
32757 0 : XS(_wrap_mapObj_freeQuery) {
32758 : {
32759 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32760 : int arg2 = (int) -1 ;
32761 0 : void *argp1 = 0 ;
32762 : int res1 = 0 ;
32763 : int val2 ;
32764 : int ecode2 = 0 ;
32765 : int argvi = 0;
32766 0 : dXSARGS;
32767 :
32768 0 : if ((items < 1) || (items > 2)) {
32769 0 : SWIG_croak("Usage: mapObj_freeQuery(self,qlayer);");
32770 : }
32771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32772 0 : if (!SWIG_IsOK(res1)) {
32773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_freeQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32774 : }
32775 0 : arg1 = (struct mapObj *)(argp1);
32776 0 : if (items > 1) {
32777 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32778 0 : if (!SWIG_IsOK(ecode2)) {
32779 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_freeQuery" "', argument " "2"" of type '" "int""'");
32780 : }
32781 : arg2 = (int)(val2);
32782 : }
32783 : mapObj_freeQuery(arg1,arg2);
32784 0 : ST(argvi) = sv_newmortal();
32785 :
32786 :
32787 0 : XSRETURN(argvi);
32788 0 : fail:
32789 :
32790 :
32791 0 : SWIG_croak_null();
32792 : }
32793 : }
32794 :
32795 :
32796 0 : XS(_wrap_mapObj_saveQueryAsGML) {
32797 : {
32798 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32799 : char *arg2 = (char *) 0 ;
32800 : char *arg3 = (char *) "GOMF" ;
32801 0 : void *argp1 = 0 ;
32802 : int res1 = 0 ;
32803 : int res2 ;
32804 0 : char *buf2 = 0 ;
32805 0 : int alloc2 = 0 ;
32806 : int res3 ;
32807 0 : char *buf3 = 0 ;
32808 0 : int alloc3 = 0 ;
32809 : int argvi = 0;
32810 : int result;
32811 0 : dXSARGS;
32812 :
32813 0 : if ((items < 2) || (items > 3)) {
32814 0 : SWIG_croak("Usage: mapObj_saveQueryAsGML(self,filename,ns);");
32815 : }
32816 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32817 0 : if (!SWIG_IsOK(res1)) {
32818 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQueryAsGML" "', argument " "1"" of type '" "struct mapObj *""'");
32819 : }
32820 0 : arg1 = (struct mapObj *)(argp1);
32821 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32822 0 : if (!SWIG_IsOK(res2)) {
32823 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQueryAsGML" "', argument " "2"" of type '" "char *""'");
32824 : }
32825 0 : arg2 = (char *)(buf2);
32826 0 : if (items > 2) {
32827 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32828 0 : if (!SWIG_IsOK(res3)) {
32829 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_saveQueryAsGML" "', argument " "3"" of type '" "char const *""'");
32830 : }
32831 0 : arg3 = (char *)(buf3);
32832 : }
32833 : result = (int)mapObj_saveQueryAsGML(arg1,arg2,(char const *)arg3);
32834 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32835 :
32836 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32837 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32838 0 : XSRETURN(argvi);
32839 0 : fail:
32840 :
32841 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32842 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32843 0 : SWIG_croak_null();
32844 : }
32845 : }
32846 :
32847 :
32848 0 : XS(_wrap_mapObj_getMetaData) {
32849 : {
32850 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32851 : char *arg2 = (char *) 0 ;
32852 0 : void *argp1 = 0 ;
32853 : int res1 = 0 ;
32854 : int res2 ;
32855 0 : char *buf2 = 0 ;
32856 0 : int alloc2 = 0 ;
32857 : int argvi = 0;
32858 : char *result = 0 ;
32859 0 : dXSARGS;
32860 :
32861 0 : if ((items < 2) || (items > 2)) {
32862 0 : SWIG_croak("Usage: mapObj_getMetaData(self,name);");
32863 : }
32864 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32865 0 : if (!SWIG_IsOK(res1)) {
32866 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32867 : }
32868 0 : arg1 = (struct mapObj *)(argp1);
32869 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32870 0 : if (!SWIG_IsOK(res2)) {
32871 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getMetaData" "', argument " "2"" of type '" "char *""'");
32872 : }
32873 0 : arg2 = (char *)(buf2);
32874 0 : result = (char *)mapObj_getMetaData(arg1,arg2);
32875 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32876 :
32877 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32878 0 : XSRETURN(argvi);
32879 0 : fail:
32880 :
32881 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32882 0 : SWIG_croak_null();
32883 : }
32884 : }
32885 :
32886 :
32887 0 : XS(_wrap_mapObj_setMetaData) {
32888 : {
32889 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32890 : char *arg2 = (char *) 0 ;
32891 : char *arg3 = (char *) 0 ;
32892 0 : void *argp1 = 0 ;
32893 : int res1 = 0 ;
32894 : int res2 ;
32895 0 : char *buf2 = 0 ;
32896 0 : int alloc2 = 0 ;
32897 : int res3 ;
32898 0 : char *buf3 = 0 ;
32899 0 : int alloc3 = 0 ;
32900 : int argvi = 0;
32901 : int result;
32902 0 : dXSARGS;
32903 :
32904 0 : if ((items < 3) || (items > 3)) {
32905 0 : SWIG_croak("Usage: mapObj_setMetaData(self,name,value);");
32906 : }
32907 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32908 0 : if (!SWIG_IsOK(res1)) {
32909 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32910 : }
32911 0 : arg1 = (struct mapObj *)(argp1);
32912 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32913 0 : if (!SWIG_IsOK(res2)) {
32914 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setMetaData" "', argument " "2"" of type '" "char *""'");
32915 : }
32916 0 : arg2 = (char *)(buf2);
32917 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32918 0 : if (!SWIG_IsOK(res3)) {
32919 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setMetaData" "', argument " "3"" of type '" "char *""'");
32920 : }
32921 0 : arg3 = (char *)(buf3);
32922 : result = (int)mapObj_setMetaData(arg1,arg2,arg3);
32923 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32924 :
32925 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32926 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32927 0 : XSRETURN(argvi);
32928 0 : fail:
32929 :
32930 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32931 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32932 0 : SWIG_croak_null();
32933 : }
32934 : }
32935 :
32936 :
32937 0 : XS(_wrap_mapObj_removeMetaData) {
32938 : {
32939 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32940 : char *arg2 = (char *) 0 ;
32941 0 : void *argp1 = 0 ;
32942 : int res1 = 0 ;
32943 : int res2 ;
32944 0 : char *buf2 = 0 ;
32945 0 : int alloc2 = 0 ;
32946 : int argvi = 0;
32947 : int result;
32948 0 : dXSARGS;
32949 :
32950 0 : if ((items < 2) || (items > 2)) {
32951 0 : SWIG_croak("Usage: mapObj_removeMetaData(self,name);");
32952 : }
32953 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32954 0 : if (!SWIG_IsOK(res1)) {
32955 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32956 : }
32957 0 : arg1 = (struct mapObj *)(argp1);
32958 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32959 0 : if (!SWIG_IsOK(res2)) {
32960 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
32961 : }
32962 0 : arg2 = (char *)(buf2);
32963 : result = (int)mapObj_removeMetaData(arg1,arg2);
32964 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32965 :
32966 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32967 0 : XSRETURN(argvi);
32968 0 : fail:
32969 :
32970 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32971 0 : SWIG_croak_null();
32972 : }
32973 : }
32974 :
32975 :
32976 0 : XS(_wrap_mapObj_getFirstMetaDataKey) {
32977 : {
32978 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32979 0 : void *argp1 = 0 ;
32980 : int res1 = 0 ;
32981 : int argvi = 0;
32982 : char *result = 0 ;
32983 0 : dXSARGS;
32984 :
32985 0 : if ((items < 1) || (items > 1)) {
32986 0 : SWIG_croak("Usage: mapObj_getFirstMetaDataKey(self);");
32987 : }
32988 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32989 0 : if (!SWIG_IsOK(res1)) {
32990 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
32991 : }
32992 0 : arg1 = (struct mapObj *)(argp1);
32993 : result = (char *)mapObj_getFirstMetaDataKey(arg1);
32994 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32995 :
32996 0 : XSRETURN(argvi);
32997 0 : fail:
32998 :
32999 0 : SWIG_croak_null();
33000 : }
33001 : }
33002 :
33003 :
33004 0 : XS(_wrap_mapObj_getNextMetaDataKey) {
33005 : {
33006 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33007 : char *arg2 = (char *) 0 ;
33008 0 : void *argp1 = 0 ;
33009 : int res1 = 0 ;
33010 : int res2 ;
33011 0 : char *buf2 = 0 ;
33012 0 : int alloc2 = 0 ;
33013 : int argvi = 0;
33014 : char *result = 0 ;
33015 0 : dXSARGS;
33016 :
33017 0 : if ((items < 2) || (items > 2)) {
33018 0 : SWIG_croak("Usage: mapObj_getNextMetaDataKey(self,lastkey);");
33019 : }
33020 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33021 0 : if (!SWIG_IsOK(res1)) {
33022 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
33023 : }
33024 0 : arg1 = (struct mapObj *)(argp1);
33025 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33026 0 : if (!SWIG_IsOK(res2)) {
33027 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
33028 : }
33029 0 : arg2 = (char *)(buf2);
33030 : result = (char *)mapObj_getNextMetaDataKey(arg1,arg2);
33031 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33032 :
33033 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33034 0 : XSRETURN(argvi);
33035 0 : fail:
33036 :
33037 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33038 0 : SWIG_croak_null();
33039 : }
33040 : }
33041 :
33042 :
33043 0 : XS(_wrap_mapObj_setSymbolSet) {
33044 : {
33045 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33046 : char *arg2 = (char *) 0 ;
33047 0 : void *argp1 = 0 ;
33048 : int res1 = 0 ;
33049 : int res2 ;
33050 0 : char *buf2 = 0 ;
33051 0 : int alloc2 = 0 ;
33052 : int argvi = 0;
33053 : int result;
33054 0 : dXSARGS;
33055 :
33056 0 : if ((items < 2) || (items > 2)) {
33057 0 : SWIG_croak("Usage: mapObj_setSymbolSet(self,szFileName);");
33058 : }
33059 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33060 0 : if (!SWIG_IsOK(res1)) {
33061 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSymbolSet" "', argument " "1"" of type '" "struct mapObj *""'");
33062 : }
33063 0 : arg1 = (struct mapObj *)(argp1);
33064 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33065 0 : if (!SWIG_IsOK(res2)) {
33066 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setSymbolSet" "', argument " "2"" of type '" "char *""'");
33067 : }
33068 0 : arg2 = (char *)(buf2);
33069 0 : result = (int)mapObj_setSymbolSet(arg1,arg2);
33070 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33071 :
33072 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33073 0 : XSRETURN(argvi);
33074 0 : fail:
33075 :
33076 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33077 0 : SWIG_croak_null();
33078 : }
33079 : }
33080 :
33081 :
33082 0 : XS(_wrap_mapObj_getNumSymbols) {
33083 : {
33084 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33085 0 : void *argp1 = 0 ;
33086 : int res1 = 0 ;
33087 : int argvi = 0;
33088 : int result;
33089 0 : dXSARGS;
33090 :
33091 0 : if ((items < 1) || (items > 1)) {
33092 0 : SWIG_croak("Usage: mapObj_getNumSymbols(self);");
33093 : }
33094 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33095 0 : if (!SWIG_IsOK(res1)) {
33096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNumSymbols" "', argument " "1"" of type '" "struct mapObj *""'");
33097 : }
33098 0 : arg1 = (struct mapObj *)(argp1);
33099 0 : result = (int)mapObj_getNumSymbols(arg1);
33100 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33101 :
33102 0 : XSRETURN(argvi);
33103 0 : fail:
33104 :
33105 0 : SWIG_croak_null();
33106 : }
33107 : }
33108 :
33109 :
33110 0 : XS(_wrap_mapObj_setFontSet) {
33111 : {
33112 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33113 : char *arg2 = (char *) 0 ;
33114 0 : void *argp1 = 0 ;
33115 : int res1 = 0 ;
33116 : int res2 ;
33117 0 : char *buf2 = 0 ;
33118 0 : int alloc2 = 0 ;
33119 : int argvi = 0;
33120 : int result;
33121 0 : dXSARGS;
33122 :
33123 0 : if ((items < 2) || (items > 2)) {
33124 0 : SWIG_croak("Usage: mapObj_setFontSet(self,filename);");
33125 : }
33126 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33127 0 : if (!SWIG_IsOK(res1)) {
33128 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setFontSet" "', argument " "1"" of type '" "struct mapObj *""'");
33129 : }
33130 0 : arg1 = (struct mapObj *)(argp1);
33131 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33132 0 : if (!SWIG_IsOK(res2)) {
33133 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setFontSet" "', argument " "2"" of type '" "char *""'");
33134 : }
33135 0 : arg2 = (char *)(buf2);
33136 0 : result = (int)mapObj_setFontSet(arg1,arg2);
33137 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33138 :
33139 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33140 0 : XSRETURN(argvi);
33141 0 : fail:
33142 :
33143 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33144 0 : SWIG_croak_null();
33145 : }
33146 : }
33147 :
33148 :
33149 0 : XS(_wrap_mapObj_saveMapContext) {
33150 : {
33151 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33152 : char *arg2 = (char *) 0 ;
33153 0 : void *argp1 = 0 ;
33154 : int res1 = 0 ;
33155 : int res2 ;
33156 0 : char *buf2 = 0 ;
33157 0 : int alloc2 = 0 ;
33158 : int argvi = 0;
33159 : int result;
33160 0 : dXSARGS;
33161 :
33162 0 : if ((items < 2) || (items > 2)) {
33163 0 : SWIG_croak("Usage: mapObj_saveMapContext(self,szFileName);");
33164 : }
33165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33166 0 : if (!SWIG_IsOK(res1)) {
33167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
33168 : }
33169 0 : arg1 = (struct mapObj *)(argp1);
33170 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33171 0 : if (!SWIG_IsOK(res2)) {
33172 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveMapContext" "', argument " "2"" of type '" "char *""'");
33173 : }
33174 0 : arg2 = (char *)(buf2);
33175 : result = (int)mapObj_saveMapContext(arg1,arg2);
33176 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33177 :
33178 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33179 0 : XSRETURN(argvi);
33180 0 : fail:
33181 :
33182 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33183 0 : SWIG_croak_null();
33184 : }
33185 : }
33186 :
33187 :
33188 0 : XS(_wrap_mapObj_loadMapContext) {
33189 : {
33190 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33191 : char *arg2 = (char *) 0 ;
33192 : int arg3 = (int) 0 ;
33193 0 : void *argp1 = 0 ;
33194 : int res1 = 0 ;
33195 : int res2 ;
33196 0 : char *buf2 = 0 ;
33197 0 : int alloc2 = 0 ;
33198 : int val3 ;
33199 : int ecode3 = 0 ;
33200 : int argvi = 0;
33201 : int result;
33202 0 : dXSARGS;
33203 :
33204 0 : if ((items < 2) || (items > 3)) {
33205 0 : SWIG_croak("Usage: mapObj_loadMapContext(self,szFileName,useUniqueNames);");
33206 : }
33207 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33208 0 : if (!SWIG_IsOK(res1)) {
33209 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
33210 : }
33211 0 : arg1 = (struct mapObj *)(argp1);
33212 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33213 0 : if (!SWIG_IsOK(res2)) {
33214 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadMapContext" "', argument " "2"" of type '" "char *""'");
33215 : }
33216 0 : arg2 = (char *)(buf2);
33217 0 : if (items > 2) {
33218 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
33219 0 : if (!SWIG_IsOK(ecode3)) {
33220 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_loadMapContext" "', argument " "3"" of type '" "int""'");
33221 : }
33222 : arg3 = (int)(val3);
33223 : }
33224 : result = (int)mapObj_loadMapContext(arg1,arg2,arg3);
33225 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33226 :
33227 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33228 :
33229 0 : XSRETURN(argvi);
33230 0 : fail:
33231 :
33232 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33233 :
33234 0 : SWIG_croak_null();
33235 : }
33236 : }
33237 :
33238 :
33239 0 : XS(_wrap_mapObj_moveLayerUp) {
33240 : {
33241 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33242 : int arg2 ;
33243 0 : void *argp1 = 0 ;
33244 : int res1 = 0 ;
33245 : int val2 ;
33246 : int ecode2 = 0 ;
33247 : int argvi = 0;
33248 : int result;
33249 0 : dXSARGS;
33250 :
33251 0 : if ((items < 2) || (items > 2)) {
33252 0 : SWIG_croak("Usage: mapObj_moveLayerUp(self,layerindex);");
33253 : }
33254 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33255 0 : if (!SWIG_IsOK(res1)) {
33256 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerUp" "', argument " "1"" of type '" "struct mapObj *""'");
33257 : }
33258 0 : arg1 = (struct mapObj *)(argp1);
33259 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33260 0 : if (!SWIG_IsOK(ecode2)) {
33261 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerUp" "', argument " "2"" of type '" "int""'");
33262 : }
33263 : arg2 = (int)(val2);
33264 : result = (int)mapObj_moveLayerUp(arg1,arg2);
33265 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33266 :
33267 :
33268 0 : XSRETURN(argvi);
33269 0 : fail:
33270 :
33271 :
33272 0 : SWIG_croak_null();
33273 : }
33274 : }
33275 :
33276 :
33277 0 : XS(_wrap_mapObj_moveLayerDown) {
33278 : {
33279 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33280 : int arg2 ;
33281 0 : void *argp1 = 0 ;
33282 : int res1 = 0 ;
33283 : int val2 ;
33284 : int ecode2 = 0 ;
33285 : int argvi = 0;
33286 : int result;
33287 0 : dXSARGS;
33288 :
33289 0 : if ((items < 2) || (items > 2)) {
33290 0 : SWIG_croak("Usage: mapObj_moveLayerDown(self,layerindex);");
33291 : }
33292 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33293 0 : if (!SWIG_IsOK(res1)) {
33294 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerDown" "', argument " "1"" of type '" "struct mapObj *""'");
33295 : }
33296 0 : arg1 = (struct mapObj *)(argp1);
33297 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33298 0 : if (!SWIG_IsOK(ecode2)) {
33299 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerDown" "', argument " "2"" of type '" "int""'");
33300 : }
33301 : arg2 = (int)(val2);
33302 : result = (int)mapObj_moveLayerDown(arg1,arg2);
33303 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33304 :
33305 :
33306 0 : XSRETURN(argvi);
33307 0 : fail:
33308 :
33309 :
33310 0 : SWIG_croak_null();
33311 : }
33312 : }
33313 :
33314 :
33315 0 : XS(_wrap_mapObj_getLayersDrawingOrder) {
33316 : {
33317 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33318 0 : void *argp1 = 0 ;
33319 : int res1 = 0 ;
33320 : int argvi = 0;
33321 : intarray *result = 0 ;
33322 0 : dXSARGS;
33323 :
33324 0 : if ((items < 1) || (items > 1)) {
33325 0 : SWIG_croak("Usage: mapObj_getLayersDrawingOrder(self);");
33326 : }
33327 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33328 0 : if (!SWIG_IsOK(res1)) {
33329 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
33330 : }
33331 0 : arg1 = (struct mapObj *)(argp1);
33332 0 : result = (intarray *)mapObj_getLayersDrawingOrder(arg1);
33333 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
33334 :
33335 0 : XSRETURN(argvi);
33336 0 : fail:
33337 :
33338 0 : SWIG_croak_null();
33339 : }
33340 : }
33341 :
33342 :
33343 0 : XS(_wrap_mapObj_setLayersDrawingOrder) {
33344 : {
33345 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33346 : int *arg2 = (int *) 0 ;
33347 0 : void *argp1 = 0 ;
33348 : int res1 = 0 ;
33349 0 : void *argp2 = 0 ;
33350 : int res2 = 0 ;
33351 : int argvi = 0;
33352 : int result;
33353 0 : dXSARGS;
33354 :
33355 0 : if ((items < 2) || (items > 2)) {
33356 0 : SWIG_croak("Usage: mapObj_setLayersDrawingOrder(self,panIndexes);");
33357 : }
33358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33359 0 : if (!SWIG_IsOK(res1)) {
33360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
33361 : }
33362 0 : arg1 = (struct mapObj *)(argp1);
33363 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
33364 0 : if (!SWIG_IsOK(res2)) {
33365 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "2"" of type '" "int *""'");
33366 : }
33367 0 : arg2 = (int *)(argp2);
33368 : result = (int)mapObj_setLayersDrawingOrder(arg1,arg2);
33369 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33370 :
33371 :
33372 0 : XSRETURN(argvi);
33373 0 : fail:
33374 :
33375 :
33376 0 : SWIG_croak_null();
33377 : }
33378 : }
33379 :
33380 :
33381 0 : XS(_wrap_mapObj_setConfigOption) {
33382 : {
33383 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33384 : char *arg2 = (char *) 0 ;
33385 : char *arg3 = (char *) 0 ;
33386 0 : void *argp1 = 0 ;
33387 : int res1 = 0 ;
33388 : int res2 ;
33389 0 : char *buf2 = 0 ;
33390 0 : int alloc2 = 0 ;
33391 : int res3 ;
33392 0 : char *buf3 = 0 ;
33393 0 : int alloc3 = 0 ;
33394 : int argvi = 0;
33395 0 : dXSARGS;
33396 :
33397 0 : if ((items < 3) || (items > 3)) {
33398 0 : SWIG_croak("Usage: mapObj_setConfigOption(self,key,value);");
33399 : }
33400 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33401 0 : if (!SWIG_IsOK(res1)) {
33402 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
33403 : }
33404 0 : arg1 = (struct mapObj *)(argp1);
33405 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33406 0 : if (!SWIG_IsOK(res2)) {
33407 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setConfigOption" "', argument " "2"" of type '" "char *""'");
33408 : }
33409 0 : arg2 = (char *)(buf2);
33410 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33411 0 : if (!SWIG_IsOK(res3)) {
33412 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setConfigOption" "', argument " "3"" of type '" "char *""'");
33413 : }
33414 0 : arg3 = (char *)(buf3);
33415 : mapObj_setConfigOption(arg1,arg2,arg3);
33416 0 : ST(argvi) = sv_newmortal();
33417 :
33418 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33419 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33420 0 : XSRETURN(argvi);
33421 0 : fail:
33422 :
33423 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33424 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33425 0 : SWIG_croak_null();
33426 : }
33427 : }
33428 :
33429 :
33430 0 : XS(_wrap_mapObj_getConfigOption) {
33431 : {
33432 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33433 : char *arg2 = (char *) 0 ;
33434 0 : void *argp1 = 0 ;
33435 : int res1 = 0 ;
33436 : int res2 ;
33437 0 : char *buf2 = 0 ;
33438 0 : int alloc2 = 0 ;
33439 : int argvi = 0;
33440 : char *result = 0 ;
33441 0 : dXSARGS;
33442 :
33443 0 : if ((items < 2) || (items > 2)) {
33444 0 : SWIG_croak("Usage: mapObj_getConfigOption(self,key);");
33445 : }
33446 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33447 0 : if (!SWIG_IsOK(res1)) {
33448 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
33449 : }
33450 0 : arg1 = (struct mapObj *)(argp1);
33451 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33452 0 : if (!SWIG_IsOK(res2)) {
33453 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getConfigOption" "', argument " "2"" of type '" "char *""'");
33454 : }
33455 0 : arg2 = (char *)(buf2);
33456 : result = (char *)mapObj_getConfigOption(arg1,arg2);
33457 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33458 :
33459 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33460 0 : XSRETURN(argvi);
33461 0 : fail:
33462 :
33463 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33464 0 : SWIG_croak_null();
33465 : }
33466 : }
33467 :
33468 :
33469 0 : XS(_wrap_mapObj_applyConfigOptions) {
33470 : {
33471 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33472 0 : void *argp1 = 0 ;
33473 : int res1 = 0 ;
33474 : int argvi = 0;
33475 0 : dXSARGS;
33476 :
33477 0 : if ((items < 1) || (items > 1)) {
33478 0 : SWIG_croak("Usage: mapObj_applyConfigOptions(self);");
33479 : }
33480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33481 0 : if (!SWIG_IsOK(res1)) {
33482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyConfigOptions" "', argument " "1"" of type '" "struct mapObj *""'");
33483 : }
33484 0 : arg1 = (struct mapObj *)(argp1);
33485 : mapObj_applyConfigOptions(arg1);
33486 0 : ST(argvi) = sv_newmortal();
33487 :
33488 0 : XSRETURN(argvi);
33489 0 : fail:
33490 :
33491 0 : SWIG_croak_null();
33492 : }
33493 : }
33494 :
33495 :
33496 0 : XS(_wrap_mapObj_applySLD) {
33497 : {
33498 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33499 : char *arg2 = (char *) 0 ;
33500 0 : void *argp1 = 0 ;
33501 : int res1 = 0 ;
33502 : int res2 ;
33503 0 : char *buf2 = 0 ;
33504 0 : int alloc2 = 0 ;
33505 : int argvi = 0;
33506 : int result;
33507 0 : dXSARGS;
33508 :
33509 0 : if ((items < 2) || (items > 2)) {
33510 0 : SWIG_croak("Usage: mapObj_applySLD(self,sld);");
33511 : }
33512 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33513 0 : if (!SWIG_IsOK(res1)) {
33514 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLD" "', argument " "1"" of type '" "struct mapObj *""'");
33515 : }
33516 0 : arg1 = (struct mapObj *)(argp1);
33517 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33518 0 : if (!SWIG_IsOK(res2)) {
33519 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLD" "', argument " "2"" of type '" "char *""'");
33520 : }
33521 0 : arg2 = (char *)(buf2);
33522 : result = (int)mapObj_applySLD(arg1,arg2);
33523 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33524 :
33525 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33526 0 : XSRETURN(argvi);
33527 0 : fail:
33528 :
33529 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33530 0 : SWIG_croak_null();
33531 : }
33532 : }
33533 :
33534 :
33535 0 : XS(_wrap_mapObj_applySLDURL) {
33536 : {
33537 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33538 : char *arg2 = (char *) 0 ;
33539 0 : void *argp1 = 0 ;
33540 : int res1 = 0 ;
33541 : int res2 ;
33542 0 : char *buf2 = 0 ;
33543 0 : int alloc2 = 0 ;
33544 : int argvi = 0;
33545 : int result;
33546 0 : dXSARGS;
33547 :
33548 0 : if ((items < 2) || (items > 2)) {
33549 0 : SWIG_croak("Usage: mapObj_applySLDURL(self,sld);");
33550 : }
33551 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33552 0 : if (!SWIG_IsOK(res1)) {
33553 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLDURL" "', argument " "1"" of type '" "struct mapObj *""'");
33554 : }
33555 0 : arg1 = (struct mapObj *)(argp1);
33556 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33557 0 : if (!SWIG_IsOK(res2)) {
33558 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
33559 : }
33560 0 : arg2 = (char *)(buf2);
33561 : result = (int)mapObj_applySLDURL(arg1,arg2);
33562 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33563 :
33564 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33565 0 : XSRETURN(argvi);
33566 0 : fail:
33567 :
33568 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33569 0 : SWIG_croak_null();
33570 : }
33571 : }
33572 :
33573 :
33574 0 : XS(_wrap_mapObj_generateSLD) {
33575 : {
33576 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33577 : char *arg2 = (char *) NULL ;
33578 0 : void *argp1 = 0 ;
33579 : int res1 = 0 ;
33580 : int res2 ;
33581 0 : char *buf2 = 0 ;
33582 0 : int alloc2 = 0 ;
33583 : int argvi = 0;
33584 : char *result = 0 ;
33585 0 : dXSARGS;
33586 :
33587 0 : if ((items < 1) || (items > 2)) {
33588 0 : SWIG_croak("Usage: mapObj_generateSLD(self,sldVersion);");
33589 : }
33590 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33591 0 : if (!SWIG_IsOK(res1)) {
33592 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_generateSLD" "', argument " "1"" of type '" "struct mapObj *""'");
33593 : }
33594 0 : arg1 = (struct mapObj *)(argp1);
33595 0 : if (items > 1) {
33596 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33597 0 : if (!SWIG_IsOK(res2)) {
33598 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_generateSLD" "', argument " "2"" of type '" "char *""'");
33599 : }
33600 0 : arg2 = (char *)(buf2);
33601 : }
33602 : result = (char *)mapObj_generateSLD(arg1,arg2);
33603 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33604 :
33605 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33606 0 : free((char*)result);
33607 0 : XSRETURN(argvi);
33608 0 : fail:
33609 :
33610 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33611 0 : SWIG_croak_null();
33612 : }
33613 : }
33614 :
33615 :
33616 0 : XS(_wrap_mapObj_processTemplate) {
33617 : {
33618 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33619 : int arg2 ;
33620 : char **arg3 = (char **) 0 ;
33621 : char **arg4 = (char **) 0 ;
33622 : int arg5 ;
33623 0 : void *argp1 = 0 ;
33624 : int res1 = 0 ;
33625 : int val2 ;
33626 : int ecode2 = 0 ;
33627 0 : void *argp3 = 0 ;
33628 : int res3 = 0 ;
33629 0 : void *argp4 = 0 ;
33630 : int res4 = 0 ;
33631 : int val5 ;
33632 : int ecode5 = 0 ;
33633 : int argvi = 0;
33634 : char *result = 0 ;
33635 0 : dXSARGS;
33636 :
33637 0 : if ((items < 5) || (items > 5)) {
33638 0 : SWIG_croak("Usage: mapObj_processTemplate(self,bGenerateImages,names,values,numentries);");
33639 : }
33640 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33641 0 : if (!SWIG_IsOK(res1)) {
33642 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33643 : }
33644 0 : arg1 = (struct mapObj *)(argp1);
33645 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33646 0 : if (!SWIG_IsOK(ecode2)) {
33647 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_processTemplate" "', argument " "2"" of type '" "int""'");
33648 : }
33649 : arg2 = (int)(val2);
33650 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33651 0 : if (!SWIG_IsOK(res3)) {
33652 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processTemplate" "', argument " "3"" of type '" "char **""'");
33653 : }
33654 0 : arg3 = (char **)(argp3);
33655 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_p_char, 0 | 0 );
33656 0 : if (!SWIG_IsOK(res4)) {
33657 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_processTemplate" "', argument " "4"" of type '" "char **""'");
33658 : }
33659 0 : arg4 = (char **)(argp4);
33660 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
33661 0 : if (!SWIG_IsOK(ecode5)) {
33662 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_processTemplate" "', argument " "5"" of type '" "int""'");
33663 : }
33664 : arg5 = (int)(val5);
33665 : result = (char *)mapObj_processTemplate(arg1,arg2,arg3,arg4,arg5);
33666 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33667 :
33668 :
33669 :
33670 :
33671 :
33672 0 : free((char*)result);
33673 0 : XSRETURN(argvi);
33674 0 : fail:
33675 :
33676 :
33677 :
33678 :
33679 :
33680 0 : SWIG_croak_null();
33681 : }
33682 : }
33683 :
33684 :
33685 0 : XS(_wrap_mapObj_processLegendTemplate) {
33686 : {
33687 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33688 : char **arg2 = (char **) 0 ;
33689 : char **arg3 = (char **) 0 ;
33690 : int arg4 ;
33691 0 : void *argp1 = 0 ;
33692 : int res1 = 0 ;
33693 0 : void *argp2 = 0 ;
33694 : int res2 = 0 ;
33695 0 : void *argp3 = 0 ;
33696 : int res3 = 0 ;
33697 : int val4 ;
33698 : int ecode4 = 0 ;
33699 : int argvi = 0;
33700 : char *result = 0 ;
33701 0 : dXSARGS;
33702 :
33703 0 : if ((items < 4) || (items > 4)) {
33704 0 : SWIG_croak("Usage: mapObj_processLegendTemplate(self,names,values,numentries);");
33705 : }
33706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33707 0 : if (!SWIG_IsOK(res1)) {
33708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processLegendTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33709 : }
33710 0 : arg1 = (struct mapObj *)(argp1);
33711 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33712 0 : if (!SWIG_IsOK(res2)) {
33713 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processLegendTemplate" "', argument " "2"" of type '" "char **""'");
33714 : }
33715 0 : arg2 = (char **)(argp2);
33716 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33717 0 : if (!SWIG_IsOK(res3)) {
33718 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processLegendTemplate" "', argument " "3"" of type '" "char **""'");
33719 : }
33720 0 : arg3 = (char **)(argp3);
33721 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33722 0 : if (!SWIG_IsOK(ecode4)) {
33723 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processLegendTemplate" "', argument " "4"" of type '" "int""'");
33724 : }
33725 : arg4 = (int)(val4);
33726 : result = (char *)mapObj_processLegendTemplate(arg1,arg2,arg3,arg4);
33727 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33728 :
33729 :
33730 :
33731 :
33732 0 : free((char*)result);
33733 0 : XSRETURN(argvi);
33734 0 : fail:
33735 :
33736 :
33737 :
33738 :
33739 0 : SWIG_croak_null();
33740 : }
33741 : }
33742 :
33743 :
33744 0 : XS(_wrap_mapObj_processQueryTemplate) {
33745 : {
33746 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33747 : char **arg2 = (char **) 0 ;
33748 : char **arg3 = (char **) 0 ;
33749 : int arg4 ;
33750 0 : void *argp1 = 0 ;
33751 : int res1 = 0 ;
33752 0 : void *argp2 = 0 ;
33753 : int res2 = 0 ;
33754 0 : void *argp3 = 0 ;
33755 : int res3 = 0 ;
33756 : int val4 ;
33757 : int ecode4 = 0 ;
33758 : int argvi = 0;
33759 : char *result = 0 ;
33760 0 : dXSARGS;
33761 :
33762 0 : if ((items < 4) || (items > 4)) {
33763 0 : SWIG_croak("Usage: mapObj_processQueryTemplate(self,names,values,numentries);");
33764 : }
33765 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33766 0 : if (!SWIG_IsOK(res1)) {
33767 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processQueryTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33768 : }
33769 0 : arg1 = (struct mapObj *)(argp1);
33770 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33771 0 : if (!SWIG_IsOK(res2)) {
33772 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processQueryTemplate" "', argument " "2"" of type '" "char **""'");
33773 : }
33774 0 : arg2 = (char **)(argp2);
33775 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33776 0 : if (!SWIG_IsOK(res3)) {
33777 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processQueryTemplate" "', argument " "3"" of type '" "char **""'");
33778 : }
33779 0 : arg3 = (char **)(argp3);
33780 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33781 0 : if (!SWIG_IsOK(ecode4)) {
33782 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processQueryTemplate" "', argument " "4"" of type '" "int""'");
33783 : }
33784 : arg4 = (int)(val4);
33785 : result = (char *)mapObj_processQueryTemplate(arg1,arg2,arg3,arg4);
33786 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33787 :
33788 :
33789 :
33790 :
33791 0 : free((char*)result);
33792 0 : XSRETURN(argvi);
33793 0 : fail:
33794 :
33795 :
33796 :
33797 :
33798 0 : SWIG_croak_null();
33799 : }
33800 : }
33801 :
33802 :
33803 0 : XS(_wrap_mapObj_getOutputFormatByName) {
33804 : {
33805 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33806 : char *arg2 = (char *) 0 ;
33807 0 : void *argp1 = 0 ;
33808 : int res1 = 0 ;
33809 : int res2 ;
33810 0 : char *buf2 = 0 ;
33811 0 : int alloc2 = 0 ;
33812 : int argvi = 0;
33813 : outputFormatObj *result = 0 ;
33814 0 : dXSARGS;
33815 :
33816 0 : if ((items < 2) || (items > 2)) {
33817 0 : SWIG_croak("Usage: mapObj_getOutputFormatByName(self,name);");
33818 : }
33819 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33820 0 : if (!SWIG_IsOK(res1)) {
33821 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormatByName" "', argument " "1"" of type '" "struct mapObj *""'");
33822 : }
33823 0 : arg1 = (struct mapObj *)(argp1);
33824 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33825 0 : if (!SWIG_IsOK(res2)) {
33826 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getOutputFormatByName" "', argument " "2"" of type '" "char *""'");
33827 : }
33828 0 : arg2 = (char *)(buf2);
33829 : result = (outputFormatObj *)mapObj_getOutputFormatByName(arg1,arg2);
33830 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
33831 :
33832 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33833 0 : XSRETURN(argvi);
33834 0 : fail:
33835 :
33836 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33837 0 : SWIG_croak_null();
33838 : }
33839 : }
33840 :
33841 :
33842 0 : XS(_wrap_mapObj_appendOutputFormat) {
33843 : {
33844 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33845 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
33846 0 : void *argp1 = 0 ;
33847 : int res1 = 0 ;
33848 0 : void *argp2 = 0 ;
33849 : int res2 = 0 ;
33850 : int argvi = 0;
33851 : int result;
33852 0 : dXSARGS;
33853 :
33854 0 : if ((items < 2) || (items > 2)) {
33855 0 : SWIG_croak("Usage: mapObj_appendOutputFormat(self,format);");
33856 : }
33857 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33858 0 : if (!SWIG_IsOK(res1)) {
33859 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_appendOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33860 : }
33861 0 : arg1 = (struct mapObj *)(argp1);
33862 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
33863 0 : if (!SWIG_IsOK(res2)) {
33864 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_appendOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
33865 : }
33866 0 : arg2 = (outputFormatObj *)(argp2);
33867 : result = (int)mapObj_appendOutputFormat(arg1,arg2);
33868 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33869 :
33870 :
33871 0 : XSRETURN(argvi);
33872 0 : fail:
33873 :
33874 :
33875 0 : SWIG_croak_null();
33876 : }
33877 : }
33878 :
33879 :
33880 0 : XS(_wrap_mapObj_removeOutputFormat) {
33881 : {
33882 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33883 : char *arg2 = (char *) 0 ;
33884 0 : void *argp1 = 0 ;
33885 : int res1 = 0 ;
33886 : int res2 ;
33887 0 : char *buf2 = 0 ;
33888 0 : int alloc2 = 0 ;
33889 : int argvi = 0;
33890 : int result;
33891 0 : dXSARGS;
33892 :
33893 0 : if ((items < 2) || (items > 2)) {
33894 0 : SWIG_croak("Usage: mapObj_removeOutputFormat(self,name);");
33895 : }
33896 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33897 0 : if (!SWIG_IsOK(res1)) {
33898 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33899 : }
33900 0 : arg1 = (struct mapObj *)(argp1);
33901 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33902 0 : if (!SWIG_IsOK(res2)) {
33903 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeOutputFormat" "', argument " "2"" of type '" "char *""'");
33904 : }
33905 0 : arg2 = (char *)(buf2);
33906 : result = (int)mapObj_removeOutputFormat(arg1,arg2);
33907 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33908 :
33909 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33910 0 : XSRETURN(argvi);
33911 0 : fail:
33912 :
33913 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33914 0 : SWIG_croak_null();
33915 : }
33916 : }
33917 :
33918 :
33919 0 : XS(_wrap_mapObj_loadOWSParameters) {
33920 : {
33921 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33922 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33923 : char *arg3 = (char *) "1.1.1" ;
33924 0 : void *argp1 = 0 ;
33925 : int res1 = 0 ;
33926 0 : void *argp2 = 0 ;
33927 : int res2 = 0 ;
33928 : int res3 ;
33929 0 : char *buf3 = 0 ;
33930 0 : int alloc3 = 0 ;
33931 : int argvi = 0;
33932 : int result;
33933 0 : dXSARGS;
33934 :
33935 0 : if ((items < 2) || (items > 3)) {
33936 0 : SWIG_croak("Usage: mapObj_loadOWSParameters(self,request,wmtver_string);");
33937 : }
33938 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33939 0 : if (!SWIG_IsOK(res1)) {
33940 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadOWSParameters" "', argument " "1"" of type '" "struct mapObj *""'");
33941 : }
33942 0 : arg1 = (struct mapObj *)(argp1);
33943 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33944 0 : if (!SWIG_IsOK(res2)) {
33945 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadOWSParameters" "', argument " "2"" of type '" "cgiRequestObj *""'");
33946 : }
33947 0 : arg2 = (cgiRequestObj *)(argp2);
33948 0 : if (items > 2) {
33949 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33950 0 : if (!SWIG_IsOK(res3)) {
33951 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_loadOWSParameters" "', argument " "3"" of type '" "char *""'");
33952 : }
33953 0 : arg3 = (char *)(buf3);
33954 : }
33955 : result = (int)mapObj_loadOWSParameters(arg1,arg2,arg3);
33956 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33957 :
33958 :
33959 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33960 0 : XSRETURN(argvi);
33961 0 : fail:
33962 :
33963 :
33964 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33965 0 : SWIG_croak_null();
33966 : }
33967 : }
33968 :
33969 :
33970 1 : XS(_wrap_mapObj_OWSDispatch) {
33971 : {
33972 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33973 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33974 1 : void *argp1 = 0 ;
33975 : int res1 = 0 ;
33976 1 : void *argp2 = 0 ;
33977 : int res2 = 0 ;
33978 : int argvi = 0;
33979 : int result;
33980 1 : dXSARGS;
33981 :
33982 1 : if ((items < 2) || (items > 2)) {
33983 0 : SWIG_croak("Usage: mapObj_OWSDispatch(self,req);");
33984 : }
33985 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33986 1 : if (!SWIG_IsOK(res1)) {
33987 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_OWSDispatch" "', argument " "1"" of type '" "struct mapObj *""'");
33988 : }
33989 1 : arg1 = (struct mapObj *)(argp1);
33990 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33991 1 : if (!SWIG_IsOK(res2)) {
33992 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_OWSDispatch" "', argument " "2"" of type '" "cgiRequestObj *""'");
33993 : }
33994 1 : arg2 = (cgiRequestObj *)(argp2);
33995 : result = (int)mapObj_OWSDispatch(arg1,arg2);
33996 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33997 :
33998 :
33999 1 : XSRETURN(argvi);
34000 0 : fail:
34001 :
34002 :
34003 0 : SWIG_croak_null();
34004 : }
34005 : }
34006 :
34007 :
34008 0 : XS(_wrap_mapObj_convertToString) {
34009 : {
34010 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34011 0 : void *argp1 = 0 ;
34012 : int res1 = 0 ;
34013 : int argvi = 0;
34014 : char *result = 0 ;
34015 0 : dXSARGS;
34016 :
34017 0 : if ((items < 1) || (items > 1)) {
34018 0 : SWIG_croak("Usage: mapObj_convertToString(self);");
34019 : }
34020 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34021 0 : if (!SWIG_IsOK(res1)) {
34022 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_convertToString" "', argument " "1"" of type '" "struct mapObj *""'");
34023 : }
34024 0 : arg1 = (struct mapObj *)(argp1);
34025 : result = (char *)mapObj_convertToString(arg1);
34026 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
34027 :
34028 0 : free((char*)result);
34029 0 : XSRETURN(argvi);
34030 0 : fail:
34031 :
34032 0 : SWIG_croak_null();
34033 : }
34034 : }
34035 :
34036 :
34037 0 : XS(_wrap_mapObj_applyDefaultSubstitutions) {
34038 : {
34039 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34040 0 : void *argp1 = 0 ;
34041 : int res1 = 0 ;
34042 : int argvi = 0;
34043 0 : dXSARGS;
34044 :
34045 0 : if ((items < 1) || (items > 1)) {
34046 0 : SWIG_croak("Usage: mapObj_applyDefaultSubstitutions(self);");
34047 : }
34048 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34049 0 : if (!SWIG_IsOK(res1)) {
34050 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyDefaultSubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
34051 : }
34052 0 : arg1 = (struct mapObj *)(argp1);
34053 : mapObj_applyDefaultSubstitutions(arg1);
34054 0 : ST(argvi) = sv_newmortal();
34055 :
34056 0 : XSRETURN(argvi);
34057 0 : fail:
34058 :
34059 0 : SWIG_croak_null();
34060 : }
34061 : }
34062 :
34063 :
34064 0 : XS(_wrap_mapObj_applySubstitutions) {
34065 : {
34066 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34067 : char **arg2 = (char **) 0 ;
34068 : char **arg3 = (char **) 0 ;
34069 : int arg4 ;
34070 0 : void *argp1 = 0 ;
34071 : int res1 = 0 ;
34072 0 : void *argp2 = 0 ;
34073 : int res2 = 0 ;
34074 0 : void *argp3 = 0 ;
34075 : int res3 = 0 ;
34076 : int val4 ;
34077 : int ecode4 = 0 ;
34078 : int argvi = 0;
34079 0 : dXSARGS;
34080 :
34081 0 : if ((items < 4) || (items > 4)) {
34082 0 : SWIG_croak("Usage: mapObj_applySubstitutions(self,names,values,npairs);");
34083 : }
34084 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34085 0 : if (!SWIG_IsOK(res1)) {
34086 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
34087 : }
34088 0 : arg1 = (struct mapObj *)(argp1);
34089 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
34090 0 : if (!SWIG_IsOK(res2)) {
34091 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySubstitutions" "', argument " "2"" of type '" "char **""'");
34092 : }
34093 0 : arg2 = (char **)(argp2);
34094 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
34095 0 : if (!SWIG_IsOK(res3)) {
34096 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_applySubstitutions" "', argument " "3"" of type '" "char **""'");
34097 : }
34098 0 : arg3 = (char **)(argp3);
34099 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34100 0 : if (!SWIG_IsOK(ecode4)) {
34101 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_applySubstitutions" "', argument " "4"" of type '" "int""'");
34102 : }
34103 : arg4 = (int)(val4);
34104 : mapObj_applySubstitutions(arg1,arg2,arg3,arg4);
34105 0 : ST(argvi) = sv_newmortal();
34106 :
34107 :
34108 :
34109 :
34110 0 : XSRETURN(argvi);
34111 0 : fail:
34112 :
34113 :
34114 :
34115 :
34116 0 : SWIG_croak_null();
34117 : }
34118 : }
34119 :
34120 :
34121 0 : XS(_wrap_mapObj_zoomPoint) {
34122 : {
34123 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34124 : int arg2 ;
34125 : pointObj *arg3 = (pointObj *) 0 ;
34126 : int arg4 ;
34127 : int arg5 ;
34128 : rectObj *arg6 = (rectObj *) 0 ;
34129 : rectObj *arg7 = (rectObj *) 0 ;
34130 0 : void *argp1 = 0 ;
34131 : int res1 = 0 ;
34132 : int val2 ;
34133 : int ecode2 = 0 ;
34134 0 : void *argp3 = 0 ;
34135 : int res3 = 0 ;
34136 : int val4 ;
34137 : int ecode4 = 0 ;
34138 : int val5 ;
34139 : int ecode5 = 0 ;
34140 0 : void *argp6 = 0 ;
34141 : int res6 = 0 ;
34142 0 : void *argp7 = 0 ;
34143 : int res7 = 0 ;
34144 : int argvi = 0;
34145 : int result;
34146 0 : dXSARGS;
34147 :
34148 0 : if ((items < 7) || (items > 7)) {
34149 0 : SWIG_croak("Usage: mapObj_zoomPoint(self,zoomfactor,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
34150 : }
34151 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34152 0 : if (!SWIG_IsOK(res1)) {
34153 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomPoint" "', argument " "1"" of type '" "struct mapObj *""'");
34154 : }
34155 0 : arg1 = (struct mapObj *)(argp1);
34156 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34157 0 : if (!SWIG_IsOK(ecode2)) {
34158 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomPoint" "', argument " "2"" of type '" "int""'");
34159 : }
34160 : arg2 = (int)(val2);
34161 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
34162 0 : if (!SWIG_IsOK(res3)) {
34163 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomPoint" "', argument " "3"" of type '" "pointObj *""'");
34164 : }
34165 0 : arg3 = (pointObj *)(argp3);
34166 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34167 0 : if (!SWIG_IsOK(ecode4)) {
34168 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomPoint" "', argument " "4"" of type '" "int""'");
34169 : }
34170 : arg4 = (int)(val4);
34171 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34172 0 : if (!SWIG_IsOK(ecode5)) {
34173 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomPoint" "', argument " "5"" of type '" "int""'");
34174 : }
34175 : arg5 = (int)(val5);
34176 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34177 0 : if (!SWIG_IsOK(res6)) {
34178 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomPoint" "', argument " "6"" of type '" "rectObj *""'");
34179 : }
34180 0 : arg6 = (rectObj *)(argp6);
34181 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
34182 0 : if (!SWIG_IsOK(res7)) {
34183 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomPoint" "', argument " "7"" of type '" "rectObj *""'");
34184 : }
34185 0 : arg7 = (rectObj *)(argp7);
34186 0 : result = (int)mapObj_zoomPoint(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34187 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34188 :
34189 :
34190 :
34191 :
34192 :
34193 :
34194 :
34195 0 : XSRETURN(argvi);
34196 0 : fail:
34197 :
34198 :
34199 :
34200 :
34201 :
34202 :
34203 :
34204 0 : SWIG_croak_null();
34205 : }
34206 : }
34207 :
34208 :
34209 0 : XS(_wrap_mapObj_zoomRectangle) {
34210 : {
34211 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34212 : rectObj *arg2 = (rectObj *) 0 ;
34213 : int arg3 ;
34214 : int arg4 ;
34215 : rectObj *arg5 = (rectObj *) 0 ;
34216 : rectObj *arg6 = (rectObj *) 0 ;
34217 0 : void *argp1 = 0 ;
34218 : int res1 = 0 ;
34219 0 : void *argp2 = 0 ;
34220 : int res2 = 0 ;
34221 : int val3 ;
34222 : int ecode3 = 0 ;
34223 : int val4 ;
34224 : int ecode4 = 0 ;
34225 0 : void *argp5 = 0 ;
34226 : int res5 = 0 ;
34227 0 : void *argp6 = 0 ;
34228 : int res6 = 0 ;
34229 : int argvi = 0;
34230 : int result;
34231 0 : dXSARGS;
34232 :
34233 0 : if ((items < 6) || (items > 6)) {
34234 0 : SWIG_croak("Usage: mapObj_zoomRectangle(self,poPixRect,width,height,poGeorefExt,poMaxGeorefExt);");
34235 : }
34236 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34237 0 : if (!SWIG_IsOK(res1)) {
34238 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomRectangle" "', argument " "1"" of type '" "struct mapObj *""'");
34239 : }
34240 0 : arg1 = (struct mapObj *)(argp1);
34241 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
34242 0 : if (!SWIG_IsOK(res2)) {
34243 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_zoomRectangle" "', argument " "2"" of type '" "rectObj *""'");
34244 : }
34245 0 : arg2 = (rectObj *)(argp2);
34246 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34247 0 : if (!SWIG_IsOK(ecode3)) {
34248 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_zoomRectangle" "', argument " "3"" of type '" "int""'");
34249 : }
34250 : arg3 = (int)(val3);
34251 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34252 0 : if (!SWIG_IsOK(ecode4)) {
34253 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomRectangle" "', argument " "4"" of type '" "int""'");
34254 : }
34255 : arg4 = (int)(val4);
34256 0 : res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_rectObj, 0 | 0 );
34257 0 : if (!SWIG_IsOK(res5)) {
34258 0 : SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "mapObj_zoomRectangle" "', argument " "5"" of type '" "rectObj *""'");
34259 : }
34260 0 : arg5 = (rectObj *)(argp5);
34261 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34262 0 : if (!SWIG_IsOK(res6)) {
34263 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomRectangle" "', argument " "6"" of type '" "rectObj *""'");
34264 : }
34265 0 : arg6 = (rectObj *)(argp6);
34266 0 : result = (int)mapObj_zoomRectangle(arg1,arg2,arg3,arg4,arg5,arg6);
34267 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34268 :
34269 :
34270 :
34271 :
34272 :
34273 :
34274 0 : XSRETURN(argvi);
34275 0 : fail:
34276 :
34277 :
34278 :
34279 :
34280 :
34281 :
34282 0 : SWIG_croak_null();
34283 : }
34284 : }
34285 :
34286 :
34287 0 : XS(_wrap_mapObj_zoomScale) {
34288 : {
34289 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34290 : double arg2 ;
34291 : pointObj *arg3 = (pointObj *) 0 ;
34292 : int arg4 ;
34293 : int arg5 ;
34294 : rectObj *arg6 = (rectObj *) 0 ;
34295 : rectObj *arg7 = (rectObj *) 0 ;
34296 0 : void *argp1 = 0 ;
34297 : int res1 = 0 ;
34298 : double val2 ;
34299 : int ecode2 = 0 ;
34300 0 : void *argp3 = 0 ;
34301 : int res3 = 0 ;
34302 : int val4 ;
34303 : int ecode4 = 0 ;
34304 : int val5 ;
34305 : int ecode5 = 0 ;
34306 0 : void *argp6 = 0 ;
34307 : int res6 = 0 ;
34308 0 : void *argp7 = 0 ;
34309 : int res7 = 0 ;
34310 : int argvi = 0;
34311 : int result;
34312 0 : dXSARGS;
34313 :
34314 0 : if ((items < 7) || (items > 7)) {
34315 0 : SWIG_croak("Usage: mapObj_zoomScale(self,scale,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
34316 : }
34317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34318 0 : if (!SWIG_IsOK(res1)) {
34319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomScale" "', argument " "1"" of type '" "struct mapObj *""'");
34320 : }
34321 0 : arg1 = (struct mapObj *)(argp1);
34322 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34323 0 : if (!SWIG_IsOK(ecode2)) {
34324 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomScale" "', argument " "2"" of type '" "double""'");
34325 : }
34326 0 : arg2 = (double)(val2);
34327 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
34328 0 : if (!SWIG_IsOK(res3)) {
34329 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomScale" "', argument " "3"" of type '" "pointObj *""'");
34330 : }
34331 0 : arg3 = (pointObj *)(argp3);
34332 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34333 0 : if (!SWIG_IsOK(ecode4)) {
34334 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomScale" "', argument " "4"" of type '" "int""'");
34335 : }
34336 : arg4 = (int)(val4);
34337 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34338 0 : if (!SWIG_IsOK(ecode5)) {
34339 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomScale" "', argument " "5"" of type '" "int""'");
34340 : }
34341 : arg5 = (int)(val5);
34342 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34343 0 : if (!SWIG_IsOK(res6)) {
34344 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomScale" "', argument " "6"" of type '" "rectObj *""'");
34345 : }
34346 0 : arg6 = (rectObj *)(argp6);
34347 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
34348 0 : if (!SWIG_IsOK(res7)) {
34349 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomScale" "', argument " "7"" of type '" "rectObj *""'");
34350 : }
34351 0 : arg7 = (rectObj *)(argp7);
34352 0 : result = (int)mapObj_zoomScale(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34353 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34354 :
34355 :
34356 :
34357 :
34358 :
34359 :
34360 :
34361 0 : XSRETURN(argvi);
34362 0 : fail:
34363 :
34364 :
34365 :
34366 :
34367 :
34368 :
34369 :
34370 0 : SWIG_croak_null();
34371 : }
34372 : }
34373 :
34374 :
34375 0 : XS(_wrap_msSaveImage) {
34376 : {
34377 : mapObj *arg1 = (mapObj *) 0 ;
34378 : imageObj *arg2 = (imageObj *) 0 ;
34379 : char *arg3 = (char *) 0 ;
34380 0 : void *argp1 = 0 ;
34381 : int res1 = 0 ;
34382 0 : void *argp2 = 0 ;
34383 : int res2 = 0 ;
34384 : int res3 ;
34385 0 : char *buf3 = 0 ;
34386 0 : int alloc3 = 0 ;
34387 : int argvi = 0;
34388 : int result;
34389 0 : dXSARGS;
34390 :
34391 0 : if ((items < 3) || (items > 3)) {
34392 0 : SWIG_croak("Usage: msSaveImage(map,img,filename);");
34393 : }
34394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34395 0 : if (!SWIG_IsOK(res1)) {
34396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msSaveImage" "', argument " "1"" of type '" "mapObj *""'");
34397 : }
34398 0 : arg1 = (mapObj *)(argp1);
34399 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
34400 0 : if (!SWIG_IsOK(res2)) {
34401 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msSaveImage" "', argument " "2"" of type '" "imageObj *""'");
34402 : }
34403 0 : arg2 = (imageObj *)(argp2);
34404 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
34405 0 : if (!SWIG_IsOK(res3)) {
34406 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "msSaveImage" "', argument " "3"" of type '" "char const *""'");
34407 : }
34408 0 : arg3 = (char *)(buf3);
34409 0 : result = (int)msSaveImage(arg1,arg2,(char const *)arg3);
34410 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34411 :
34412 :
34413 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34414 0 : XSRETURN(argvi);
34415 0 : fail:
34416 :
34417 :
34418 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34419 0 : SWIG_croak_null();
34420 : }
34421 : }
34422 :
34423 :
34424 0 : XS(_wrap_msFreeImage) {
34425 : {
34426 : imageObj *arg1 = (imageObj *) 0 ;
34427 0 : void *argp1 = 0 ;
34428 : int res1 = 0 ;
34429 : int argvi = 0;
34430 0 : dXSARGS;
34431 :
34432 0 : if ((items < 1) || (items > 1)) {
34433 0 : SWIG_croak("Usage: msFreeImage(img);");
34434 : }
34435 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
34436 0 : if (!SWIG_IsOK(res1)) {
34437 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msFreeImage" "', argument " "1"" of type '" "imageObj *""'");
34438 : }
34439 0 : arg1 = (imageObj *)(argp1);
34440 0 : msFreeImage(arg1);
34441 0 : ST(argvi) = sv_newmortal();
34442 :
34443 0 : XSRETURN(argvi);
34444 0 : fail:
34445 :
34446 0 : SWIG_croak_null();
34447 : }
34448 : }
34449 :
34450 :
34451 0 : XS(_wrap_msSetup) {
34452 : {
34453 : int argvi = 0;
34454 : int result;
34455 0 : dXSARGS;
34456 :
34457 0 : if ((items < 0) || (items > 0)) {
34458 0 : SWIG_croak("Usage: msSetup();");
34459 : }
34460 0 : result = (int)msSetup();
34461 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34462 0 : XSRETURN(argvi);
34463 : fail:
34464 0 : SWIG_croak_null();
34465 : }
34466 : }
34467 :
34468 :
34469 0 : XS(_wrap_msCleanup) {
34470 : {
34471 : int argvi = 0;
34472 0 : dXSARGS;
34473 :
34474 0 : if ((items < 0) || (items > 0)) {
34475 0 : SWIG_croak("Usage: msCleanup();");
34476 : }
34477 0 : msCleanup();
34478 0 : ST(argvi) = sv_newmortal();
34479 0 : XSRETURN(argvi);
34480 : fail:
34481 0 : SWIG_croak_null();
34482 : }
34483 : }
34484 :
34485 :
34486 0 : XS(_wrap_msLoadMapFromString) {
34487 : {
34488 : char *arg1 = (char *) 0 ;
34489 : char *arg2 = (char *) 0 ;
34490 : int res1 ;
34491 0 : char *buf1 = 0 ;
34492 0 : int alloc1 = 0 ;
34493 : int res2 ;
34494 0 : char *buf2 = 0 ;
34495 0 : int alloc2 = 0 ;
34496 : int argvi = 0;
34497 : mapObj *result = 0 ;
34498 0 : dXSARGS;
34499 :
34500 0 : if ((items < 2) || (items > 2)) {
34501 0 : SWIG_croak("Usage: msLoadMapFromString(buffer,new_mappath);");
34502 : }
34503 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
34504 0 : if (!SWIG_IsOK(res1)) {
34505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msLoadMapFromString" "', argument " "1"" of type '" "char *""'");
34506 : }
34507 0 : arg1 = (char *)(buf1);
34508 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
34509 0 : if (!SWIG_IsOK(res2)) {
34510 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msLoadMapFromString" "', argument " "2"" of type '" "char *""'");
34511 : }
34512 0 : arg2 = (char *)(buf2);
34513 0 : result = (mapObj *)msLoadMapFromString(arg1,arg2);
34514 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34515 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34516 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34517 0 : XSRETURN(argvi);
34518 0 : fail:
34519 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34520 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34521 0 : SWIG_croak_null();
34522 : }
34523 : }
34524 :
34525 :
34526 0 : XS(_wrap_rectObj_minx_set) {
34527 : {
34528 : rectObj *arg1 = (rectObj *) 0 ;
34529 : double arg2 ;
34530 0 : void *argp1 = 0 ;
34531 : int res1 = 0 ;
34532 : double val2 ;
34533 : int ecode2 = 0 ;
34534 : int argvi = 0;
34535 0 : dXSARGS;
34536 :
34537 0 : if ((items < 2) || (items > 2)) {
34538 0 : SWIG_croak("Usage: rectObj_minx_set(self,minx);");
34539 : }
34540 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34541 0 : if (!SWIG_IsOK(res1)) {
34542 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_set" "', argument " "1"" of type '" "rectObj *""'");
34543 : }
34544 0 : arg1 = (rectObj *)(argp1);
34545 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34546 0 : if (!SWIG_IsOK(ecode2)) {
34547 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_minx_set" "', argument " "2"" of type '" "double""'");
34548 : }
34549 0 : arg2 = (double)(val2);
34550 0 : if (arg1) (arg1)->minx = arg2;
34551 0 : ST(argvi) = sv_newmortal();
34552 :
34553 :
34554 0 : XSRETURN(argvi);
34555 0 : fail:
34556 :
34557 :
34558 0 : SWIG_croak_null();
34559 : }
34560 : }
34561 :
34562 :
34563 1 : XS(_wrap_rectObj_minx_get) {
34564 : {
34565 : rectObj *arg1 = (rectObj *) 0 ;
34566 1 : void *argp1 = 0 ;
34567 : int res1 = 0 ;
34568 : int argvi = 0;
34569 : double result;
34570 1 : dXSARGS;
34571 :
34572 1 : if ((items < 1) || (items > 1)) {
34573 0 : SWIG_croak("Usage: rectObj_minx_get(self);");
34574 : }
34575 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34576 1 : if (!SWIG_IsOK(res1)) {
34577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_get" "', argument " "1"" of type '" "rectObj *""'");
34578 : }
34579 1 : arg1 = (rectObj *)(argp1);
34580 1 : result = (double) ((arg1)->minx);
34581 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34582 :
34583 1 : XSRETURN(argvi);
34584 0 : fail:
34585 :
34586 0 : SWIG_croak_null();
34587 : }
34588 : }
34589 :
34590 :
34591 0 : XS(_wrap_rectObj_miny_set) {
34592 : {
34593 : rectObj *arg1 = (rectObj *) 0 ;
34594 : double arg2 ;
34595 0 : void *argp1 = 0 ;
34596 : int res1 = 0 ;
34597 : double val2 ;
34598 : int ecode2 = 0 ;
34599 : int argvi = 0;
34600 0 : dXSARGS;
34601 :
34602 0 : if ((items < 2) || (items > 2)) {
34603 0 : SWIG_croak("Usage: rectObj_miny_set(self,miny);");
34604 : }
34605 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34606 0 : if (!SWIG_IsOK(res1)) {
34607 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_set" "', argument " "1"" of type '" "rectObj *""'");
34608 : }
34609 0 : arg1 = (rectObj *)(argp1);
34610 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34611 0 : if (!SWIG_IsOK(ecode2)) {
34612 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_miny_set" "', argument " "2"" of type '" "double""'");
34613 : }
34614 0 : arg2 = (double)(val2);
34615 0 : if (arg1) (arg1)->miny = arg2;
34616 0 : ST(argvi) = sv_newmortal();
34617 :
34618 :
34619 0 : XSRETURN(argvi);
34620 0 : fail:
34621 :
34622 :
34623 0 : SWIG_croak_null();
34624 : }
34625 : }
34626 :
34627 :
34628 1 : XS(_wrap_rectObj_miny_get) {
34629 : {
34630 : rectObj *arg1 = (rectObj *) 0 ;
34631 1 : void *argp1 = 0 ;
34632 : int res1 = 0 ;
34633 : int argvi = 0;
34634 : double result;
34635 1 : dXSARGS;
34636 :
34637 1 : if ((items < 1) || (items > 1)) {
34638 0 : SWIG_croak("Usage: rectObj_miny_get(self);");
34639 : }
34640 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34641 1 : if (!SWIG_IsOK(res1)) {
34642 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_get" "', argument " "1"" of type '" "rectObj *""'");
34643 : }
34644 1 : arg1 = (rectObj *)(argp1);
34645 1 : result = (double) ((arg1)->miny);
34646 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34647 :
34648 1 : XSRETURN(argvi);
34649 0 : fail:
34650 :
34651 0 : SWIG_croak_null();
34652 : }
34653 : }
34654 :
34655 :
34656 0 : XS(_wrap_rectObj_maxx_set) {
34657 : {
34658 : rectObj *arg1 = (rectObj *) 0 ;
34659 : double arg2 ;
34660 0 : void *argp1 = 0 ;
34661 : int res1 = 0 ;
34662 : double val2 ;
34663 : int ecode2 = 0 ;
34664 : int argvi = 0;
34665 0 : dXSARGS;
34666 :
34667 0 : if ((items < 2) || (items > 2)) {
34668 0 : SWIG_croak("Usage: rectObj_maxx_set(self,maxx);");
34669 : }
34670 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34671 0 : if (!SWIG_IsOK(res1)) {
34672 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_set" "', argument " "1"" of type '" "rectObj *""'");
34673 : }
34674 0 : arg1 = (rectObj *)(argp1);
34675 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34676 0 : if (!SWIG_IsOK(ecode2)) {
34677 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxx_set" "', argument " "2"" of type '" "double""'");
34678 : }
34679 0 : arg2 = (double)(val2);
34680 0 : if (arg1) (arg1)->maxx = arg2;
34681 0 : ST(argvi) = sv_newmortal();
34682 :
34683 :
34684 0 : XSRETURN(argvi);
34685 0 : fail:
34686 :
34687 :
34688 0 : SWIG_croak_null();
34689 : }
34690 : }
34691 :
34692 :
34693 1 : XS(_wrap_rectObj_maxx_get) {
34694 : {
34695 : rectObj *arg1 = (rectObj *) 0 ;
34696 1 : void *argp1 = 0 ;
34697 : int res1 = 0 ;
34698 : int argvi = 0;
34699 : double result;
34700 1 : dXSARGS;
34701 :
34702 1 : if ((items < 1) || (items > 1)) {
34703 0 : SWIG_croak("Usage: rectObj_maxx_get(self);");
34704 : }
34705 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34706 1 : if (!SWIG_IsOK(res1)) {
34707 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_get" "', argument " "1"" of type '" "rectObj *""'");
34708 : }
34709 1 : arg1 = (rectObj *)(argp1);
34710 1 : result = (double) ((arg1)->maxx);
34711 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34712 :
34713 1 : XSRETURN(argvi);
34714 0 : fail:
34715 :
34716 0 : SWIG_croak_null();
34717 : }
34718 : }
34719 :
34720 :
34721 0 : XS(_wrap_rectObj_maxy_set) {
34722 : {
34723 : rectObj *arg1 = (rectObj *) 0 ;
34724 : double arg2 ;
34725 0 : void *argp1 = 0 ;
34726 : int res1 = 0 ;
34727 : double val2 ;
34728 : int ecode2 = 0 ;
34729 : int argvi = 0;
34730 0 : dXSARGS;
34731 :
34732 0 : if ((items < 2) || (items > 2)) {
34733 0 : SWIG_croak("Usage: rectObj_maxy_set(self,maxy);");
34734 : }
34735 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34736 0 : if (!SWIG_IsOK(res1)) {
34737 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_set" "', argument " "1"" of type '" "rectObj *""'");
34738 : }
34739 0 : arg1 = (rectObj *)(argp1);
34740 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34741 0 : if (!SWIG_IsOK(ecode2)) {
34742 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxy_set" "', argument " "2"" of type '" "double""'");
34743 : }
34744 0 : arg2 = (double)(val2);
34745 0 : if (arg1) (arg1)->maxy = arg2;
34746 0 : ST(argvi) = sv_newmortal();
34747 :
34748 :
34749 0 : XSRETURN(argvi);
34750 0 : fail:
34751 :
34752 :
34753 0 : SWIG_croak_null();
34754 : }
34755 : }
34756 :
34757 :
34758 1 : XS(_wrap_rectObj_maxy_get) {
34759 : {
34760 : rectObj *arg1 = (rectObj *) 0 ;
34761 1 : void *argp1 = 0 ;
34762 : int res1 = 0 ;
34763 : int argvi = 0;
34764 : double result;
34765 1 : dXSARGS;
34766 :
34767 1 : if ((items < 1) || (items > 1)) {
34768 0 : SWIG_croak("Usage: rectObj_maxy_get(self);");
34769 : }
34770 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34771 1 : if (!SWIG_IsOK(res1)) {
34772 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_get" "', argument " "1"" of type '" "rectObj *""'");
34773 : }
34774 1 : arg1 = (rectObj *)(argp1);
34775 1 : result = (double) ((arg1)->maxy);
34776 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34777 :
34778 1 : XSRETURN(argvi);
34779 0 : fail:
34780 :
34781 0 : SWIG_croak_null();
34782 : }
34783 : }
34784 :
34785 :
34786 0 : XS(_wrap_new_rectObj) {
34787 : {
34788 : double arg1 = (double) -1.0 ;
34789 : double arg2 = (double) -1.0 ;
34790 : double arg3 = (double) -1.0 ;
34791 : double arg4 = (double) -1.0 ;
34792 : int arg5 = (int) 0 ;
34793 : double val1 ;
34794 : int ecode1 = 0 ;
34795 : double val2 ;
34796 : int ecode2 = 0 ;
34797 : double val3 ;
34798 : int ecode3 = 0 ;
34799 : double val4 ;
34800 : int ecode4 = 0 ;
34801 : int val5 ;
34802 : int ecode5 = 0 ;
34803 : int argvi = 0;
34804 : rectObj *result = 0 ;
34805 0 : dXSARGS;
34806 :
34807 0 : if ((items < 0) || (items > 5)) {
34808 0 : SWIG_croak("Usage: new_rectObj(minx,miny,maxx,maxy,imageunits);");
34809 : }
34810 0 : if (items > 0) {
34811 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
34812 0 : if (!SWIG_IsOK(ecode1)) {
34813 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rectObj" "', argument " "1"" of type '" "double""'");
34814 : }
34815 0 : arg1 = (double)(val1);
34816 : }
34817 0 : if (items > 1) {
34818 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34819 0 : if (!SWIG_IsOK(ecode2)) {
34820 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_rectObj" "', argument " "2"" of type '" "double""'");
34821 : }
34822 0 : arg2 = (double)(val2);
34823 : }
34824 0 : if (items > 2) {
34825 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34826 0 : if (!SWIG_IsOK(ecode3)) {
34827 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_rectObj" "', argument " "3"" of type '" "double""'");
34828 : }
34829 0 : arg3 = (double)(val3);
34830 : }
34831 0 : if (items > 3) {
34832 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34833 0 : if (!SWIG_IsOK(ecode4)) {
34834 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_rectObj" "', argument " "4"" of type '" "double""'");
34835 : }
34836 0 : arg4 = (double)(val4);
34837 : }
34838 0 : if (items > 4) {
34839 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34840 0 : if (!SWIG_IsOK(ecode5)) {
34841 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_rectObj" "', argument " "5"" of type '" "int""'");
34842 : }
34843 : arg5 = (int)(val5);
34844 : }
34845 0 : result = (rectObj *)new_rectObj(arg1,arg2,arg3,arg4,arg5);
34846 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34847 :
34848 :
34849 :
34850 :
34851 :
34852 0 : XSRETURN(argvi);
34853 0 : fail:
34854 :
34855 :
34856 :
34857 :
34858 :
34859 0 : SWIG_croak_null();
34860 : }
34861 : }
34862 :
34863 :
34864 0 : XS(_wrap_delete_rectObj) {
34865 : {
34866 : rectObj *arg1 = (rectObj *) 0 ;
34867 0 : void *argp1 = 0 ;
34868 : int res1 = 0 ;
34869 : int argvi = 0;
34870 0 : dXSARGS;
34871 :
34872 0 : if ((items < 1) || (items > 1)) {
34873 0 : SWIG_croak("Usage: delete_rectObj(self);");
34874 : }
34875 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, SWIG_POINTER_DISOWN | 0 );
34876 0 : if (!SWIG_IsOK(res1)) {
34877 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rectObj" "', argument " "1"" of type '" "rectObj *""'");
34878 : }
34879 0 : arg1 = (rectObj *)(argp1);
34880 : delete_rectObj(arg1);
34881 0 : ST(argvi) = sv_newmortal();
34882 :
34883 0 : XSRETURN(argvi);
34884 0 : fail:
34885 :
34886 0 : SWIG_croak_null();
34887 : }
34888 : }
34889 :
34890 :
34891 0 : XS(_wrap_rectObj_project) {
34892 : {
34893 : rectObj *arg1 = (rectObj *) 0 ;
34894 : projectionObj *arg2 = (projectionObj *) 0 ;
34895 : projectionObj *arg3 = (projectionObj *) 0 ;
34896 0 : void *argp1 = 0 ;
34897 : int res1 = 0 ;
34898 0 : void *argp2 = 0 ;
34899 : int res2 = 0 ;
34900 0 : void *argp3 = 0 ;
34901 : int res3 = 0 ;
34902 : int argvi = 0;
34903 : int result;
34904 0 : dXSARGS;
34905 :
34906 0 : if ((items < 3) || (items > 3)) {
34907 0 : SWIG_croak("Usage: rectObj_project(self,projin,projout);");
34908 : }
34909 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34910 0 : if (!SWIG_IsOK(res1)) {
34911 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_project" "', argument " "1"" of type '" "rectObj *""'");
34912 : }
34913 0 : arg1 = (rectObj *)(argp1);
34914 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
34915 0 : if (!SWIG_IsOK(res2)) {
34916 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_project" "', argument " "2"" of type '" "projectionObj *""'");
34917 : }
34918 0 : arg2 = (projectionObj *)(argp2);
34919 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
34920 0 : if (!SWIG_IsOK(res3)) {
34921 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_project" "', argument " "3"" of type '" "projectionObj *""'");
34922 : }
34923 0 : arg3 = (projectionObj *)(argp3);
34924 : result = (int)rectObj_project(arg1,arg2,arg3);
34925 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34926 :
34927 :
34928 :
34929 0 : XSRETURN(argvi);
34930 0 : fail:
34931 :
34932 :
34933 :
34934 0 : SWIG_croak_null();
34935 : }
34936 : }
34937 :
34938 :
34939 0 : XS(_wrap_rectObj_fit) {
34940 : {
34941 : rectObj *arg1 = (rectObj *) 0 ;
34942 : int arg2 ;
34943 : int arg3 ;
34944 0 : void *argp1 = 0 ;
34945 : int res1 = 0 ;
34946 : int val2 ;
34947 : int ecode2 = 0 ;
34948 : int val3 ;
34949 : int ecode3 = 0 ;
34950 : int argvi = 0;
34951 : double result;
34952 0 : dXSARGS;
34953 :
34954 0 : if ((items < 3) || (items > 3)) {
34955 0 : SWIG_croak("Usage: rectObj_fit(self,width,height);");
34956 : }
34957 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34958 0 : if (!SWIG_IsOK(res1)) {
34959 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_fit" "', argument " "1"" of type '" "rectObj *""'");
34960 : }
34961 0 : arg1 = (rectObj *)(argp1);
34962 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34963 0 : if (!SWIG_IsOK(ecode2)) {
34964 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_fit" "', argument " "2"" of type '" "int""'");
34965 : }
34966 : arg2 = (int)(val2);
34967 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34968 0 : if (!SWIG_IsOK(ecode3)) {
34969 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rectObj_fit" "', argument " "3"" of type '" "int""'");
34970 : }
34971 : arg3 = (int)(val3);
34972 : result = (double)rectObj_fit(arg1,arg2,arg3);
34973 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34974 :
34975 :
34976 :
34977 0 : XSRETURN(argvi);
34978 0 : fail:
34979 :
34980 :
34981 :
34982 0 : SWIG_croak_null();
34983 : }
34984 : }
34985 :
34986 :
34987 0 : XS(_wrap_rectObj_draw) {
34988 : {
34989 : rectObj *arg1 = (rectObj *) 0 ;
34990 : mapObj *arg2 = (mapObj *) 0 ;
34991 : layerObj *arg3 = (layerObj *) 0 ;
34992 : imageObj *arg4 = (imageObj *) 0 ;
34993 : int arg5 ;
34994 : char *arg6 = (char *) 0 ;
34995 0 : void *argp1 = 0 ;
34996 : int res1 = 0 ;
34997 0 : void *argp2 = 0 ;
34998 : int res2 = 0 ;
34999 0 : void *argp3 = 0 ;
35000 : int res3 = 0 ;
35001 0 : void *argp4 = 0 ;
35002 : int res4 = 0 ;
35003 : int val5 ;
35004 : int ecode5 = 0 ;
35005 : int res6 ;
35006 0 : char *buf6 = 0 ;
35007 0 : int alloc6 = 0 ;
35008 : int argvi = 0;
35009 : int result;
35010 0 : dXSARGS;
35011 :
35012 0 : if ((items < 6) || (items > 6)) {
35013 0 : SWIG_croak("Usage: rectObj_draw(self,map,layer,image,classindex,text);");
35014 : }
35015 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
35016 0 : if (!SWIG_IsOK(res1)) {
35017 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_draw" "', argument " "1"" of type '" "rectObj *""'");
35018 : }
35019 0 : arg1 = (rectObj *)(argp1);
35020 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
35021 0 : if (!SWIG_IsOK(res2)) {
35022 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_draw" "', argument " "2"" of type '" "mapObj *""'");
35023 : }
35024 0 : arg2 = (mapObj *)(argp2);
35025 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
35026 0 : if (!SWIG_IsOK(res3)) {
35027 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_draw" "', argument " "3"" of type '" "layerObj *""'");
35028 : }
35029 0 : arg3 = (layerObj *)(argp3);
35030 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
35031 0 : if (!SWIG_IsOK(res4)) {
35032 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "rectObj_draw" "', argument " "4"" of type '" "imageObj *""'");
35033 : }
35034 0 : arg4 = (imageObj *)(argp4);
35035 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35036 0 : if (!SWIG_IsOK(ecode5)) {
35037 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rectObj_draw" "', argument " "5"" of type '" "int""'");
35038 : }
35039 : arg5 = (int)(val5);
35040 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
35041 0 : if (!SWIG_IsOK(res6)) {
35042 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "rectObj_draw" "', argument " "6"" of type '" "char *""'");
35043 : }
35044 0 : arg6 = (char *)(buf6);
35045 0 : result = (int)rectObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
35046 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35047 :
35048 :
35049 :
35050 :
35051 :
35052 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35053 0 : XSRETURN(argvi);
35054 0 : fail:
35055 :
35056 :
35057 :
35058 :
35059 :
35060 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35061 0 : SWIG_croak_null();
35062 : }
35063 : }
35064 :
35065 :
35066 0 : XS(_wrap_rectObj_getCenter) {
35067 : {
35068 : rectObj *arg1 = (rectObj *) 0 ;
35069 0 : void *argp1 = 0 ;
35070 : int res1 = 0 ;
35071 : int argvi = 0;
35072 : pointObj *result = 0 ;
35073 0 : dXSARGS;
35074 :
35075 0 : if ((items < 1) || (items > 1)) {
35076 0 : SWIG_croak("Usage: rectObj_getCenter(self);");
35077 : }
35078 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
35079 0 : if (!SWIG_IsOK(res1)) {
35080 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_getCenter" "', argument " "1"" of type '" "rectObj *""'");
35081 : }
35082 0 : arg1 = (rectObj *)(argp1);
35083 0 : result = (pointObj *)rectObj_getCenter(arg1);
35084 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35085 :
35086 0 : XSRETURN(argvi);
35087 0 : fail:
35088 :
35089 0 : SWIG_croak_null();
35090 : }
35091 : }
35092 :
35093 :
35094 0 : XS(_wrap_rectObj_toPolygon) {
35095 : {
35096 : rectObj *arg1 = (rectObj *) 0 ;
35097 0 : void *argp1 = 0 ;
35098 : int res1 = 0 ;
35099 : int argvi = 0;
35100 : shapeObj *result = 0 ;
35101 0 : dXSARGS;
35102 :
35103 0 : if ((items < 1) || (items > 1)) {
35104 0 : SWIG_croak("Usage: rectObj_toPolygon(self);");
35105 : }
35106 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
35107 0 : if (!SWIG_IsOK(res1)) {
35108 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toPolygon" "', argument " "1"" of type '" "rectObj *""'");
35109 : }
35110 0 : arg1 = (rectObj *)(argp1);
35111 0 : result = (shapeObj *)rectObj_toPolygon(arg1);
35112 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35113 :
35114 0 : XSRETURN(argvi);
35115 0 : fail:
35116 :
35117 0 : SWIG_croak_null();
35118 : }
35119 : }
35120 :
35121 :
35122 0 : XS(_wrap_rectObj_toString) {
35123 : {
35124 : rectObj *arg1 = (rectObj *) 0 ;
35125 0 : void *argp1 = 0 ;
35126 : int res1 = 0 ;
35127 : int argvi = 0;
35128 : char *result = 0 ;
35129 0 : dXSARGS;
35130 :
35131 0 : if ((items < 1) || (items > 1)) {
35132 0 : SWIG_croak("Usage: rectObj_toString(self);");
35133 : }
35134 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
35135 0 : if (!SWIG_IsOK(res1)) {
35136 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toString" "', argument " "1"" of type '" "rectObj *""'");
35137 : }
35138 0 : arg1 = (rectObj *)(argp1);
35139 0 : result = (char *)rectObj_toString(arg1);
35140 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
35141 :
35142 0 : free((char*)result);
35143 0 : XSRETURN(argvi);
35144 0 : fail:
35145 :
35146 0 : SWIG_croak_null();
35147 : }
35148 : }
35149 :
35150 :
35151 0 : XS(_wrap_pointObj_x_set) {
35152 : {
35153 : pointObj *arg1 = (pointObj *) 0 ;
35154 : double arg2 ;
35155 0 : void *argp1 = 0 ;
35156 : int res1 = 0 ;
35157 : double val2 ;
35158 : int ecode2 = 0 ;
35159 : int argvi = 0;
35160 0 : dXSARGS;
35161 :
35162 0 : if ((items < 2) || (items > 2)) {
35163 0 : SWIG_croak("Usage: pointObj_x_set(self,x);");
35164 : }
35165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35166 0 : if (!SWIG_IsOK(res1)) {
35167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_set" "', argument " "1"" of type '" "pointObj *""'");
35168 : }
35169 0 : arg1 = (pointObj *)(argp1);
35170 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35171 0 : if (!SWIG_IsOK(ecode2)) {
35172 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_x_set" "', argument " "2"" of type '" "double""'");
35173 : }
35174 0 : arg2 = (double)(val2);
35175 0 : if (arg1) (arg1)->x = arg2;
35176 0 : ST(argvi) = sv_newmortal();
35177 :
35178 :
35179 0 : XSRETURN(argvi);
35180 0 : fail:
35181 :
35182 :
35183 0 : SWIG_croak_null();
35184 : }
35185 : }
35186 :
35187 :
35188 1 : XS(_wrap_pointObj_x_get) {
35189 : {
35190 : pointObj *arg1 = (pointObj *) 0 ;
35191 1 : void *argp1 = 0 ;
35192 : int res1 = 0 ;
35193 : int argvi = 0;
35194 : double result;
35195 1 : dXSARGS;
35196 :
35197 1 : if ((items < 1) || (items > 1)) {
35198 0 : SWIG_croak("Usage: pointObj_x_get(self);");
35199 : }
35200 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35201 1 : if (!SWIG_IsOK(res1)) {
35202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_get" "', argument " "1"" of type '" "pointObj *""'");
35203 : }
35204 1 : arg1 = (pointObj *)(argp1);
35205 1 : result = (double) ((arg1)->x);
35206 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35207 :
35208 1 : XSRETURN(argvi);
35209 0 : fail:
35210 :
35211 0 : SWIG_croak_null();
35212 : }
35213 : }
35214 :
35215 :
35216 0 : XS(_wrap_pointObj_y_set) {
35217 : {
35218 : pointObj *arg1 = (pointObj *) 0 ;
35219 : double arg2 ;
35220 0 : void *argp1 = 0 ;
35221 : int res1 = 0 ;
35222 : double val2 ;
35223 : int ecode2 = 0 ;
35224 : int argvi = 0;
35225 0 : dXSARGS;
35226 :
35227 0 : if ((items < 2) || (items > 2)) {
35228 0 : SWIG_croak("Usage: pointObj_y_set(self,y);");
35229 : }
35230 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35231 0 : if (!SWIG_IsOK(res1)) {
35232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_set" "', argument " "1"" of type '" "pointObj *""'");
35233 : }
35234 0 : arg1 = (pointObj *)(argp1);
35235 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35236 0 : if (!SWIG_IsOK(ecode2)) {
35237 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_y_set" "', argument " "2"" of type '" "double""'");
35238 : }
35239 0 : arg2 = (double)(val2);
35240 0 : if (arg1) (arg1)->y = arg2;
35241 0 : ST(argvi) = sv_newmortal();
35242 :
35243 :
35244 0 : XSRETURN(argvi);
35245 0 : fail:
35246 :
35247 :
35248 0 : SWIG_croak_null();
35249 : }
35250 : }
35251 :
35252 :
35253 1 : XS(_wrap_pointObj_y_get) {
35254 : {
35255 : pointObj *arg1 = (pointObj *) 0 ;
35256 1 : void *argp1 = 0 ;
35257 : int res1 = 0 ;
35258 : int argvi = 0;
35259 : double result;
35260 1 : dXSARGS;
35261 :
35262 1 : if ((items < 1) || (items > 1)) {
35263 0 : SWIG_croak("Usage: pointObj_y_get(self);");
35264 : }
35265 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35266 1 : if (!SWIG_IsOK(res1)) {
35267 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_get" "', argument " "1"" of type '" "pointObj *""'");
35268 : }
35269 1 : arg1 = (pointObj *)(argp1);
35270 1 : result = (double) ((arg1)->y);
35271 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35272 :
35273 1 : XSRETURN(argvi);
35274 0 : fail:
35275 :
35276 0 : SWIG_croak_null();
35277 : }
35278 : }
35279 :
35280 :
35281 0 : XS(_wrap_new_pointObj) {
35282 : {
35283 : double arg1 = (double) 0.0 ;
35284 : double arg2 = (double) 0.0 ;
35285 : double arg3 = (double) 0.0 ;
35286 : double arg4 = (double) -2e38 ;
35287 : double val1 ;
35288 : int ecode1 = 0 ;
35289 : double val2 ;
35290 : int ecode2 = 0 ;
35291 : double val3 ;
35292 : int ecode3 = 0 ;
35293 : double val4 ;
35294 : int ecode4 = 0 ;
35295 : int argvi = 0;
35296 : pointObj *result = 0 ;
35297 0 : dXSARGS;
35298 :
35299 0 : if ((items < 0) || (items > 4)) {
35300 0 : SWIG_croak("Usage: new_pointObj(x,y,z,m);");
35301 : }
35302 0 : if (items > 0) {
35303 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
35304 0 : if (!SWIG_IsOK(ecode1)) {
35305 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_pointObj" "', argument " "1"" of type '" "double""'");
35306 : }
35307 0 : arg1 = (double)(val1);
35308 : }
35309 0 : if (items > 1) {
35310 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35311 0 : if (!SWIG_IsOK(ecode2)) {
35312 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_pointObj" "', argument " "2"" of type '" "double""'");
35313 : }
35314 0 : arg2 = (double)(val2);
35315 : }
35316 0 : if (items > 2) {
35317 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35318 0 : if (!SWIG_IsOK(ecode3)) {
35319 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_pointObj" "', argument " "3"" of type '" "double""'");
35320 : }
35321 : arg3 = (double)(val3);
35322 : }
35323 0 : if (items > 3) {
35324 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35325 0 : if (!SWIG_IsOK(ecode4)) {
35326 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_pointObj" "', argument " "4"" of type '" "double""'");
35327 : }
35328 : arg4 = (double)(val4);
35329 : }
35330 : result = (pointObj *)new_pointObj(arg1,arg2,arg3,arg4);
35331 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35332 :
35333 :
35334 :
35335 :
35336 0 : XSRETURN(argvi);
35337 0 : fail:
35338 :
35339 :
35340 :
35341 :
35342 0 : SWIG_croak_null();
35343 : }
35344 : }
35345 :
35346 :
35347 0 : XS(_wrap_delete_pointObj) {
35348 : {
35349 : pointObj *arg1 = (pointObj *) 0 ;
35350 0 : void *argp1 = 0 ;
35351 : int res1 = 0 ;
35352 : int argvi = 0;
35353 0 : dXSARGS;
35354 :
35355 0 : if ((items < 1) || (items > 1)) {
35356 0 : SWIG_croak("Usage: delete_pointObj(self);");
35357 : }
35358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, SWIG_POINTER_DISOWN | 0 );
35359 0 : if (!SWIG_IsOK(res1)) {
35360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pointObj" "', argument " "1"" of type '" "pointObj *""'");
35361 : }
35362 0 : arg1 = (pointObj *)(argp1);
35363 : delete_pointObj(arg1);
35364 0 : ST(argvi) = sv_newmortal();
35365 :
35366 0 : XSRETURN(argvi);
35367 0 : fail:
35368 :
35369 0 : SWIG_croak_null();
35370 : }
35371 : }
35372 :
35373 :
35374 0 : XS(_wrap_pointObj_project) {
35375 : {
35376 : pointObj *arg1 = (pointObj *) 0 ;
35377 : projectionObj *arg2 = (projectionObj *) 0 ;
35378 : projectionObj *arg3 = (projectionObj *) 0 ;
35379 0 : void *argp1 = 0 ;
35380 : int res1 = 0 ;
35381 0 : void *argp2 = 0 ;
35382 : int res2 = 0 ;
35383 0 : void *argp3 = 0 ;
35384 : int res3 = 0 ;
35385 : int argvi = 0;
35386 : int result;
35387 0 : dXSARGS;
35388 :
35389 0 : if ((items < 3) || (items > 3)) {
35390 0 : SWIG_croak("Usage: pointObj_project(self,projin,projout);");
35391 : }
35392 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35393 0 : if (!SWIG_IsOK(res1)) {
35394 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_project" "', argument " "1"" of type '" "pointObj *""'");
35395 : }
35396 0 : arg1 = (pointObj *)(argp1);
35397 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
35398 0 : if (!SWIG_IsOK(res2)) {
35399 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_project" "', argument " "2"" of type '" "projectionObj *""'");
35400 : }
35401 0 : arg2 = (projectionObj *)(argp2);
35402 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
35403 0 : if (!SWIG_IsOK(res3)) {
35404 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_project" "', argument " "3"" of type '" "projectionObj *""'");
35405 : }
35406 0 : arg3 = (projectionObj *)(argp3);
35407 : result = (int)pointObj_project(arg1,arg2,arg3);
35408 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35409 :
35410 :
35411 :
35412 0 : XSRETURN(argvi);
35413 0 : fail:
35414 :
35415 :
35416 :
35417 0 : SWIG_croak_null();
35418 : }
35419 : }
35420 :
35421 :
35422 0 : XS(_wrap_pointObj_draw) {
35423 : {
35424 : pointObj *arg1 = (pointObj *) 0 ;
35425 : mapObj *arg2 = (mapObj *) 0 ;
35426 : layerObj *arg3 = (layerObj *) 0 ;
35427 : imageObj *arg4 = (imageObj *) 0 ;
35428 : int arg5 ;
35429 : char *arg6 = (char *) 0 ;
35430 0 : void *argp1 = 0 ;
35431 : int res1 = 0 ;
35432 0 : void *argp2 = 0 ;
35433 : int res2 = 0 ;
35434 0 : void *argp3 = 0 ;
35435 : int res3 = 0 ;
35436 0 : void *argp4 = 0 ;
35437 : int res4 = 0 ;
35438 : int val5 ;
35439 : int ecode5 = 0 ;
35440 : int res6 ;
35441 0 : char *buf6 = 0 ;
35442 0 : int alloc6 = 0 ;
35443 : int argvi = 0;
35444 : int result;
35445 0 : dXSARGS;
35446 :
35447 0 : if ((items < 6) || (items > 6)) {
35448 0 : SWIG_croak("Usage: pointObj_draw(self,map,layer,image,classindex,text);");
35449 : }
35450 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35451 0 : if (!SWIG_IsOK(res1)) {
35452 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_draw" "', argument " "1"" of type '" "pointObj *""'");
35453 : }
35454 0 : arg1 = (pointObj *)(argp1);
35455 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
35456 0 : if (!SWIG_IsOK(res2)) {
35457 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_draw" "', argument " "2"" of type '" "mapObj *""'");
35458 : }
35459 0 : arg2 = (mapObj *)(argp2);
35460 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
35461 0 : if (!SWIG_IsOK(res3)) {
35462 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_draw" "', argument " "3"" of type '" "layerObj *""'");
35463 : }
35464 0 : arg3 = (layerObj *)(argp3);
35465 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
35466 0 : if (!SWIG_IsOK(res4)) {
35467 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pointObj_draw" "', argument " "4"" of type '" "imageObj *""'");
35468 : }
35469 0 : arg4 = (imageObj *)(argp4);
35470 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35471 0 : if (!SWIG_IsOK(ecode5)) {
35472 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_draw" "', argument " "5"" of type '" "int""'");
35473 : }
35474 : arg5 = (int)(val5);
35475 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
35476 0 : if (!SWIG_IsOK(res6)) {
35477 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pointObj_draw" "', argument " "6"" of type '" "char *""'");
35478 : }
35479 0 : arg6 = (char *)(buf6);
35480 : result = (int)pointObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
35481 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35482 :
35483 :
35484 :
35485 :
35486 :
35487 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35488 0 : XSRETURN(argvi);
35489 0 : fail:
35490 :
35491 :
35492 :
35493 :
35494 :
35495 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35496 0 : SWIG_croak_null();
35497 : }
35498 : }
35499 :
35500 :
35501 0 : XS(_wrap_pointObj_distanceToPoint) {
35502 : {
35503 : pointObj *arg1 = (pointObj *) 0 ;
35504 : pointObj *arg2 = (pointObj *) 0 ;
35505 0 : void *argp1 = 0 ;
35506 : int res1 = 0 ;
35507 0 : void *argp2 = 0 ;
35508 : int res2 = 0 ;
35509 : int argvi = 0;
35510 : double result;
35511 0 : dXSARGS;
35512 :
35513 0 : if ((items < 2) || (items > 2)) {
35514 0 : SWIG_croak("Usage: pointObj_distanceToPoint(self,point);");
35515 : }
35516 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35517 0 : if (!SWIG_IsOK(res1)) {
35518 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToPoint" "', argument " "1"" of type '" "pointObj *""'");
35519 : }
35520 0 : arg1 = (pointObj *)(argp1);
35521 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35522 0 : if (!SWIG_IsOK(res2)) {
35523 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
35524 : }
35525 0 : arg2 = (pointObj *)(argp2);
35526 : result = (double)pointObj_distanceToPoint(arg1,arg2);
35527 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35528 :
35529 :
35530 0 : XSRETURN(argvi);
35531 0 : fail:
35532 :
35533 :
35534 0 : SWIG_croak_null();
35535 : }
35536 : }
35537 :
35538 :
35539 1 : XS(_wrap_pointObj_distanceToSegment) {
35540 : {
35541 : pointObj *arg1 = (pointObj *) 0 ;
35542 : pointObj *arg2 = (pointObj *) 0 ;
35543 : pointObj *arg3 = (pointObj *) 0 ;
35544 1 : void *argp1 = 0 ;
35545 : int res1 = 0 ;
35546 1 : void *argp2 = 0 ;
35547 : int res2 = 0 ;
35548 1 : void *argp3 = 0 ;
35549 : int res3 = 0 ;
35550 : int argvi = 0;
35551 : double result;
35552 1 : dXSARGS;
35553 :
35554 1 : if ((items < 3) || (items > 3)) {
35555 0 : SWIG_croak("Usage: pointObj_distanceToSegment(self,a,b);");
35556 : }
35557 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35558 1 : if (!SWIG_IsOK(res1)) {
35559 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToSegment" "', argument " "1"" of type '" "pointObj *""'");
35560 : }
35561 1 : arg1 = (pointObj *)(argp1);
35562 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35563 1 : if (!SWIG_IsOK(res2)) {
35564 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToSegment" "', argument " "2"" of type '" "pointObj *""'");
35565 : }
35566 1 : arg2 = (pointObj *)(argp2);
35567 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
35568 1 : if (!SWIG_IsOK(res3)) {
35569 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_distanceToSegment" "', argument " "3"" of type '" "pointObj *""'");
35570 : }
35571 1 : arg3 = (pointObj *)(argp3);
35572 : result = (double)pointObj_distanceToSegment(arg1,arg2,arg3);
35573 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35574 :
35575 :
35576 :
35577 1 : XSRETURN(argvi);
35578 0 : fail:
35579 :
35580 :
35581 :
35582 0 : SWIG_croak_null();
35583 : }
35584 : }
35585 :
35586 :
35587 0 : XS(_wrap_pointObj_distanceToShape) {
35588 : {
35589 : pointObj *arg1 = (pointObj *) 0 ;
35590 : shapeObj *arg2 = (shapeObj *) 0 ;
35591 0 : void *argp1 = 0 ;
35592 : int res1 = 0 ;
35593 0 : void *argp2 = 0 ;
35594 : int res2 = 0 ;
35595 : int argvi = 0;
35596 : double result;
35597 0 : dXSARGS;
35598 :
35599 0 : if ((items < 2) || (items > 2)) {
35600 0 : SWIG_croak("Usage: pointObj_distanceToShape(self,shape);");
35601 : }
35602 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35603 0 : if (!SWIG_IsOK(res1)) {
35604 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToShape" "', argument " "1"" of type '" "pointObj *""'");
35605 : }
35606 0 : arg1 = (pointObj *)(argp1);
35607 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
35608 0 : if (!SWIG_IsOK(res2)) {
35609 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
35610 : }
35611 0 : arg2 = (shapeObj *)(argp2);
35612 : result = (double)pointObj_distanceToShape(arg1,arg2);
35613 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35614 :
35615 :
35616 0 : XSRETURN(argvi);
35617 0 : fail:
35618 :
35619 :
35620 0 : SWIG_croak_null();
35621 : }
35622 : }
35623 :
35624 :
35625 0 : XS(_wrap_pointObj_setXY) {
35626 : {
35627 : pointObj *arg1 = (pointObj *) 0 ;
35628 : double arg2 ;
35629 : double arg3 ;
35630 : double arg4 = (double) -2e38 ;
35631 0 : void *argp1 = 0 ;
35632 : int res1 = 0 ;
35633 : double val2 ;
35634 : int ecode2 = 0 ;
35635 : double val3 ;
35636 : int ecode3 = 0 ;
35637 : double val4 ;
35638 : int ecode4 = 0 ;
35639 : int argvi = 0;
35640 : int result;
35641 0 : dXSARGS;
35642 :
35643 0 : if ((items < 3) || (items > 4)) {
35644 0 : SWIG_croak("Usage: pointObj_setXY(self,x,y,m);");
35645 : }
35646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35647 0 : if (!SWIG_IsOK(res1)) {
35648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXY" "', argument " "1"" of type '" "pointObj *""'");
35649 : }
35650 0 : arg1 = (pointObj *)(argp1);
35651 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35652 0 : if (!SWIG_IsOK(ecode2)) {
35653 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXY" "', argument " "2"" of type '" "double""'");
35654 : }
35655 0 : arg2 = (double)(val2);
35656 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35657 0 : if (!SWIG_IsOK(ecode3)) {
35658 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXY" "', argument " "3"" of type '" "double""'");
35659 : }
35660 0 : arg3 = (double)(val3);
35661 0 : if (items > 3) {
35662 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35663 0 : if (!SWIG_IsOK(ecode4)) {
35664 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXY" "', argument " "4"" of type '" "double""'");
35665 : }
35666 : arg4 = (double)(val4);
35667 : }
35668 : result = (int)pointObj_setXY(arg1,arg2,arg3,arg4);
35669 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35670 :
35671 :
35672 :
35673 :
35674 0 : XSRETURN(argvi);
35675 0 : fail:
35676 :
35677 :
35678 :
35679 :
35680 0 : SWIG_croak_null();
35681 : }
35682 : }
35683 :
35684 :
35685 0 : XS(_wrap_pointObj_setXYZ) {
35686 : {
35687 : pointObj *arg1 = (pointObj *) 0 ;
35688 : double arg2 ;
35689 : double arg3 ;
35690 : double arg4 ;
35691 : double arg5 = (double) -2e38 ;
35692 0 : void *argp1 = 0 ;
35693 : int res1 = 0 ;
35694 : double val2 ;
35695 : int ecode2 = 0 ;
35696 : double val3 ;
35697 : int ecode3 = 0 ;
35698 : double val4 ;
35699 : int ecode4 = 0 ;
35700 : double val5 ;
35701 : int ecode5 = 0 ;
35702 : int argvi = 0;
35703 : int result;
35704 0 : dXSARGS;
35705 :
35706 0 : if ((items < 4) || (items > 5)) {
35707 0 : SWIG_croak("Usage: pointObj_setXYZ(self,x,y,z,m);");
35708 : }
35709 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35710 0 : if (!SWIG_IsOK(res1)) {
35711 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZ" "', argument " "1"" of type '" "pointObj *""'");
35712 : }
35713 0 : arg1 = (pointObj *)(argp1);
35714 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35715 0 : if (!SWIG_IsOK(ecode2)) {
35716 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZ" "', argument " "2"" of type '" "double""'");
35717 : }
35718 0 : arg2 = (double)(val2);
35719 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35720 0 : if (!SWIG_IsOK(ecode3)) {
35721 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZ" "', argument " "3"" of type '" "double""'");
35722 : }
35723 0 : arg3 = (double)(val3);
35724 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35725 0 : if (!SWIG_IsOK(ecode4)) {
35726 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZ" "', argument " "4"" of type '" "double""'");
35727 : }
35728 : arg4 = (double)(val4);
35729 0 : if (items > 4) {
35730 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35731 0 : if (!SWIG_IsOK(ecode5)) {
35732 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZ" "', argument " "5"" of type '" "double""'");
35733 : }
35734 : arg5 = (double)(val5);
35735 : }
35736 : result = (int)pointObj_setXYZ(arg1,arg2,arg3,arg4,arg5);
35737 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35738 :
35739 :
35740 :
35741 :
35742 :
35743 0 : XSRETURN(argvi);
35744 0 : fail:
35745 :
35746 :
35747 :
35748 :
35749 :
35750 0 : SWIG_croak_null();
35751 : }
35752 : }
35753 :
35754 :
35755 0 : XS(_wrap_pointObj_setXYZM) {
35756 : {
35757 : pointObj *arg1 = (pointObj *) 0 ;
35758 : double arg2 ;
35759 : double arg3 ;
35760 : double arg4 ;
35761 : double arg5 ;
35762 0 : void *argp1 = 0 ;
35763 : int res1 = 0 ;
35764 : double val2 ;
35765 : int ecode2 = 0 ;
35766 : double val3 ;
35767 : int ecode3 = 0 ;
35768 : double val4 ;
35769 : int ecode4 = 0 ;
35770 : double val5 ;
35771 : int ecode5 = 0 ;
35772 : int argvi = 0;
35773 : int result;
35774 0 : dXSARGS;
35775 :
35776 0 : if ((items < 5) || (items > 5)) {
35777 0 : SWIG_croak("Usage: pointObj_setXYZM(self,x,y,z,m);");
35778 : }
35779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35780 0 : if (!SWIG_IsOK(res1)) {
35781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZM" "', argument " "1"" of type '" "pointObj *""'");
35782 : }
35783 0 : arg1 = (pointObj *)(argp1);
35784 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35785 0 : if (!SWIG_IsOK(ecode2)) {
35786 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZM" "', argument " "2"" of type '" "double""'");
35787 : }
35788 0 : arg2 = (double)(val2);
35789 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35790 0 : if (!SWIG_IsOK(ecode3)) {
35791 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZM" "', argument " "3"" of type '" "double""'");
35792 : }
35793 0 : arg3 = (double)(val3);
35794 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35795 0 : if (!SWIG_IsOK(ecode4)) {
35796 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZM" "', argument " "4"" of type '" "double""'");
35797 : }
35798 : arg4 = (double)(val4);
35799 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35800 0 : if (!SWIG_IsOK(ecode5)) {
35801 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZM" "', argument " "5"" of type '" "double""'");
35802 : }
35803 : arg5 = (double)(val5);
35804 : result = (int)pointObj_setXYZM(arg1,arg2,arg3,arg4,arg5);
35805 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35806 :
35807 :
35808 :
35809 :
35810 :
35811 0 : XSRETURN(argvi);
35812 0 : fail:
35813 :
35814 :
35815 :
35816 :
35817 :
35818 0 : SWIG_croak_null();
35819 : }
35820 : }
35821 :
35822 :
35823 0 : XS(_wrap_pointObj_toString) {
35824 : {
35825 : pointObj *arg1 = (pointObj *) 0 ;
35826 0 : void *argp1 = 0 ;
35827 : int res1 = 0 ;
35828 : int argvi = 0;
35829 : char *result = 0 ;
35830 0 : dXSARGS;
35831 :
35832 0 : if ((items < 1) || (items > 1)) {
35833 0 : SWIG_croak("Usage: pointObj_toString(self);");
35834 : }
35835 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35836 0 : if (!SWIG_IsOK(res1)) {
35837 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toString" "', argument " "1"" of type '" "pointObj *""'");
35838 : }
35839 0 : arg1 = (pointObj *)(argp1);
35840 0 : result = (char *)pointObj_toString(arg1);
35841 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
35842 :
35843 0 : free((char*)result);
35844 0 : XSRETURN(argvi);
35845 0 : fail:
35846 :
35847 0 : SWIG_croak_null();
35848 : }
35849 : }
35850 :
35851 :
35852 0 : XS(_wrap_pointObj_toShape) {
35853 : {
35854 : pointObj *arg1 = (pointObj *) 0 ;
35855 0 : void *argp1 = 0 ;
35856 : int res1 = 0 ;
35857 : int argvi = 0;
35858 : shapeObj *result = 0 ;
35859 0 : dXSARGS;
35860 :
35861 0 : if ((items < 1) || (items > 1)) {
35862 0 : SWIG_croak("Usage: pointObj_toShape(self);");
35863 : }
35864 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35865 0 : if (!SWIG_IsOK(res1)) {
35866 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toShape" "', argument " "1"" of type '" "pointObj *""'");
35867 : }
35868 0 : arg1 = (pointObj *)(argp1);
35869 0 : result = (shapeObj *)pointObj_toShape(arg1);
35870 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35871 :
35872 0 : XSRETURN(argvi);
35873 0 : fail:
35874 :
35875 0 : SWIG_croak_null();
35876 : }
35877 : }
35878 :
35879 :
35880 1 : XS(_wrap_lineObj_numpoints_get) {
35881 : {
35882 : lineObj *arg1 = (lineObj *) 0 ;
35883 1 : void *argp1 = 0 ;
35884 : int res1 = 0 ;
35885 : int argvi = 0;
35886 : int result;
35887 1 : dXSARGS;
35888 :
35889 1 : if ((items < 1) || (items > 1)) {
35890 0 : SWIG_croak("Usage: lineObj_numpoints_get(self);");
35891 : }
35892 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35893 1 : if (!SWIG_IsOK(res1)) {
35894 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_numpoints_get" "', argument " "1"" of type '" "lineObj *""'");
35895 : }
35896 1 : arg1 = (lineObj *)(argp1);
35897 1 : result = (int) ((arg1)->numpoints);
35898 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35899 :
35900 1 : XSRETURN(argvi);
35901 0 : fail:
35902 :
35903 0 : SWIG_croak_null();
35904 : }
35905 : }
35906 :
35907 :
35908 1 : XS(_wrap_new_lineObj) {
35909 : {
35910 : int argvi = 0;
35911 : lineObj *result = 0 ;
35912 1 : dXSARGS;
35913 :
35914 1 : if ((items < 0) || (items > 0)) {
35915 0 : SWIG_croak("Usage: new_lineObj();");
35916 : }
35917 : result = (lineObj *)new_lineObj();
35918 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35919 1 : XSRETURN(argvi);
35920 : fail:
35921 0 : SWIG_croak_null();
35922 : }
35923 : }
35924 :
35925 :
35926 1 : XS(_wrap_delete_lineObj) {
35927 : {
35928 : lineObj *arg1 = (lineObj *) 0 ;
35929 1 : void *argp1 = 0 ;
35930 : int res1 = 0 ;
35931 : int argvi = 0;
35932 1 : dXSARGS;
35933 :
35934 1 : if ((items < 1) || (items > 1)) {
35935 0 : SWIG_croak("Usage: delete_lineObj(self);");
35936 : }
35937 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, SWIG_POINTER_DISOWN | 0 );
35938 1 : if (!SWIG_IsOK(res1)) {
35939 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lineObj" "', argument " "1"" of type '" "lineObj *""'");
35940 : }
35941 1 : arg1 = (lineObj *)(argp1);
35942 : delete_lineObj(arg1);
35943 1 : ST(argvi) = sv_newmortal();
35944 :
35945 1 : XSRETURN(argvi);
35946 0 : fail:
35947 :
35948 0 : SWIG_croak_null();
35949 : }
35950 : }
35951 :
35952 :
35953 0 : XS(_wrap_lineObj_project) {
35954 : {
35955 : lineObj *arg1 = (lineObj *) 0 ;
35956 : projectionObj *arg2 = (projectionObj *) 0 ;
35957 : projectionObj *arg3 = (projectionObj *) 0 ;
35958 0 : void *argp1 = 0 ;
35959 : int res1 = 0 ;
35960 0 : void *argp2 = 0 ;
35961 : int res2 = 0 ;
35962 0 : void *argp3 = 0 ;
35963 : int res3 = 0 ;
35964 : int argvi = 0;
35965 : int result;
35966 0 : dXSARGS;
35967 :
35968 0 : if ((items < 3) || (items > 3)) {
35969 0 : SWIG_croak("Usage: lineObj_project(self,projin,projout);");
35970 : }
35971 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35972 0 : if (!SWIG_IsOK(res1)) {
35973 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_project" "', argument " "1"" of type '" "lineObj *""'");
35974 : }
35975 0 : arg1 = (lineObj *)(argp1);
35976 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
35977 0 : if (!SWIG_IsOK(res2)) {
35978 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_project" "', argument " "2"" of type '" "projectionObj *""'");
35979 : }
35980 0 : arg2 = (projectionObj *)(argp2);
35981 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
35982 0 : if (!SWIG_IsOK(res3)) {
35983 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_project" "', argument " "3"" of type '" "projectionObj *""'");
35984 : }
35985 0 : arg3 = (projectionObj *)(argp3);
35986 : result = (int)lineObj_project(arg1,arg2,arg3);
35987 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35988 :
35989 :
35990 :
35991 0 : XSRETURN(argvi);
35992 0 : fail:
35993 :
35994 :
35995 :
35996 0 : SWIG_croak_null();
35997 : }
35998 : }
35999 :
36000 :
36001 1 : XS(_wrap_lineObj_get) {
36002 : {
36003 : lineObj *arg1 = (lineObj *) 0 ;
36004 : int arg2 ;
36005 1 : void *argp1 = 0 ;
36006 : int res1 = 0 ;
36007 : int val2 ;
36008 : int ecode2 = 0 ;
36009 : int argvi = 0;
36010 : pointObj *result = 0 ;
36011 1 : dXSARGS;
36012 :
36013 1 : if ((items < 2) || (items > 2)) {
36014 0 : SWIG_croak("Usage: lineObj_get(self,i);");
36015 : }
36016 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
36017 1 : if (!SWIG_IsOK(res1)) {
36018 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_get" "', argument " "1"" of type '" "lineObj *""'");
36019 : }
36020 1 : arg1 = (lineObj *)(argp1);
36021 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36022 1 : if (!SWIG_IsOK(ecode2)) {
36023 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_get" "', argument " "2"" of type '" "int""'");
36024 : }
36025 : arg2 = (int)(val2);
36026 : result = (pointObj *)lineObj_get(arg1,arg2);
36027 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
36028 :
36029 :
36030 1 : XSRETURN(argvi);
36031 0 : fail:
36032 :
36033 :
36034 0 : SWIG_croak_null();
36035 : }
36036 : }
36037 :
36038 :
36039 1 : XS(_wrap_lineObj_add) {
36040 : {
36041 : lineObj *arg1 = (lineObj *) 0 ;
36042 : pointObj *arg2 = (pointObj *) 0 ;
36043 1 : void *argp1 = 0 ;
36044 : int res1 = 0 ;
36045 1 : void *argp2 = 0 ;
36046 : int res2 = 0 ;
36047 : int argvi = 0;
36048 : int result;
36049 1 : dXSARGS;
36050 :
36051 1 : if ((items < 2) || (items > 2)) {
36052 0 : SWIG_croak("Usage: lineObj_add(self,p);");
36053 : }
36054 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
36055 1 : if (!SWIG_IsOK(res1)) {
36056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_add" "', argument " "1"" of type '" "lineObj *""'");
36057 : }
36058 1 : arg1 = (lineObj *)(argp1);
36059 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
36060 1 : if (!SWIG_IsOK(res2)) {
36061 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_add" "', argument " "2"" of type '" "pointObj *""'");
36062 : }
36063 1 : arg2 = (pointObj *)(argp2);
36064 1 : result = (int)lineObj_add(arg1,arg2);
36065 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36066 :
36067 :
36068 1 : XSRETURN(argvi);
36069 0 : fail:
36070 :
36071 :
36072 0 : SWIG_croak_null();
36073 : }
36074 : }
36075 :
36076 :
36077 0 : XS(_wrap_lineObj_set) {
36078 : {
36079 : lineObj *arg1 = (lineObj *) 0 ;
36080 : int arg2 ;
36081 : pointObj *arg3 = (pointObj *) 0 ;
36082 0 : void *argp1 = 0 ;
36083 : int res1 = 0 ;
36084 : int val2 ;
36085 : int ecode2 = 0 ;
36086 0 : void *argp3 = 0 ;
36087 : int res3 = 0 ;
36088 : int argvi = 0;
36089 : int result;
36090 0 : dXSARGS;
36091 :
36092 0 : if ((items < 3) || (items > 3)) {
36093 0 : SWIG_croak("Usage: lineObj_set(self,i,p);");
36094 : }
36095 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
36096 0 : if (!SWIG_IsOK(res1)) {
36097 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_set" "', argument " "1"" of type '" "lineObj *""'");
36098 : }
36099 0 : arg1 = (lineObj *)(argp1);
36100 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36101 0 : if (!SWIG_IsOK(ecode2)) {
36102 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_set" "', argument " "2"" of type '" "int""'");
36103 : }
36104 : arg2 = (int)(val2);
36105 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
36106 0 : if (!SWIG_IsOK(res3)) {
36107 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_set" "', argument " "3"" of type '" "pointObj *""'");
36108 : }
36109 0 : arg3 = (pointObj *)(argp3);
36110 : result = (int)lineObj_set(arg1,arg2,arg3);
36111 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36112 :
36113 :
36114 :
36115 0 : XSRETURN(argvi);
36116 0 : fail:
36117 :
36118 :
36119 :
36120 0 : SWIG_croak_null();
36121 : }
36122 : }
36123 :
36124 :
36125 1 : XS(_wrap_shapeObj_numlines_get) {
36126 : {
36127 : shapeObj *arg1 = (shapeObj *) 0 ;
36128 1 : void *argp1 = 0 ;
36129 : int res1 = 0 ;
36130 : int argvi = 0;
36131 : int result;
36132 1 : dXSARGS;
36133 :
36134 1 : if ((items < 1) || (items > 1)) {
36135 0 : SWIG_croak("Usage: shapeObj_numlines_get(self);");
36136 : }
36137 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36138 1 : if (!SWIG_IsOK(res1)) {
36139 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numlines_get" "', argument " "1"" of type '" "shapeObj *""'");
36140 : }
36141 1 : arg1 = (shapeObj *)(argp1);
36142 1 : result = (int) ((arg1)->numlines);
36143 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36144 :
36145 1 : XSRETURN(argvi);
36146 0 : fail:
36147 :
36148 0 : SWIG_croak_null();
36149 : }
36150 : }
36151 :
36152 :
36153 0 : XS(_wrap_shapeObj_numvalues_get) {
36154 : {
36155 : shapeObj *arg1 = (shapeObj *) 0 ;
36156 0 : void *argp1 = 0 ;
36157 : int res1 = 0 ;
36158 : int argvi = 0;
36159 : int result;
36160 0 : dXSARGS;
36161 :
36162 0 : if ((items < 1) || (items > 1)) {
36163 0 : SWIG_croak("Usage: shapeObj_numvalues_get(self);");
36164 : }
36165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36166 0 : if (!SWIG_IsOK(res1)) {
36167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numvalues_get" "', argument " "1"" of type '" "shapeObj *""'");
36168 : }
36169 0 : arg1 = (shapeObj *)(argp1);
36170 0 : result = (int) ((arg1)->numvalues);
36171 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36172 :
36173 0 : XSRETURN(argvi);
36174 0 : fail:
36175 :
36176 0 : SWIG_croak_null();
36177 : }
36178 : }
36179 :
36180 :
36181 0 : XS(_wrap_shapeObj_bounds_set) {
36182 : {
36183 : shapeObj *arg1 = (shapeObj *) 0 ;
36184 : rectObj *arg2 = (rectObj *) 0 ;
36185 0 : void *argp1 = 0 ;
36186 : int res1 = 0 ;
36187 0 : void *argp2 = 0 ;
36188 : int res2 = 0 ;
36189 : int argvi = 0;
36190 0 : dXSARGS;
36191 :
36192 0 : if ((items < 2) || (items > 2)) {
36193 0 : SWIG_croak("Usage: shapeObj_bounds_set(self,bounds);");
36194 : }
36195 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36196 0 : if (!SWIG_IsOK(res1)) {
36197 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_set" "', argument " "1"" of type '" "shapeObj *""'");
36198 : }
36199 0 : arg1 = (shapeObj *)(argp1);
36200 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
36201 0 : if (!SWIG_IsOK(res2)) {
36202 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_bounds_set" "', argument " "2"" of type '" "rectObj *""'");
36203 : }
36204 0 : arg2 = (rectObj *)(argp2);
36205 0 : if (arg1) (arg1)->bounds = *arg2;
36206 0 : ST(argvi) = sv_newmortal();
36207 :
36208 :
36209 0 : XSRETURN(argvi);
36210 0 : fail:
36211 :
36212 :
36213 0 : SWIG_croak_null();
36214 : }
36215 : }
36216 :
36217 :
36218 1 : XS(_wrap_shapeObj_bounds_get) {
36219 : {
36220 : shapeObj *arg1 = (shapeObj *) 0 ;
36221 1 : void *argp1 = 0 ;
36222 : int res1 = 0 ;
36223 : int argvi = 0;
36224 : rectObj *result = 0 ;
36225 1 : dXSARGS;
36226 :
36227 1 : if ((items < 1) || (items > 1)) {
36228 0 : SWIG_croak("Usage: shapeObj_bounds_get(self);");
36229 : }
36230 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36231 1 : if (!SWIG_IsOK(res1)) {
36232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_get" "', argument " "1"" of type '" "shapeObj *""'");
36233 : }
36234 1 : arg1 = (shapeObj *)(argp1);
36235 1 : result = (rectObj *)& ((arg1)->bounds);
36236 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
36237 :
36238 1 : XSRETURN(argvi);
36239 0 : fail:
36240 :
36241 0 : SWIG_croak_null();
36242 : }
36243 : }
36244 :
36245 :
36246 0 : XS(_wrap_shapeObj_type_set) {
36247 : {
36248 : shapeObj *arg1 = (shapeObj *) 0 ;
36249 : int arg2 ;
36250 0 : void *argp1 = 0 ;
36251 : int res1 = 0 ;
36252 : int val2 ;
36253 : int ecode2 = 0 ;
36254 : int argvi = 0;
36255 0 : dXSARGS;
36256 :
36257 0 : if ((items < 2) || (items > 2)) {
36258 0 : SWIG_croak("Usage: shapeObj_type_set(self,type);");
36259 : }
36260 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36261 0 : if (!SWIG_IsOK(res1)) {
36262 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_set" "', argument " "1"" of type '" "shapeObj *""'");
36263 : }
36264 0 : arg1 = (shapeObj *)(argp1);
36265 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36266 0 : if (!SWIG_IsOK(ecode2)) {
36267 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_type_set" "', argument " "2"" of type '" "int""'");
36268 : }
36269 : arg2 = (int)(val2);
36270 0 : if (arg1) (arg1)->type = arg2;
36271 0 : ST(argvi) = sv_newmortal();
36272 :
36273 :
36274 0 : XSRETURN(argvi);
36275 0 : fail:
36276 :
36277 :
36278 0 : SWIG_croak_null();
36279 : }
36280 : }
36281 :
36282 :
36283 0 : XS(_wrap_shapeObj_type_get) {
36284 : {
36285 : shapeObj *arg1 = (shapeObj *) 0 ;
36286 0 : void *argp1 = 0 ;
36287 : int res1 = 0 ;
36288 : int argvi = 0;
36289 : int result;
36290 0 : dXSARGS;
36291 :
36292 0 : if ((items < 1) || (items > 1)) {
36293 0 : SWIG_croak("Usage: shapeObj_type_get(self);");
36294 : }
36295 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36296 0 : if (!SWIG_IsOK(res1)) {
36297 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_get" "', argument " "1"" of type '" "shapeObj *""'");
36298 : }
36299 0 : arg1 = (shapeObj *)(argp1);
36300 0 : result = (int) ((arg1)->type);
36301 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36302 :
36303 0 : XSRETURN(argvi);
36304 0 : fail:
36305 :
36306 0 : SWIG_croak_null();
36307 : }
36308 : }
36309 :
36310 :
36311 0 : XS(_wrap_shapeObj_index_set) {
36312 : {
36313 : shapeObj *arg1 = (shapeObj *) 0 ;
36314 : long arg2 ;
36315 0 : void *argp1 = 0 ;
36316 : int res1 = 0 ;
36317 : long val2 ;
36318 : int ecode2 = 0 ;
36319 : int argvi = 0;
36320 0 : dXSARGS;
36321 :
36322 0 : if ((items < 2) || (items > 2)) {
36323 0 : SWIG_croak("Usage: shapeObj_index_set(self,index);");
36324 : }
36325 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36326 0 : if (!SWIG_IsOK(res1)) {
36327 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_set" "', argument " "1"" of type '" "shapeObj *""'");
36328 : }
36329 0 : arg1 = (shapeObj *)(argp1);
36330 0 : ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36331 0 : if (!SWIG_IsOK(ecode2)) {
36332 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_index_set" "', argument " "2"" of type '" "long""'");
36333 : }
36334 0 : arg2 = (long)(val2);
36335 0 : if (arg1) (arg1)->index = arg2;
36336 0 : ST(argvi) = sv_newmortal();
36337 :
36338 :
36339 0 : XSRETURN(argvi);
36340 0 : fail:
36341 :
36342 :
36343 0 : SWIG_croak_null();
36344 : }
36345 : }
36346 :
36347 :
36348 0 : XS(_wrap_shapeObj_index_get) {
36349 : {
36350 : shapeObj *arg1 = (shapeObj *) 0 ;
36351 0 : void *argp1 = 0 ;
36352 : int res1 = 0 ;
36353 : int argvi = 0;
36354 : long result;
36355 0 : dXSARGS;
36356 :
36357 0 : if ((items < 1) || (items > 1)) {
36358 0 : SWIG_croak("Usage: shapeObj_index_get(self);");
36359 : }
36360 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36361 0 : if (!SWIG_IsOK(res1)) {
36362 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_get" "', argument " "1"" of type '" "shapeObj *""'");
36363 : }
36364 0 : arg1 = (shapeObj *)(argp1);
36365 0 : result = (long) ((arg1)->index);
36366 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
36367 :
36368 0 : XSRETURN(argvi);
36369 0 : fail:
36370 :
36371 0 : SWIG_croak_null();
36372 : }
36373 : }
36374 :
36375 :
36376 0 : XS(_wrap_shapeObj_tileindex_set) {
36377 : {
36378 : shapeObj *arg1 = (shapeObj *) 0 ;
36379 : int arg2 ;
36380 0 : void *argp1 = 0 ;
36381 : int res1 = 0 ;
36382 : int val2 ;
36383 : int ecode2 = 0 ;
36384 : int argvi = 0;
36385 0 : dXSARGS;
36386 :
36387 0 : if ((items < 2) || (items > 2)) {
36388 0 : SWIG_croak("Usage: shapeObj_tileindex_set(self,tileindex);");
36389 : }
36390 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36391 0 : if (!SWIG_IsOK(res1)) {
36392 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36393 : }
36394 0 : arg1 = (shapeObj *)(argp1);
36395 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36396 0 : if (!SWIG_IsOK(ecode2)) {
36397 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_tileindex_set" "', argument " "2"" of type '" "int""'");
36398 : }
36399 : arg2 = (int)(val2);
36400 0 : if (arg1) (arg1)->tileindex = arg2;
36401 0 : ST(argvi) = sv_newmortal();
36402 :
36403 :
36404 0 : XSRETURN(argvi);
36405 0 : fail:
36406 :
36407 :
36408 0 : SWIG_croak_null();
36409 : }
36410 : }
36411 :
36412 :
36413 0 : XS(_wrap_shapeObj_tileindex_get) {
36414 : {
36415 : shapeObj *arg1 = (shapeObj *) 0 ;
36416 0 : void *argp1 = 0 ;
36417 : int res1 = 0 ;
36418 : int argvi = 0;
36419 : int result;
36420 0 : dXSARGS;
36421 :
36422 0 : if ((items < 1) || (items > 1)) {
36423 0 : SWIG_croak("Usage: shapeObj_tileindex_get(self);");
36424 : }
36425 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36426 0 : if (!SWIG_IsOK(res1)) {
36427 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36428 : }
36429 0 : arg1 = (shapeObj *)(argp1);
36430 0 : result = (int) ((arg1)->tileindex);
36431 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36432 :
36433 0 : XSRETURN(argvi);
36434 0 : fail:
36435 :
36436 0 : SWIG_croak_null();
36437 : }
36438 : }
36439 :
36440 :
36441 0 : XS(_wrap_shapeObj_classindex_set) {
36442 : {
36443 : shapeObj *arg1 = (shapeObj *) 0 ;
36444 : int arg2 ;
36445 0 : void *argp1 = 0 ;
36446 : int res1 = 0 ;
36447 : int val2 ;
36448 : int ecode2 = 0 ;
36449 : int argvi = 0;
36450 0 : dXSARGS;
36451 :
36452 0 : if ((items < 2) || (items > 2)) {
36453 0 : SWIG_croak("Usage: shapeObj_classindex_set(self,classindex);");
36454 : }
36455 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36456 0 : if (!SWIG_IsOK(res1)) {
36457 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36458 : }
36459 0 : arg1 = (shapeObj *)(argp1);
36460 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36461 0 : if (!SWIG_IsOK(ecode2)) {
36462 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_classindex_set" "', argument " "2"" of type '" "int""'");
36463 : }
36464 : arg2 = (int)(val2);
36465 0 : if (arg1) (arg1)->classindex = arg2;
36466 0 : ST(argvi) = sv_newmortal();
36467 :
36468 :
36469 0 : XSRETURN(argvi);
36470 0 : fail:
36471 :
36472 :
36473 0 : SWIG_croak_null();
36474 : }
36475 : }
36476 :
36477 :
36478 0 : XS(_wrap_shapeObj_classindex_get) {
36479 : {
36480 : shapeObj *arg1 = (shapeObj *) 0 ;
36481 0 : void *argp1 = 0 ;
36482 : int res1 = 0 ;
36483 : int argvi = 0;
36484 : int result;
36485 0 : dXSARGS;
36486 :
36487 0 : if ((items < 1) || (items > 1)) {
36488 0 : SWIG_croak("Usage: shapeObj_classindex_get(self);");
36489 : }
36490 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36491 0 : if (!SWIG_IsOK(res1)) {
36492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36493 : }
36494 0 : arg1 = (shapeObj *)(argp1);
36495 0 : result = (int) ((arg1)->classindex);
36496 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36497 :
36498 0 : XSRETURN(argvi);
36499 0 : fail:
36500 :
36501 0 : SWIG_croak_null();
36502 : }
36503 : }
36504 :
36505 :
36506 0 : XS(_wrap_shapeObj_text_set) {
36507 : {
36508 : shapeObj *arg1 = (shapeObj *) 0 ;
36509 : char *arg2 = (char *) 0 ;
36510 0 : void *argp1 = 0 ;
36511 : int res1 = 0 ;
36512 : int res2 ;
36513 0 : char *buf2 = 0 ;
36514 0 : int alloc2 = 0 ;
36515 : int argvi = 0;
36516 0 : dXSARGS;
36517 :
36518 0 : if ((items < 2) || (items > 2)) {
36519 0 : SWIG_croak("Usage: shapeObj_text_set(self,text);");
36520 : }
36521 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36522 0 : if (!SWIG_IsOK(res1)) {
36523 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_set" "', argument " "1"" of type '" "shapeObj *""'");
36524 : }
36525 0 : arg1 = (shapeObj *)(argp1);
36526 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
36527 0 : if (!SWIG_IsOK(res2)) {
36528 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_text_set" "', argument " "2"" of type '" "char *""'");
36529 : }
36530 0 : arg2 = (char *)(buf2);
36531 : {
36532 0 : if (arg1->text) free((char*)arg1->text);
36533 0 : if (arg2) {
36534 0 : arg1->text = (char *) malloc(strlen(arg2)+1);
36535 : strcpy((char*)arg1->text,arg2);
36536 : } else {
36537 0 : arg1->text = 0;
36538 : }
36539 : }
36540 0 : ST(argvi) = sv_newmortal();
36541 :
36542 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36543 0 : XSRETURN(argvi);
36544 0 : fail:
36545 :
36546 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36547 0 : SWIG_croak_null();
36548 : }
36549 : }
36550 :
36551 :
36552 0 : XS(_wrap_shapeObj_text_get) {
36553 : {
36554 : shapeObj *arg1 = (shapeObj *) 0 ;
36555 0 : void *argp1 = 0 ;
36556 : int res1 = 0 ;
36557 : int argvi = 0;
36558 : char *result = 0 ;
36559 0 : dXSARGS;
36560 :
36561 0 : if ((items < 1) || (items > 1)) {
36562 0 : SWIG_croak("Usage: shapeObj_text_get(self);");
36563 : }
36564 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36565 0 : if (!SWIG_IsOK(res1)) {
36566 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_get" "', argument " "1"" of type '" "shapeObj *""'");
36567 : }
36568 0 : arg1 = (shapeObj *)(argp1);
36569 0 : result = (char *) ((arg1)->text);
36570 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
36571 :
36572 0 : XSRETURN(argvi);
36573 0 : fail:
36574 :
36575 0 : SWIG_croak_null();
36576 : }
36577 : }
36578 :
36579 :
36580 0 : XS(_wrap_shapeObj_scratch_set) {
36581 : {
36582 : shapeObj *arg1 = (shapeObj *) 0 ;
36583 : int arg2 ;
36584 0 : void *argp1 = 0 ;
36585 : int res1 = 0 ;
36586 : int val2 ;
36587 : int ecode2 = 0 ;
36588 : int argvi = 0;
36589 0 : dXSARGS;
36590 :
36591 0 : if ((items < 2) || (items > 2)) {
36592 0 : SWIG_croak("Usage: shapeObj_scratch_set(self,scratch);");
36593 : }
36594 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36595 0 : if (!SWIG_IsOK(res1)) {
36596 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_set" "', argument " "1"" of type '" "shapeObj *""'");
36597 : }
36598 0 : arg1 = (shapeObj *)(argp1);
36599 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36600 0 : if (!SWIG_IsOK(ecode2)) {
36601 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_scratch_set" "', argument " "2"" of type '" "int""'");
36602 : }
36603 : arg2 = (int)(val2);
36604 0 : if (arg1) (arg1)->scratch = arg2;
36605 0 : ST(argvi) = sv_newmortal();
36606 :
36607 :
36608 0 : XSRETURN(argvi);
36609 0 : fail:
36610 :
36611 :
36612 0 : SWIG_croak_null();
36613 : }
36614 : }
36615 :
36616 :
36617 0 : XS(_wrap_shapeObj_scratch_get) {
36618 : {
36619 : shapeObj *arg1 = (shapeObj *) 0 ;
36620 0 : void *argp1 = 0 ;
36621 : int res1 = 0 ;
36622 : int argvi = 0;
36623 : int result;
36624 0 : dXSARGS;
36625 :
36626 0 : if ((items < 1) || (items > 1)) {
36627 0 : SWIG_croak("Usage: shapeObj_scratch_get(self);");
36628 : }
36629 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36630 0 : if (!SWIG_IsOK(res1)) {
36631 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_get" "', argument " "1"" of type '" "shapeObj *""'");
36632 : }
36633 0 : arg1 = (shapeObj *)(argp1);
36634 0 : result = (int) ((arg1)->scratch);
36635 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36636 :
36637 0 : XSRETURN(argvi);
36638 0 : fail:
36639 :
36640 0 : SWIG_croak_null();
36641 : }
36642 : }
36643 :
36644 :
36645 0 : XS(_wrap_shapeObj_resultindex_set) {
36646 : {
36647 : shapeObj *arg1 = (shapeObj *) 0 ;
36648 : int arg2 ;
36649 0 : void *argp1 = 0 ;
36650 : int res1 = 0 ;
36651 : int val2 ;
36652 : int ecode2 = 0 ;
36653 : int argvi = 0;
36654 0 : dXSARGS;
36655 :
36656 0 : if ((items < 2) || (items > 2)) {
36657 0 : SWIG_croak("Usage: shapeObj_resultindex_set(self,resultindex);");
36658 : }
36659 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36660 0 : if (!SWIG_IsOK(res1)) {
36661 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36662 : }
36663 0 : arg1 = (shapeObj *)(argp1);
36664 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36665 0 : if (!SWIG_IsOK(ecode2)) {
36666 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_resultindex_set" "', argument " "2"" of type '" "int""'");
36667 : }
36668 : arg2 = (int)(val2);
36669 0 : if (arg1) (arg1)->resultindex = arg2;
36670 0 : ST(argvi) = sv_newmortal();
36671 :
36672 :
36673 0 : XSRETURN(argvi);
36674 0 : fail:
36675 :
36676 :
36677 0 : SWIG_croak_null();
36678 : }
36679 : }
36680 :
36681 :
36682 0 : XS(_wrap_shapeObj_resultindex_get) {
36683 : {
36684 : shapeObj *arg1 = (shapeObj *) 0 ;
36685 0 : void *argp1 = 0 ;
36686 : int res1 = 0 ;
36687 : int argvi = 0;
36688 : int result;
36689 0 : dXSARGS;
36690 :
36691 0 : if ((items < 1) || (items > 1)) {
36692 0 : SWIG_croak("Usage: shapeObj_resultindex_get(self);");
36693 : }
36694 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36695 0 : if (!SWIG_IsOK(res1)) {
36696 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36697 : }
36698 0 : arg1 = (shapeObj *)(argp1);
36699 0 : result = (int) ((arg1)->resultindex);
36700 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36701 :
36702 0 : XSRETURN(argvi);
36703 0 : fail:
36704 :
36705 0 : SWIG_croak_null();
36706 : }
36707 : }
36708 :
36709 :
36710 1 : XS(_wrap_new_shapeObj) {
36711 : {
36712 : int arg1 = (int) MS_SHAPE_NULL ;
36713 : int val1 ;
36714 : int ecode1 = 0 ;
36715 : int argvi = 0;
36716 : shapeObj *result = 0 ;
36717 1 : dXSARGS;
36718 :
36719 1 : if ((items < 0) || (items > 1)) {
36720 0 : SWIG_croak("Usage: new_shapeObj(type);");
36721 : }
36722 1 : if (items > 0) {
36723 1 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
36724 1 : if (!SWIG_IsOK(ecode1)) {
36725 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_shapeObj" "', argument " "1"" of type '" "int""'");
36726 : }
36727 : arg1 = (int)(val1);
36728 : }
36729 1 : result = (shapeObj *)new_shapeObj(arg1);
36730 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36731 :
36732 1 : XSRETURN(argvi);
36733 0 : fail:
36734 :
36735 0 : SWIG_croak_null();
36736 : }
36737 : }
36738 :
36739 :
36740 1 : XS(_wrap_delete_shapeObj) {
36741 : {
36742 : shapeObj *arg1 = (shapeObj *) 0 ;
36743 1 : void *argp1 = 0 ;
36744 : int res1 = 0 ;
36745 : int argvi = 0;
36746 1 : dXSARGS;
36747 :
36748 1 : if ((items < 1) || (items > 1)) {
36749 0 : SWIG_croak("Usage: delete_shapeObj(self);");
36750 : }
36751 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, SWIG_POINTER_DISOWN | 0 );
36752 1 : if (!SWIG_IsOK(res1)) {
36753 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapeObj" "', argument " "1"" of type '" "shapeObj *""'");
36754 : }
36755 1 : arg1 = (shapeObj *)(argp1);
36756 : delete_shapeObj(arg1);
36757 1 : ST(argvi) = sv_newmortal();
36758 :
36759 1 : XSRETURN(argvi);
36760 0 : fail:
36761 :
36762 0 : SWIG_croak_null();
36763 : }
36764 : }
36765 :
36766 :
36767 1 : XS(_wrap_shapeObj_fromWKT) {
36768 : {
36769 : char *arg1 = (char *) 0 ;
36770 : int res1 ;
36771 1 : char *buf1 = 0 ;
36772 1 : int alloc1 = 0 ;
36773 : int argvi = 0;
36774 : shapeObj *result = 0 ;
36775 1 : dXSARGS;
36776 :
36777 1 : if ((items < 1) || (items > 1)) {
36778 0 : SWIG_croak("Usage: shapeObj_fromWKT(wkt);");
36779 : }
36780 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
36781 1 : if (!SWIG_IsOK(res1)) {
36782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_fromWKT" "', argument " "1"" of type '" "char *""'");
36783 : }
36784 1 : arg1 = (char *)(buf1);
36785 : result = (shapeObj *)shapeObj_fromWKT(arg1);
36786 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36787 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36788 1 : XSRETURN(argvi);
36789 0 : fail:
36790 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36791 0 : SWIG_croak_null();
36792 : }
36793 : }
36794 :
36795 :
36796 0 : XS(_wrap_shapeObj_project) {
36797 : {
36798 : shapeObj *arg1 = (shapeObj *) 0 ;
36799 : projectionObj *arg2 = (projectionObj *) 0 ;
36800 : projectionObj *arg3 = (projectionObj *) 0 ;
36801 0 : void *argp1 = 0 ;
36802 : int res1 = 0 ;
36803 0 : void *argp2 = 0 ;
36804 : int res2 = 0 ;
36805 0 : void *argp3 = 0 ;
36806 : int res3 = 0 ;
36807 : int argvi = 0;
36808 : int result;
36809 0 : dXSARGS;
36810 :
36811 0 : if ((items < 3) || (items > 3)) {
36812 0 : SWIG_croak("Usage: shapeObj_project(self,projin,projout);");
36813 : }
36814 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36815 0 : if (!SWIG_IsOK(res1)) {
36816 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_project" "', argument " "1"" of type '" "shapeObj *""'");
36817 : }
36818 0 : arg1 = (shapeObj *)(argp1);
36819 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
36820 0 : if (!SWIG_IsOK(res2)) {
36821 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_project" "', argument " "2"" of type '" "projectionObj *""'");
36822 : }
36823 0 : arg2 = (projectionObj *)(argp2);
36824 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
36825 0 : if (!SWIG_IsOK(res3)) {
36826 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_project" "', argument " "3"" of type '" "projectionObj *""'");
36827 : }
36828 0 : arg3 = (projectionObj *)(argp3);
36829 : result = (int)shapeObj_project(arg1,arg2,arg3);
36830 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36831 :
36832 :
36833 :
36834 0 : XSRETURN(argvi);
36835 0 : fail:
36836 :
36837 :
36838 :
36839 0 : SWIG_croak_null();
36840 : }
36841 : }
36842 :
36843 :
36844 1 : XS(_wrap_shapeObj_get) {
36845 : {
36846 : shapeObj *arg1 = (shapeObj *) 0 ;
36847 : int arg2 ;
36848 1 : void *argp1 = 0 ;
36849 : int res1 = 0 ;
36850 : int val2 ;
36851 : int ecode2 = 0 ;
36852 : int argvi = 0;
36853 : lineObj *result = 0 ;
36854 1 : dXSARGS;
36855 :
36856 1 : if ((items < 2) || (items > 2)) {
36857 0 : SWIG_croak("Usage: shapeObj_get(self,i);");
36858 : }
36859 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36860 1 : if (!SWIG_IsOK(res1)) {
36861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_get" "', argument " "1"" of type '" "shapeObj *""'");
36862 : }
36863 1 : arg1 = (shapeObj *)(argp1);
36864 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36865 1 : if (!SWIG_IsOK(ecode2)) {
36866 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_get" "', argument " "2"" of type '" "int""'");
36867 : }
36868 : arg2 = (int)(val2);
36869 : result = (lineObj *)shapeObj_get(arg1,arg2);
36870 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
36871 :
36872 :
36873 1 : XSRETURN(argvi);
36874 0 : fail:
36875 :
36876 :
36877 0 : SWIG_croak_null();
36878 : }
36879 : }
36880 :
36881 :
36882 1 : XS(_wrap_shapeObj_add) {
36883 : {
36884 : shapeObj *arg1 = (shapeObj *) 0 ;
36885 : lineObj *arg2 = (lineObj *) 0 ;
36886 1 : void *argp1 = 0 ;
36887 : int res1 = 0 ;
36888 1 : void *argp2 = 0 ;
36889 : int res2 = 0 ;
36890 : int argvi = 0;
36891 : int result;
36892 1 : dXSARGS;
36893 :
36894 1 : if ((items < 2) || (items > 2)) {
36895 0 : SWIG_croak("Usage: shapeObj_add(self,line);");
36896 : }
36897 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36898 1 : if (!SWIG_IsOK(res1)) {
36899 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_add" "', argument " "1"" of type '" "shapeObj *""'");
36900 : }
36901 1 : arg1 = (shapeObj *)(argp1);
36902 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
36903 1 : if (!SWIG_IsOK(res2)) {
36904 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_add" "', argument " "2"" of type '" "lineObj *""'");
36905 : }
36906 1 : arg2 = (lineObj *)(argp2);
36907 : result = (int)shapeObj_add(arg1,arg2);
36908 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36909 :
36910 :
36911 1 : XSRETURN(argvi);
36912 0 : fail:
36913 :
36914 :
36915 0 : SWIG_croak_null();
36916 : }
36917 : }
36918 :
36919 :
36920 0 : XS(_wrap_shapeObj_draw) {
36921 : {
36922 : shapeObj *arg1 = (shapeObj *) 0 ;
36923 : mapObj *arg2 = (mapObj *) 0 ;
36924 : layerObj *arg3 = (layerObj *) 0 ;
36925 : imageObj *arg4 = (imageObj *) 0 ;
36926 0 : void *argp1 = 0 ;
36927 : int res1 = 0 ;
36928 0 : void *argp2 = 0 ;
36929 : int res2 = 0 ;
36930 0 : void *argp3 = 0 ;
36931 : int res3 = 0 ;
36932 0 : void *argp4 = 0 ;
36933 : int res4 = 0 ;
36934 : int argvi = 0;
36935 : int result;
36936 0 : dXSARGS;
36937 :
36938 0 : if ((items < 4) || (items > 4)) {
36939 0 : SWIG_croak("Usage: shapeObj_draw(self,map,layer,image);");
36940 : }
36941 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36942 0 : if (!SWIG_IsOK(res1)) {
36943 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_draw" "', argument " "1"" of type '" "shapeObj *""'");
36944 : }
36945 0 : arg1 = (shapeObj *)(argp1);
36946 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
36947 0 : if (!SWIG_IsOK(res2)) {
36948 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_draw" "', argument " "2"" of type '" "mapObj *""'");
36949 : }
36950 0 : arg2 = (mapObj *)(argp2);
36951 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
36952 0 : if (!SWIG_IsOK(res3)) {
36953 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_draw" "', argument " "3"" of type '" "layerObj *""'");
36954 : }
36955 0 : arg3 = (layerObj *)(argp3);
36956 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
36957 0 : if (!SWIG_IsOK(res4)) {
36958 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapeObj_draw" "', argument " "4"" of type '" "imageObj *""'");
36959 : }
36960 0 : arg4 = (imageObj *)(argp4);
36961 : result = (int)shapeObj_draw(arg1,arg2,arg3,arg4);
36962 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36963 :
36964 :
36965 :
36966 :
36967 0 : XSRETURN(argvi);
36968 0 : fail:
36969 :
36970 :
36971 :
36972 :
36973 0 : SWIG_croak_null();
36974 : }
36975 : }
36976 :
36977 :
36978 0 : XS(_wrap_shapeObj_setBounds) {
36979 : {
36980 : shapeObj *arg1 = (shapeObj *) 0 ;
36981 0 : void *argp1 = 0 ;
36982 : int res1 = 0 ;
36983 : int argvi = 0;
36984 0 : dXSARGS;
36985 :
36986 0 : if ((items < 1) || (items > 1)) {
36987 0 : SWIG_croak("Usage: shapeObj_setBounds(self);");
36988 : }
36989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36990 0 : if (!SWIG_IsOK(res1)) {
36991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setBounds" "', argument " "1"" of type '" "shapeObj *""'");
36992 : }
36993 0 : arg1 = (shapeObj *)(argp1);
36994 : shapeObj_setBounds(arg1);
36995 0 : ST(argvi) = sv_newmortal();
36996 :
36997 0 : XSRETURN(argvi);
36998 0 : fail:
36999 :
37000 0 : SWIG_croak_null();
37001 : }
37002 : }
37003 :
37004 :
37005 0 : XS(_wrap_shapeObj_clone) {
37006 : {
37007 : shapeObj *arg1 = (shapeObj *) 0 ;
37008 0 : void *argp1 = 0 ;
37009 : int res1 = 0 ;
37010 : int argvi = 0;
37011 : shapeObj *result = 0 ;
37012 0 : dXSARGS;
37013 :
37014 0 : if ((items < 1) || (items > 1)) {
37015 0 : SWIG_croak("Usage: shapeObj_clone(self);");
37016 : }
37017 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37018 0 : if (!SWIG_IsOK(res1)) {
37019 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_clone" "', argument " "1"" of type '" "shapeObj *""'");
37020 : }
37021 0 : arg1 = (shapeObj *)(argp1);
37022 0 : result = (shapeObj *)shapeObj_clone(arg1);
37023 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37024 :
37025 0 : XSRETURN(argvi);
37026 0 : fail:
37027 :
37028 0 : SWIG_croak_null();
37029 : }
37030 : }
37031 :
37032 :
37033 0 : XS(_wrap_shapeObj_copy) {
37034 : {
37035 : shapeObj *arg1 = (shapeObj *) 0 ;
37036 : shapeObj *arg2 = (shapeObj *) 0 ;
37037 0 : void *argp1 = 0 ;
37038 : int res1 = 0 ;
37039 0 : void *argp2 = 0 ;
37040 : int res2 = 0 ;
37041 : int argvi = 0;
37042 : int result;
37043 0 : dXSARGS;
37044 :
37045 0 : if ((items < 2) || (items > 2)) {
37046 0 : SWIG_croak("Usage: shapeObj_copy(self,dest);");
37047 : }
37048 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37049 0 : if (!SWIG_IsOK(res1)) {
37050 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_copy" "', argument " "1"" of type '" "shapeObj *""'");
37051 : }
37052 0 : arg1 = (shapeObj *)(argp1);
37053 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37054 0 : if (!SWIG_IsOK(res2)) {
37055 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_copy" "', argument " "2"" of type '" "shapeObj *""'");
37056 : }
37057 0 : arg2 = (shapeObj *)(argp2);
37058 : result = (int)shapeObj_copy(arg1,arg2);
37059 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37060 :
37061 :
37062 0 : XSRETURN(argvi);
37063 0 : fail:
37064 :
37065 :
37066 0 : SWIG_croak_null();
37067 : }
37068 : }
37069 :
37070 :
37071 1 : XS(_wrap_shapeObj_toWKT) {
37072 : {
37073 : shapeObj *arg1 = (shapeObj *) 0 ;
37074 1 : void *argp1 = 0 ;
37075 : int res1 = 0 ;
37076 : int argvi = 0;
37077 : char *result = 0 ;
37078 1 : dXSARGS;
37079 :
37080 1 : if ((items < 1) || (items > 1)) {
37081 0 : SWIG_croak("Usage: shapeObj_toWKT(self);");
37082 : }
37083 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37084 1 : if (!SWIG_IsOK(res1)) {
37085 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_toWKT" "', argument " "1"" of type '" "shapeObj *""'");
37086 : }
37087 1 : arg1 = (shapeObj *)(argp1);
37088 : result = (char *)shapeObj_toWKT(arg1);
37089 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37090 :
37091 1 : free((char*)result);
37092 1 : XSRETURN(argvi);
37093 0 : fail:
37094 :
37095 0 : SWIG_croak_null();
37096 : }
37097 : }
37098 :
37099 :
37100 0 : XS(_wrap_shapeObj_buffer) {
37101 : {
37102 : shapeObj *arg1 = (shapeObj *) 0 ;
37103 : double arg2 ;
37104 0 : void *argp1 = 0 ;
37105 : int res1 = 0 ;
37106 : double val2 ;
37107 : int ecode2 = 0 ;
37108 : int argvi = 0;
37109 : shapeObj *result = 0 ;
37110 0 : dXSARGS;
37111 :
37112 0 : if ((items < 2) || (items > 2)) {
37113 0 : SWIG_croak("Usage: shapeObj_buffer(self,width);");
37114 : }
37115 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37116 0 : if (!SWIG_IsOK(res1)) {
37117 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_buffer" "', argument " "1"" of type '" "shapeObj *""'");
37118 : }
37119 0 : arg1 = (shapeObj *)(argp1);
37120 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37121 0 : if (!SWIG_IsOK(ecode2)) {
37122 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_buffer" "', argument " "2"" of type '" "double""'");
37123 : }
37124 0 : arg2 = (double)(val2);
37125 : result = (shapeObj *)shapeObj_buffer(arg1,arg2);
37126 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37127 :
37128 :
37129 0 : XSRETURN(argvi);
37130 0 : fail:
37131 :
37132 :
37133 0 : SWIG_croak_null();
37134 : }
37135 : }
37136 :
37137 :
37138 0 : XS(_wrap_shapeObj_simplify) {
37139 : {
37140 : shapeObj *arg1 = (shapeObj *) 0 ;
37141 : double arg2 ;
37142 0 : void *argp1 = 0 ;
37143 : int res1 = 0 ;
37144 : double val2 ;
37145 : int ecode2 = 0 ;
37146 : int argvi = 0;
37147 : shapeObj *result = 0 ;
37148 0 : dXSARGS;
37149 :
37150 0 : if ((items < 2) || (items > 2)) {
37151 0 : SWIG_croak("Usage: shapeObj_simplify(self,tolerance);");
37152 : }
37153 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37154 0 : if (!SWIG_IsOK(res1)) {
37155 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_simplify" "', argument " "1"" of type '" "shapeObj *""'");
37156 : }
37157 0 : arg1 = (shapeObj *)(argp1);
37158 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37159 0 : if (!SWIG_IsOK(ecode2)) {
37160 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_simplify" "', argument " "2"" of type '" "double""'");
37161 : }
37162 0 : arg2 = (double)(val2);
37163 : result = (shapeObj *)shapeObj_simplify(arg1,arg2);
37164 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37165 :
37166 :
37167 0 : XSRETURN(argvi);
37168 0 : fail:
37169 :
37170 :
37171 0 : SWIG_croak_null();
37172 : }
37173 : }
37174 :
37175 :
37176 0 : XS(_wrap_shapeObj_topologyPreservingSimplify) {
37177 : {
37178 : shapeObj *arg1 = (shapeObj *) 0 ;
37179 : double arg2 ;
37180 0 : void *argp1 = 0 ;
37181 : int res1 = 0 ;
37182 : double val2 ;
37183 : int ecode2 = 0 ;
37184 : int argvi = 0;
37185 : shapeObj *result = 0 ;
37186 0 : dXSARGS;
37187 :
37188 0 : if ((items < 2) || (items > 2)) {
37189 0 : SWIG_croak("Usage: shapeObj_topologyPreservingSimplify(self,tolerance);");
37190 : }
37191 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37192 0 : if (!SWIG_IsOK(res1)) {
37193 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "1"" of type '" "shapeObj *""'");
37194 : }
37195 0 : arg1 = (shapeObj *)(argp1);
37196 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37197 0 : if (!SWIG_IsOK(ecode2)) {
37198 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "2"" of type '" "double""'");
37199 : }
37200 0 : arg2 = (double)(val2);
37201 : result = (shapeObj *)shapeObj_topologyPreservingSimplify(arg1,arg2);
37202 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37203 :
37204 :
37205 0 : XSRETURN(argvi);
37206 0 : fail:
37207 :
37208 :
37209 0 : SWIG_croak_null();
37210 : }
37211 : }
37212 :
37213 :
37214 0 : XS(_wrap_shapeObj_convexHull) {
37215 : {
37216 : shapeObj *arg1 = (shapeObj *) 0 ;
37217 0 : void *argp1 = 0 ;
37218 : int res1 = 0 ;
37219 : int argvi = 0;
37220 : shapeObj *result = 0 ;
37221 0 : dXSARGS;
37222 :
37223 0 : if ((items < 1) || (items > 1)) {
37224 0 : SWIG_croak("Usage: shapeObj_convexHull(self);");
37225 : }
37226 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37227 0 : if (!SWIG_IsOK(res1)) {
37228 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_convexHull" "', argument " "1"" of type '" "shapeObj *""'");
37229 : }
37230 0 : arg1 = (shapeObj *)(argp1);
37231 : result = (shapeObj *)shapeObj_convexHull(arg1);
37232 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37233 :
37234 0 : XSRETURN(argvi);
37235 0 : fail:
37236 :
37237 0 : SWIG_croak_null();
37238 : }
37239 : }
37240 :
37241 :
37242 0 : XS(_wrap_shapeObj_boundary) {
37243 : {
37244 : shapeObj *arg1 = (shapeObj *) 0 ;
37245 0 : void *argp1 = 0 ;
37246 : int res1 = 0 ;
37247 : int argvi = 0;
37248 : shapeObj *result = 0 ;
37249 0 : dXSARGS;
37250 :
37251 0 : if ((items < 1) || (items > 1)) {
37252 0 : SWIG_croak("Usage: shapeObj_boundary(self);");
37253 : }
37254 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37255 0 : if (!SWIG_IsOK(res1)) {
37256 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_boundary" "', argument " "1"" of type '" "shapeObj *""'");
37257 : }
37258 0 : arg1 = (shapeObj *)(argp1);
37259 : result = (shapeObj *)shapeObj_boundary(arg1);
37260 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37261 :
37262 0 : XSRETURN(argvi);
37263 0 : fail:
37264 :
37265 0 : SWIG_croak_null();
37266 : }
37267 : }
37268 :
37269 :
37270 0 : XS(_wrap_shapeObj_getCentroid) {
37271 : {
37272 : shapeObj *arg1 = (shapeObj *) 0 ;
37273 0 : void *argp1 = 0 ;
37274 : int res1 = 0 ;
37275 : int argvi = 0;
37276 : pointObj *result = 0 ;
37277 0 : dXSARGS;
37278 :
37279 0 : if ((items < 1) || (items > 1)) {
37280 0 : SWIG_croak("Usage: shapeObj_getCentroid(self);");
37281 : }
37282 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37283 0 : if (!SWIG_IsOK(res1)) {
37284 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getCentroid" "', argument " "1"" of type '" "shapeObj *""'");
37285 : }
37286 0 : arg1 = (shapeObj *)(argp1);
37287 : result = (pointObj *)shapeObj_getCentroid(arg1);
37288 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37289 :
37290 0 : XSRETURN(argvi);
37291 0 : fail:
37292 :
37293 0 : SWIG_croak_null();
37294 : }
37295 : }
37296 :
37297 :
37298 0 : XS(_wrap_shapeObj_Union) {
37299 : {
37300 : shapeObj *arg1 = (shapeObj *) 0 ;
37301 : shapeObj *arg2 = (shapeObj *) 0 ;
37302 0 : void *argp1 = 0 ;
37303 : int res1 = 0 ;
37304 0 : void *argp2 = 0 ;
37305 : int res2 = 0 ;
37306 : int argvi = 0;
37307 : shapeObj *result = 0 ;
37308 0 : dXSARGS;
37309 :
37310 0 : if ((items < 2) || (items > 2)) {
37311 0 : SWIG_croak("Usage: shapeObj_Union(self,shape);");
37312 : }
37313 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37314 0 : if (!SWIG_IsOK(res1)) {
37315 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_Union" "', argument " "1"" of type '" "shapeObj *""'");
37316 : }
37317 0 : arg1 = (shapeObj *)(argp1);
37318 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37319 0 : if (!SWIG_IsOK(res2)) {
37320 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_Union" "', argument " "2"" of type '" "shapeObj *""'");
37321 : }
37322 0 : arg2 = (shapeObj *)(argp2);
37323 : result = (shapeObj *)shapeObj_Union(arg1,arg2);
37324 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37325 :
37326 :
37327 0 : XSRETURN(argvi);
37328 0 : fail:
37329 :
37330 :
37331 0 : SWIG_croak_null();
37332 : }
37333 : }
37334 :
37335 :
37336 0 : XS(_wrap_shapeObj_intersection) {
37337 : {
37338 : shapeObj *arg1 = (shapeObj *) 0 ;
37339 : shapeObj *arg2 = (shapeObj *) 0 ;
37340 0 : void *argp1 = 0 ;
37341 : int res1 = 0 ;
37342 0 : void *argp2 = 0 ;
37343 : int res2 = 0 ;
37344 : int argvi = 0;
37345 : shapeObj *result = 0 ;
37346 0 : dXSARGS;
37347 :
37348 0 : if ((items < 2) || (items > 2)) {
37349 0 : SWIG_croak("Usage: shapeObj_intersection(self,shape);");
37350 : }
37351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37352 0 : if (!SWIG_IsOK(res1)) {
37353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersection" "', argument " "1"" of type '" "shapeObj *""'");
37354 : }
37355 0 : arg1 = (shapeObj *)(argp1);
37356 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37357 0 : if (!SWIG_IsOK(res2)) {
37358 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersection" "', argument " "2"" of type '" "shapeObj *""'");
37359 : }
37360 0 : arg2 = (shapeObj *)(argp2);
37361 : result = (shapeObj *)shapeObj_intersection(arg1,arg2);
37362 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37363 :
37364 :
37365 0 : XSRETURN(argvi);
37366 0 : fail:
37367 :
37368 :
37369 0 : SWIG_croak_null();
37370 : }
37371 : }
37372 :
37373 :
37374 0 : XS(_wrap_shapeObj_difference) {
37375 : {
37376 : shapeObj *arg1 = (shapeObj *) 0 ;
37377 : shapeObj *arg2 = (shapeObj *) 0 ;
37378 0 : void *argp1 = 0 ;
37379 : int res1 = 0 ;
37380 0 : void *argp2 = 0 ;
37381 : int res2 = 0 ;
37382 : int argvi = 0;
37383 : shapeObj *result = 0 ;
37384 0 : dXSARGS;
37385 :
37386 0 : if ((items < 2) || (items > 2)) {
37387 0 : SWIG_croak("Usage: shapeObj_difference(self,shape);");
37388 : }
37389 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37390 0 : if (!SWIG_IsOK(res1)) {
37391 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_difference" "', argument " "1"" of type '" "shapeObj *""'");
37392 : }
37393 0 : arg1 = (shapeObj *)(argp1);
37394 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37395 0 : if (!SWIG_IsOK(res2)) {
37396 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_difference" "', argument " "2"" of type '" "shapeObj *""'");
37397 : }
37398 0 : arg2 = (shapeObj *)(argp2);
37399 : result = (shapeObj *)shapeObj_difference(arg1,arg2);
37400 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37401 :
37402 :
37403 0 : XSRETURN(argvi);
37404 0 : fail:
37405 :
37406 :
37407 0 : SWIG_croak_null();
37408 : }
37409 : }
37410 :
37411 :
37412 0 : XS(_wrap_shapeObj_symDifference) {
37413 : {
37414 : shapeObj *arg1 = (shapeObj *) 0 ;
37415 : shapeObj *arg2 = (shapeObj *) 0 ;
37416 0 : void *argp1 = 0 ;
37417 : int res1 = 0 ;
37418 0 : void *argp2 = 0 ;
37419 : int res2 = 0 ;
37420 : int argvi = 0;
37421 : shapeObj *result = 0 ;
37422 0 : dXSARGS;
37423 :
37424 0 : if ((items < 2) || (items > 2)) {
37425 0 : SWIG_croak("Usage: shapeObj_symDifference(self,shape);");
37426 : }
37427 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37428 0 : if (!SWIG_IsOK(res1)) {
37429 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_symDifference" "', argument " "1"" of type '" "shapeObj *""'");
37430 : }
37431 0 : arg1 = (shapeObj *)(argp1);
37432 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37433 0 : if (!SWIG_IsOK(res2)) {
37434 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_symDifference" "', argument " "2"" of type '" "shapeObj *""'");
37435 : }
37436 0 : arg2 = (shapeObj *)(argp2);
37437 : result = (shapeObj *)shapeObj_symDifference(arg1,arg2);
37438 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37439 :
37440 :
37441 0 : XSRETURN(argvi);
37442 0 : fail:
37443 :
37444 :
37445 0 : SWIG_croak_null();
37446 : }
37447 : }
37448 :
37449 :
37450 0 : XS(_wrap_shapeObj_contains__SWIG_0) {
37451 : {
37452 : shapeObj *arg1 = (shapeObj *) 0 ;
37453 : shapeObj *arg2 = (shapeObj *) 0 ;
37454 0 : void *argp1 = 0 ;
37455 : int res1 = 0 ;
37456 0 : void *argp2 = 0 ;
37457 : int res2 = 0 ;
37458 : int argvi = 0;
37459 : int result;
37460 0 : dXSARGS;
37461 :
37462 0 : if ((items < 2) || (items > 2)) {
37463 0 : SWIG_croak("Usage: shapeObj_contains(self,shape);");
37464 : }
37465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37466 0 : if (!SWIG_IsOK(res1)) {
37467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37468 : }
37469 0 : arg1 = (shapeObj *)(argp1);
37470 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37471 0 : if (!SWIG_IsOK(res2)) {
37472 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "shapeObj *""'");
37473 : }
37474 0 : arg2 = (shapeObj *)(argp2);
37475 : result = (int)shapeObj_contains__SWIG_0(arg1,arg2);
37476 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37477 :
37478 :
37479 0 : XSRETURN(argvi);
37480 0 : fail:
37481 :
37482 :
37483 0 : SWIG_croak_null();
37484 : }
37485 : }
37486 :
37487 :
37488 0 : XS(_wrap_shapeObj_overlaps) {
37489 : {
37490 : shapeObj *arg1 = (shapeObj *) 0 ;
37491 : shapeObj *arg2 = (shapeObj *) 0 ;
37492 0 : void *argp1 = 0 ;
37493 : int res1 = 0 ;
37494 0 : void *argp2 = 0 ;
37495 : int res2 = 0 ;
37496 : int argvi = 0;
37497 : int result;
37498 0 : dXSARGS;
37499 :
37500 0 : if ((items < 2) || (items > 2)) {
37501 0 : SWIG_croak("Usage: shapeObj_overlaps(self,shape);");
37502 : }
37503 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37504 0 : if (!SWIG_IsOK(res1)) {
37505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_overlaps" "', argument " "1"" of type '" "shapeObj *""'");
37506 : }
37507 0 : arg1 = (shapeObj *)(argp1);
37508 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37509 0 : if (!SWIG_IsOK(res2)) {
37510 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_overlaps" "', argument " "2"" of type '" "shapeObj *""'");
37511 : }
37512 0 : arg2 = (shapeObj *)(argp2);
37513 : result = (int)shapeObj_overlaps(arg1,arg2);
37514 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37515 :
37516 :
37517 0 : XSRETURN(argvi);
37518 0 : fail:
37519 :
37520 :
37521 0 : SWIG_croak_null();
37522 : }
37523 : }
37524 :
37525 :
37526 1 : XS(_wrap_shapeObj_within) {
37527 : {
37528 : shapeObj *arg1 = (shapeObj *) 0 ;
37529 : shapeObj *arg2 = (shapeObj *) 0 ;
37530 1 : void *argp1 = 0 ;
37531 : int res1 = 0 ;
37532 1 : void *argp2 = 0 ;
37533 : int res2 = 0 ;
37534 : int argvi = 0;
37535 : int result;
37536 1 : dXSARGS;
37537 :
37538 1 : if ((items < 2) || (items > 2)) {
37539 0 : SWIG_croak("Usage: shapeObj_within(self,shape);");
37540 : }
37541 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37542 1 : if (!SWIG_IsOK(res1)) {
37543 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_within" "', argument " "1"" of type '" "shapeObj *""'");
37544 : }
37545 1 : arg1 = (shapeObj *)(argp1);
37546 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37547 1 : if (!SWIG_IsOK(res2)) {
37548 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_within" "', argument " "2"" of type '" "shapeObj *""'");
37549 : }
37550 1 : arg2 = (shapeObj *)(argp2);
37551 : result = (int)shapeObj_within(arg1,arg2);
37552 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37553 :
37554 :
37555 1 : XSRETURN(argvi);
37556 0 : fail:
37557 :
37558 :
37559 0 : SWIG_croak_null();
37560 : }
37561 : }
37562 :
37563 :
37564 0 : XS(_wrap_shapeObj_crosses) {
37565 : {
37566 : shapeObj *arg1 = (shapeObj *) 0 ;
37567 : shapeObj *arg2 = (shapeObj *) 0 ;
37568 0 : void *argp1 = 0 ;
37569 : int res1 = 0 ;
37570 0 : void *argp2 = 0 ;
37571 : int res2 = 0 ;
37572 : int argvi = 0;
37573 : int result;
37574 0 : dXSARGS;
37575 :
37576 0 : if ((items < 2) || (items > 2)) {
37577 0 : SWIG_croak("Usage: shapeObj_crosses(self,shape);");
37578 : }
37579 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37580 0 : if (!SWIG_IsOK(res1)) {
37581 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_crosses" "', argument " "1"" of type '" "shapeObj *""'");
37582 : }
37583 0 : arg1 = (shapeObj *)(argp1);
37584 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37585 0 : if (!SWIG_IsOK(res2)) {
37586 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_crosses" "', argument " "2"" of type '" "shapeObj *""'");
37587 : }
37588 0 : arg2 = (shapeObj *)(argp2);
37589 : result = (int)shapeObj_crosses(arg1,arg2);
37590 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37591 :
37592 :
37593 0 : XSRETURN(argvi);
37594 0 : fail:
37595 :
37596 :
37597 0 : SWIG_croak_null();
37598 : }
37599 : }
37600 :
37601 :
37602 0 : XS(_wrap_shapeObj_intersects) {
37603 : {
37604 : shapeObj *arg1 = (shapeObj *) 0 ;
37605 : shapeObj *arg2 = (shapeObj *) 0 ;
37606 0 : void *argp1 = 0 ;
37607 : int res1 = 0 ;
37608 0 : void *argp2 = 0 ;
37609 : int res2 = 0 ;
37610 : int argvi = 0;
37611 : int result;
37612 0 : dXSARGS;
37613 :
37614 0 : if ((items < 2) || (items > 2)) {
37615 0 : SWIG_croak("Usage: shapeObj_intersects(self,shape);");
37616 : }
37617 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37618 0 : if (!SWIG_IsOK(res1)) {
37619 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersects" "', argument " "1"" of type '" "shapeObj *""'");
37620 : }
37621 0 : arg1 = (shapeObj *)(argp1);
37622 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37623 0 : if (!SWIG_IsOK(res2)) {
37624 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersects" "', argument " "2"" of type '" "shapeObj *""'");
37625 : }
37626 0 : arg2 = (shapeObj *)(argp2);
37627 : result = (int)shapeObj_intersects(arg1,arg2);
37628 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37629 :
37630 :
37631 0 : XSRETURN(argvi);
37632 0 : fail:
37633 :
37634 :
37635 0 : SWIG_croak_null();
37636 : }
37637 : }
37638 :
37639 :
37640 0 : XS(_wrap_shapeObj_touches) {
37641 : {
37642 : shapeObj *arg1 = (shapeObj *) 0 ;
37643 : shapeObj *arg2 = (shapeObj *) 0 ;
37644 0 : void *argp1 = 0 ;
37645 : int res1 = 0 ;
37646 0 : void *argp2 = 0 ;
37647 : int res2 = 0 ;
37648 : int argvi = 0;
37649 : int result;
37650 0 : dXSARGS;
37651 :
37652 0 : if ((items < 2) || (items > 2)) {
37653 0 : SWIG_croak("Usage: shapeObj_touches(self,shape);");
37654 : }
37655 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37656 0 : if (!SWIG_IsOK(res1)) {
37657 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_touches" "', argument " "1"" of type '" "shapeObj *""'");
37658 : }
37659 0 : arg1 = (shapeObj *)(argp1);
37660 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37661 0 : if (!SWIG_IsOK(res2)) {
37662 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_touches" "', argument " "2"" of type '" "shapeObj *""'");
37663 : }
37664 0 : arg2 = (shapeObj *)(argp2);
37665 : result = (int)shapeObj_touches(arg1,arg2);
37666 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37667 :
37668 :
37669 0 : XSRETURN(argvi);
37670 0 : fail:
37671 :
37672 :
37673 0 : SWIG_croak_null();
37674 : }
37675 : }
37676 :
37677 :
37678 0 : XS(_wrap_shapeObj_equals) {
37679 : {
37680 : shapeObj *arg1 = (shapeObj *) 0 ;
37681 : shapeObj *arg2 = (shapeObj *) 0 ;
37682 0 : void *argp1 = 0 ;
37683 : int res1 = 0 ;
37684 0 : void *argp2 = 0 ;
37685 : int res2 = 0 ;
37686 : int argvi = 0;
37687 : int result;
37688 0 : dXSARGS;
37689 :
37690 0 : if ((items < 2) || (items > 2)) {
37691 0 : SWIG_croak("Usage: shapeObj_equals(self,shape);");
37692 : }
37693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37694 0 : if (!SWIG_IsOK(res1)) {
37695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_equals" "', argument " "1"" of type '" "shapeObj *""'");
37696 : }
37697 0 : arg1 = (shapeObj *)(argp1);
37698 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37699 0 : if (!SWIG_IsOK(res2)) {
37700 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_equals" "', argument " "2"" of type '" "shapeObj *""'");
37701 : }
37702 0 : arg2 = (shapeObj *)(argp2);
37703 : result = (int)shapeObj_equals(arg1,arg2);
37704 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37705 :
37706 :
37707 0 : XSRETURN(argvi);
37708 0 : fail:
37709 :
37710 :
37711 0 : SWIG_croak_null();
37712 : }
37713 : }
37714 :
37715 :
37716 0 : XS(_wrap_shapeObj_disjoint) {
37717 : {
37718 : shapeObj *arg1 = (shapeObj *) 0 ;
37719 : shapeObj *arg2 = (shapeObj *) 0 ;
37720 0 : void *argp1 = 0 ;
37721 : int res1 = 0 ;
37722 0 : void *argp2 = 0 ;
37723 : int res2 = 0 ;
37724 : int argvi = 0;
37725 : int result;
37726 0 : dXSARGS;
37727 :
37728 0 : if ((items < 2) || (items > 2)) {
37729 0 : SWIG_croak("Usage: shapeObj_disjoint(self,shape);");
37730 : }
37731 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37732 0 : if (!SWIG_IsOK(res1)) {
37733 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_disjoint" "', argument " "1"" of type '" "shapeObj *""'");
37734 : }
37735 0 : arg1 = (shapeObj *)(argp1);
37736 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37737 0 : if (!SWIG_IsOK(res2)) {
37738 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_disjoint" "', argument " "2"" of type '" "shapeObj *""'");
37739 : }
37740 0 : arg2 = (shapeObj *)(argp2);
37741 : result = (int)shapeObj_disjoint(arg1,arg2);
37742 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37743 :
37744 :
37745 0 : XSRETURN(argvi);
37746 0 : fail:
37747 :
37748 :
37749 0 : SWIG_croak_null();
37750 : }
37751 : }
37752 :
37753 :
37754 0 : XS(_wrap_shapeObj_getArea) {
37755 : {
37756 : shapeObj *arg1 = (shapeObj *) 0 ;
37757 0 : void *argp1 = 0 ;
37758 : int res1 = 0 ;
37759 : int argvi = 0;
37760 : double result;
37761 0 : dXSARGS;
37762 :
37763 0 : if ((items < 1) || (items > 1)) {
37764 0 : SWIG_croak("Usage: shapeObj_getArea(self);");
37765 : }
37766 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37767 0 : if (!SWIG_IsOK(res1)) {
37768 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getArea" "', argument " "1"" of type '" "shapeObj *""'");
37769 : }
37770 0 : arg1 = (shapeObj *)(argp1);
37771 : result = (double)shapeObj_getArea(arg1);
37772 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37773 :
37774 0 : XSRETURN(argvi);
37775 0 : fail:
37776 :
37777 0 : SWIG_croak_null();
37778 : }
37779 : }
37780 :
37781 :
37782 0 : XS(_wrap_shapeObj_getLength) {
37783 : {
37784 : shapeObj *arg1 = (shapeObj *) 0 ;
37785 0 : void *argp1 = 0 ;
37786 : int res1 = 0 ;
37787 : int argvi = 0;
37788 : double result;
37789 0 : dXSARGS;
37790 :
37791 0 : if ((items < 1) || (items > 1)) {
37792 0 : SWIG_croak("Usage: shapeObj_getLength(self);");
37793 : }
37794 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37795 0 : if (!SWIG_IsOK(res1)) {
37796 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLength" "', argument " "1"" of type '" "shapeObj *""'");
37797 : }
37798 0 : arg1 = (shapeObj *)(argp1);
37799 : result = (double)shapeObj_getLength(arg1);
37800 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37801 :
37802 0 : XSRETURN(argvi);
37803 0 : fail:
37804 :
37805 0 : SWIG_croak_null();
37806 : }
37807 : }
37808 :
37809 :
37810 0 : XS(_wrap_shapeObj_getValue) {
37811 : {
37812 : shapeObj *arg1 = (shapeObj *) 0 ;
37813 : int arg2 ;
37814 0 : void *argp1 = 0 ;
37815 : int res1 = 0 ;
37816 : int val2 ;
37817 : int ecode2 = 0 ;
37818 : int argvi = 0;
37819 : char *result = 0 ;
37820 0 : dXSARGS;
37821 :
37822 0 : if ((items < 2) || (items > 2)) {
37823 0 : SWIG_croak("Usage: shapeObj_getValue(self,i);");
37824 : }
37825 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37826 0 : if (!SWIG_IsOK(res1)) {
37827 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getValue" "', argument " "1"" of type '" "shapeObj *""'");
37828 : }
37829 0 : arg1 = (shapeObj *)(argp1);
37830 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37831 0 : if (!SWIG_IsOK(ecode2)) {
37832 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_getValue" "', argument " "2"" of type '" "int""'");
37833 : }
37834 : arg2 = (int)(val2);
37835 : result = (char *)shapeObj_getValue(arg1,arg2);
37836 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37837 :
37838 :
37839 0 : XSRETURN(argvi);
37840 0 : fail:
37841 :
37842 :
37843 0 : SWIG_croak_null();
37844 : }
37845 : }
37846 :
37847 :
37848 0 : XS(_wrap_shapeObj_contains__SWIG_1) {
37849 : {
37850 : shapeObj *arg1 = (shapeObj *) 0 ;
37851 : pointObj *arg2 = (pointObj *) 0 ;
37852 0 : void *argp1 = 0 ;
37853 : int res1 = 0 ;
37854 0 : void *argp2 = 0 ;
37855 : int res2 = 0 ;
37856 : int argvi = 0;
37857 : int result;
37858 0 : dXSARGS;
37859 :
37860 0 : if ((items < 2) || (items > 2)) {
37861 0 : SWIG_croak("Usage: shapeObj_contains(self,point);");
37862 : }
37863 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37864 0 : if (!SWIG_IsOK(res1)) {
37865 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37866 : }
37867 0 : arg1 = (shapeObj *)(argp1);
37868 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37869 0 : if (!SWIG_IsOK(res2)) {
37870 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "pointObj *""'");
37871 : }
37872 0 : arg2 = (pointObj *)(argp2);
37873 : result = (int)shapeObj_contains__SWIG_1(arg1,arg2);
37874 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37875 :
37876 :
37877 0 : XSRETURN(argvi);
37878 0 : fail:
37879 :
37880 :
37881 0 : SWIG_croak_null();
37882 : }
37883 : }
37884 :
37885 :
37886 0 : XS(_wrap_shapeObj_contains) {
37887 0 : dXSARGS;
37888 :
37889 : {
37890 : unsigned long _index = 0;
37891 : SWIG_TypeRank _rank = 0;
37892 0 : if (items == 2) {
37893 : SWIG_TypeRank _ranki = 0;
37894 : SWIG_TypeRank _rankm = 0;
37895 : SWIG_TypeRank _pi = 1;
37896 : int _v = 0;
37897 : {
37898 0 : void *vptr = 0;
37899 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37900 : _v = SWIG_CheckState(res);
37901 : }
37902 : if (!_v) goto check_1;
37903 0 : _ranki += _v*_pi;
37904 : _rankm += _pi;
37905 : _pi *= SWIG_MAXCASTRANK;
37906 : {
37907 0 : void *vptr = 0;
37908 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_shapeObj, 0);
37909 : _v = SWIG_CheckState(res);
37910 : }
37911 : if (!_v) goto check_1;
37912 0 : _ranki += _v*_pi;
37913 : _rankm += _pi;
37914 : _pi *= SWIG_MAXCASTRANK;
37915 : if (!_index || (_ranki < _rank)) {
37916 : _rank = _ranki; _index = 1;
37917 0 : if (_rank == _rankm) goto dispatch;
37918 : }
37919 : }
37920 0 : check_1:
37921 :
37922 0 : if (items == 2) {
37923 : SWIG_TypeRank _ranki = 0;
37924 : SWIG_TypeRank _rankm = 0;
37925 : SWIG_TypeRank _pi = 1;
37926 : int _v = 0;
37927 : {
37928 0 : void *vptr = 0;
37929 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37930 : _v = SWIG_CheckState(res);
37931 : }
37932 : if (!_v) goto check_2;
37933 0 : _ranki += _v*_pi;
37934 : _rankm += _pi;
37935 : _pi *= SWIG_MAXCASTRANK;
37936 : {
37937 0 : void *vptr = 0;
37938 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_pointObj, 0);
37939 : _v = SWIG_CheckState(res);
37940 : }
37941 : if (!_v) goto check_2;
37942 0 : _ranki += _v*_pi;
37943 : _rankm += _pi;
37944 : _pi *= SWIG_MAXCASTRANK;
37945 0 : if (!_index || (_ranki < _rank)) {
37946 : _rank = _ranki; _index = 2;
37947 : if (_rank == _rankm) goto dispatch;
37948 : }
37949 : }
37950 0 : check_2:
37951 :
37952 0 : dispatch:
37953 0 : switch(_index) {
37954 0 : case 1:
37955 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_0); return;
37956 0 : case 2:
37957 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_1); return;
37958 : }
37959 : }
37960 :
37961 0 : croak("No matching function for overloaded 'shapeObj_contains'");
37962 : XSRETURN(0);
37963 : }
37964 :
37965 :
37966 0 : XS(_wrap_shapeObj_distanceToPoint) {
37967 : {
37968 : shapeObj *arg1 = (shapeObj *) 0 ;
37969 : pointObj *arg2 = (pointObj *) 0 ;
37970 0 : void *argp1 = 0 ;
37971 : int res1 = 0 ;
37972 0 : void *argp2 = 0 ;
37973 : int res2 = 0 ;
37974 : int argvi = 0;
37975 : double result;
37976 0 : dXSARGS;
37977 :
37978 0 : if ((items < 2) || (items > 2)) {
37979 0 : SWIG_croak("Usage: shapeObj_distanceToPoint(self,point);");
37980 : }
37981 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37982 0 : if (!SWIG_IsOK(res1)) {
37983 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToPoint" "', argument " "1"" of type '" "shapeObj *""'");
37984 : }
37985 0 : arg1 = (shapeObj *)(argp1);
37986 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37987 0 : if (!SWIG_IsOK(res2)) {
37988 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
37989 : }
37990 0 : arg2 = (pointObj *)(argp2);
37991 : result = (double)shapeObj_distanceToPoint(arg1,arg2);
37992 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37993 :
37994 :
37995 0 : XSRETURN(argvi);
37996 0 : fail:
37997 :
37998 :
37999 0 : SWIG_croak_null();
38000 : }
38001 : }
38002 :
38003 :
38004 0 : XS(_wrap_shapeObj_distanceToShape) {
38005 : {
38006 : shapeObj *arg1 = (shapeObj *) 0 ;
38007 : shapeObj *arg2 = (shapeObj *) 0 ;
38008 0 : void *argp1 = 0 ;
38009 : int res1 = 0 ;
38010 0 : void *argp2 = 0 ;
38011 : int res2 = 0 ;
38012 : int argvi = 0;
38013 : double result;
38014 0 : dXSARGS;
38015 :
38016 0 : if ((items < 2) || (items > 2)) {
38017 0 : SWIG_croak("Usage: shapeObj_distanceToShape(self,shape);");
38018 : }
38019 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
38020 0 : if (!SWIG_IsOK(res1)) {
38021 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToShape" "', argument " "1"" of type '" "shapeObj *""'");
38022 : }
38023 0 : arg1 = (shapeObj *)(argp1);
38024 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
38025 0 : if (!SWIG_IsOK(res2)) {
38026 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
38027 : }
38028 0 : arg2 = (shapeObj *)(argp2);
38029 : result = (double)shapeObj_distanceToShape(arg1,arg2);
38030 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
38031 :
38032 :
38033 0 : XSRETURN(argvi);
38034 0 : fail:
38035 :
38036 :
38037 0 : SWIG_croak_null();
38038 : }
38039 : }
38040 :
38041 :
38042 0 : XS(_wrap_shapeObj_getLabelPoint) {
38043 : {
38044 : shapeObj *arg1 = (shapeObj *) 0 ;
38045 0 : void *argp1 = 0 ;
38046 : int res1 = 0 ;
38047 : int argvi = 0;
38048 : pointObj *result = 0 ;
38049 0 : dXSARGS;
38050 :
38051 0 : if ((items < 1) || (items > 1)) {
38052 0 : SWIG_croak("Usage: shapeObj_getLabelPoint(self);");
38053 : }
38054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
38055 0 : if (!SWIG_IsOK(res1)) {
38056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLabelPoint" "', argument " "1"" of type '" "shapeObj *""'");
38057 : }
38058 0 : arg1 = (shapeObj *)(argp1);
38059 0 : result = (pointObj *)shapeObj_getLabelPoint(arg1);
38060 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38061 :
38062 0 : XSRETURN(argvi);
38063 0 : fail:
38064 :
38065 0 : SWIG_croak_null();
38066 : }
38067 : }
38068 :
38069 :
38070 0 : XS(_wrap_shapeObj_setValue) {
38071 : {
38072 : shapeObj *arg1 = (shapeObj *) 0 ;
38073 : int arg2 ;
38074 : char *arg3 = (char *) 0 ;
38075 0 : void *argp1 = 0 ;
38076 : int res1 = 0 ;
38077 : int val2 ;
38078 : int ecode2 = 0 ;
38079 : int res3 ;
38080 0 : char *buf3 = 0 ;
38081 0 : int alloc3 = 0 ;
38082 : int argvi = 0;
38083 : int result;
38084 0 : dXSARGS;
38085 :
38086 0 : if ((items < 3) || (items > 3)) {
38087 0 : SWIG_croak("Usage: shapeObj_setValue(self,i,value);");
38088 : }
38089 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
38090 0 : if (!SWIG_IsOK(res1)) {
38091 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setValue" "', argument " "1"" of type '" "shapeObj *""'");
38092 : }
38093 0 : arg1 = (shapeObj *)(argp1);
38094 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38095 0 : if (!SWIG_IsOK(ecode2)) {
38096 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_setValue" "', argument " "2"" of type '" "int""'");
38097 : }
38098 : arg2 = (int)(val2);
38099 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
38100 0 : if (!SWIG_IsOK(res3)) {
38101 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_setValue" "', argument " "3"" of type '" "char *""'");
38102 : }
38103 0 : arg3 = (char *)(buf3);
38104 0 : result = (int)shapeObj_setValue(arg1,arg2,arg3);
38105 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38106 :
38107 :
38108 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
38109 0 : XSRETURN(argvi);
38110 0 : fail:
38111 :
38112 :
38113 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
38114 0 : SWIG_croak_null();
38115 : }
38116 : }
38117 :
38118 :
38119 0 : XS(_wrap_shapeObj_initValues) {
38120 : {
38121 : shapeObj *arg1 = (shapeObj *) 0 ;
38122 : int arg2 ;
38123 0 : void *argp1 = 0 ;
38124 : int res1 = 0 ;
38125 : int val2 ;
38126 : int ecode2 = 0 ;
38127 : int argvi = 0;
38128 0 : dXSARGS;
38129 :
38130 0 : if ((items < 2) || (items > 2)) {
38131 0 : SWIG_croak("Usage: shapeObj_initValues(self,numvalues);");
38132 : }
38133 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
38134 0 : if (!SWIG_IsOK(res1)) {
38135 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_initValues" "', argument " "1"" of type '" "shapeObj *""'");
38136 : }
38137 0 : arg1 = (shapeObj *)(argp1);
38138 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38139 0 : if (!SWIG_IsOK(ecode2)) {
38140 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_initValues" "', argument " "2"" of type '" "int""'");
38141 : }
38142 : arg2 = (int)(val2);
38143 0 : shapeObj_initValues(arg1,arg2);
38144 0 : ST(argvi) = sv_newmortal();
38145 :
38146 :
38147 0 : XSRETURN(argvi);
38148 0 : fail:
38149 :
38150 :
38151 0 : SWIG_croak_null();
38152 : }
38153 : }
38154 :
38155 :
38156 0 : XS(_wrap_errorObj_code_set) {
38157 : {
38158 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38159 : int arg2 ;
38160 0 : void *argp1 = 0 ;
38161 : int res1 = 0 ;
38162 : int val2 ;
38163 : int ecode2 = 0 ;
38164 : int argvi = 0;
38165 0 : dXSARGS;
38166 :
38167 0 : if ((items < 2) || (items > 2)) {
38168 0 : SWIG_croak("Usage: errorObj_code_set(self,code);");
38169 : }
38170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38171 0 : if (!SWIG_IsOK(res1)) {
38172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_set" "', argument " "1"" of type '" "struct errorObj *""'");
38173 : }
38174 0 : arg1 = (struct errorObj *)(argp1);
38175 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38176 0 : if (!SWIG_IsOK(ecode2)) {
38177 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_code_set" "', argument " "2"" of type '" "int""'");
38178 : }
38179 : arg2 = (int)(val2);
38180 0 : if (arg1) (arg1)->code = arg2;
38181 0 : ST(argvi) = sv_newmortal();
38182 :
38183 :
38184 0 : XSRETURN(argvi);
38185 0 : fail:
38186 :
38187 :
38188 0 : SWIG_croak_null();
38189 : }
38190 : }
38191 :
38192 :
38193 0 : XS(_wrap_errorObj_code_get) {
38194 : {
38195 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38196 0 : void *argp1 = 0 ;
38197 : int res1 = 0 ;
38198 : int argvi = 0;
38199 : int result;
38200 0 : dXSARGS;
38201 :
38202 0 : if ((items < 1) || (items > 1)) {
38203 0 : SWIG_croak("Usage: errorObj_code_get(self);");
38204 : }
38205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38206 0 : if (!SWIG_IsOK(res1)) {
38207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_get" "', argument " "1"" of type '" "struct errorObj *""'");
38208 : }
38209 0 : arg1 = (struct errorObj *)(argp1);
38210 0 : result = (int) ((arg1)->code);
38211 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38212 :
38213 0 : XSRETURN(argvi);
38214 0 : fail:
38215 :
38216 0 : SWIG_croak_null();
38217 : }
38218 : }
38219 :
38220 :
38221 0 : XS(_wrap_errorObj_routine_set) {
38222 : {
38223 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38224 : char *arg2 ;
38225 0 : void *argp1 = 0 ;
38226 : int res1 = 0 ;
38227 : char temp2[64] ;
38228 : int res2 ;
38229 : int argvi = 0;
38230 0 : dXSARGS;
38231 :
38232 0 : if ((items < 2) || (items > 2)) {
38233 0 : SWIG_croak("Usage: errorObj_routine_set(self,routine);");
38234 : }
38235 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38236 0 : if (!SWIG_IsOK(res1)) {
38237 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_set" "', argument " "1"" of type '" "struct errorObj *""'");
38238 : }
38239 0 : arg1 = (struct errorObj *)(argp1);
38240 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 64);
38241 0 : if (!SWIG_IsOK(res2)) {
38242 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_routine_set" "', argument " "2"" of type '" "char [64]""'");
38243 : }
38244 : arg2 = (char *)(temp2);
38245 0 : if (arg2) memcpy(arg1->routine,arg2,64*sizeof(char));
38246 : else memset(arg1->routine,0,64*sizeof(char));
38247 0 : ST(argvi) = sv_newmortal();
38248 :
38249 :
38250 0 : XSRETURN(argvi);
38251 0 : fail:
38252 :
38253 :
38254 0 : SWIG_croak_null();
38255 : }
38256 : }
38257 :
38258 :
38259 0 : XS(_wrap_errorObj_routine_get) {
38260 : {
38261 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38262 0 : void *argp1 = 0 ;
38263 : int res1 = 0 ;
38264 : int argvi = 0;
38265 : char *result = 0 ;
38266 0 : dXSARGS;
38267 :
38268 0 : if ((items < 1) || (items > 1)) {
38269 0 : SWIG_croak("Usage: errorObj_routine_get(self);");
38270 : }
38271 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38272 0 : if (!SWIG_IsOK(res1)) {
38273 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_get" "', argument " "1"" of type '" "struct errorObj *""'");
38274 : }
38275 0 : arg1 = (struct errorObj *)(argp1);
38276 0 : result = (char *)(char *) ((arg1)->routine);
38277 : {
38278 0 : ST(argvi) = newSVpvn(result, strlen(result));
38279 : argvi++;
38280 : }
38281 :
38282 0 : XSRETURN(argvi);
38283 0 : fail:
38284 :
38285 0 : SWIG_croak_null();
38286 : }
38287 : }
38288 :
38289 :
38290 0 : XS(_wrap_errorObj_message_set) {
38291 : {
38292 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38293 : char *arg2 ;
38294 0 : void *argp1 = 0 ;
38295 : int res1 = 0 ;
38296 : char temp2[2048] ;
38297 : int res2 ;
38298 : int argvi = 0;
38299 0 : dXSARGS;
38300 :
38301 0 : if ((items < 2) || (items > 2)) {
38302 0 : SWIG_croak("Usage: errorObj_message_set(self,message);");
38303 : }
38304 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38305 0 : if (!SWIG_IsOK(res1)) {
38306 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_set" "', argument " "1"" of type '" "struct errorObj *""'");
38307 : }
38308 0 : arg1 = (struct errorObj *)(argp1);
38309 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 2048);
38310 0 : if (!SWIG_IsOK(res2)) {
38311 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_message_set" "', argument " "2"" of type '" "char [2048]""'");
38312 : }
38313 : arg2 = (char *)(temp2);
38314 0 : if (arg2) memcpy(arg1->message,arg2,2048*sizeof(char));
38315 : else memset(arg1->message,0,2048*sizeof(char));
38316 0 : ST(argvi) = sv_newmortal();
38317 :
38318 :
38319 0 : XSRETURN(argvi);
38320 0 : fail:
38321 :
38322 :
38323 0 : SWIG_croak_null();
38324 : }
38325 : }
38326 :
38327 :
38328 0 : XS(_wrap_errorObj_message_get) {
38329 : {
38330 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38331 0 : void *argp1 = 0 ;
38332 : int res1 = 0 ;
38333 : int argvi = 0;
38334 : char *result = 0 ;
38335 0 : dXSARGS;
38336 :
38337 0 : if ((items < 1) || (items > 1)) {
38338 0 : SWIG_croak("Usage: errorObj_message_get(self);");
38339 : }
38340 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38341 0 : if (!SWIG_IsOK(res1)) {
38342 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_get" "', argument " "1"" of type '" "struct errorObj *""'");
38343 : }
38344 0 : arg1 = (struct errorObj *)(argp1);
38345 0 : result = (char *)(char *) ((arg1)->message);
38346 : {
38347 0 : ST(argvi) = newSVpvn(result, strlen(result));
38348 : argvi++;
38349 : }
38350 :
38351 0 : XSRETURN(argvi);
38352 0 : fail:
38353 :
38354 0 : SWIG_croak_null();
38355 : }
38356 : }
38357 :
38358 :
38359 0 : XS(_wrap_errorObj_isreported_set) {
38360 : {
38361 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38362 : int arg2 ;
38363 0 : void *argp1 = 0 ;
38364 : int res1 = 0 ;
38365 : int val2 ;
38366 : int ecode2 = 0 ;
38367 : int argvi = 0;
38368 0 : dXSARGS;
38369 :
38370 0 : if ((items < 2) || (items > 2)) {
38371 0 : SWIG_croak("Usage: errorObj_isreported_set(self,isreported);");
38372 : }
38373 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38374 0 : if (!SWIG_IsOK(res1)) {
38375 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_set" "', argument " "1"" of type '" "struct errorObj *""'");
38376 : }
38377 0 : arg1 = (struct errorObj *)(argp1);
38378 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38379 0 : if (!SWIG_IsOK(ecode2)) {
38380 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_isreported_set" "', argument " "2"" of type '" "int""'");
38381 : }
38382 : arg2 = (int)(val2);
38383 0 : if (arg1) (arg1)->isreported = arg2;
38384 0 : ST(argvi) = sv_newmortal();
38385 :
38386 :
38387 0 : XSRETURN(argvi);
38388 0 : fail:
38389 :
38390 :
38391 0 : SWIG_croak_null();
38392 : }
38393 : }
38394 :
38395 :
38396 0 : XS(_wrap_errorObj_isreported_get) {
38397 : {
38398 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38399 0 : void *argp1 = 0 ;
38400 : int res1 = 0 ;
38401 : int argvi = 0;
38402 : int result;
38403 0 : dXSARGS;
38404 :
38405 0 : if ((items < 1) || (items > 1)) {
38406 0 : SWIG_croak("Usage: errorObj_isreported_get(self);");
38407 : }
38408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38409 0 : if (!SWIG_IsOK(res1)) {
38410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_get" "', argument " "1"" of type '" "struct errorObj *""'");
38411 : }
38412 0 : arg1 = (struct errorObj *)(argp1);
38413 0 : result = (int) ((arg1)->isreported);
38414 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38415 :
38416 0 : XSRETURN(argvi);
38417 0 : fail:
38418 :
38419 0 : SWIG_croak_null();
38420 : }
38421 : }
38422 :
38423 :
38424 0 : XS(_wrap_errorObj_errorcount_set) {
38425 : {
38426 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38427 : int arg2 ;
38428 0 : void *argp1 = 0 ;
38429 : int res1 = 0 ;
38430 : int val2 ;
38431 : int ecode2 = 0 ;
38432 : int argvi = 0;
38433 0 : dXSARGS;
38434 :
38435 0 : if ((items < 2) || (items > 2)) {
38436 0 : SWIG_croak("Usage: errorObj_errorcount_set(self,errorcount);");
38437 : }
38438 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38439 0 : if (!SWIG_IsOK(res1)) {
38440 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_set" "', argument " "1"" of type '" "struct errorObj *""'");
38441 : }
38442 0 : arg1 = (struct errorObj *)(argp1);
38443 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38444 0 : if (!SWIG_IsOK(ecode2)) {
38445 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_errorcount_set" "', argument " "2"" of type '" "int""'");
38446 : }
38447 : arg2 = (int)(val2);
38448 0 : if (arg1) (arg1)->errorcount = arg2;
38449 0 : ST(argvi) = sv_newmortal();
38450 :
38451 :
38452 0 : XSRETURN(argvi);
38453 0 : fail:
38454 :
38455 :
38456 0 : SWIG_croak_null();
38457 : }
38458 : }
38459 :
38460 :
38461 0 : XS(_wrap_errorObj_errorcount_get) {
38462 : {
38463 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38464 0 : void *argp1 = 0 ;
38465 : int res1 = 0 ;
38466 : int argvi = 0;
38467 : int result;
38468 0 : dXSARGS;
38469 :
38470 0 : if ((items < 1) || (items > 1)) {
38471 0 : SWIG_croak("Usage: errorObj_errorcount_get(self);");
38472 : }
38473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38474 0 : if (!SWIG_IsOK(res1)) {
38475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_get" "', argument " "1"" of type '" "struct errorObj *""'");
38476 : }
38477 0 : arg1 = (struct errorObj *)(argp1);
38478 0 : result = (int) ((arg1)->errorcount);
38479 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38480 :
38481 0 : XSRETURN(argvi);
38482 0 : fail:
38483 :
38484 0 : SWIG_croak_null();
38485 : }
38486 : }
38487 :
38488 :
38489 0 : XS(_wrap_new_errorObj) {
38490 : {
38491 : int argvi = 0;
38492 : struct errorObj *result = 0 ;
38493 0 : dXSARGS;
38494 :
38495 0 : if ((items < 0) || (items > 0)) {
38496 0 : SWIG_croak("Usage: new_errorObj();");
38497 : }
38498 : result = (struct errorObj *)new_errorObj();
38499 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38500 0 : XSRETURN(argvi);
38501 : fail:
38502 0 : SWIG_croak_null();
38503 : }
38504 : }
38505 :
38506 :
38507 0 : XS(_wrap_delete_errorObj) {
38508 : {
38509 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38510 0 : void *argp1 = 0 ;
38511 : int res1 = 0 ;
38512 : int argvi = 0;
38513 0 : dXSARGS;
38514 :
38515 0 : if ((items < 1) || (items > 1)) {
38516 0 : SWIG_croak("Usage: delete_errorObj(self);");
38517 : }
38518 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, SWIG_POINTER_DISOWN | 0 );
38519 0 : if (!SWIG_IsOK(res1)) {
38520 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_errorObj" "', argument " "1"" of type '" "struct errorObj *""'");
38521 : }
38522 : arg1 = (struct errorObj *)(argp1);
38523 : delete_errorObj(arg1);
38524 0 : ST(argvi) = sv_newmortal();
38525 :
38526 0 : XSRETURN(argvi);
38527 0 : fail:
38528 :
38529 0 : SWIG_croak_null();
38530 : }
38531 : }
38532 :
38533 :
38534 0 : XS(_wrap_errorObj_next) {
38535 : {
38536 : struct errorObj *arg1 = (struct errorObj *) 0 ;
38537 0 : void *argp1 = 0 ;
38538 : int res1 = 0 ;
38539 : int argvi = 0;
38540 : errorObj *result = 0 ;
38541 0 : dXSARGS;
38542 :
38543 0 : if ((items < 1) || (items > 1)) {
38544 0 : SWIG_croak("Usage: errorObj_next(self);");
38545 : }
38546 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
38547 0 : if (!SWIG_IsOK(res1)) {
38548 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_next" "', argument " "1"" of type '" "struct errorObj *""'");
38549 : }
38550 0 : arg1 = (struct errorObj *)(argp1);
38551 0 : result = (errorObj *)errorObj_next(arg1);
38552 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
38553 :
38554 0 : XSRETURN(argvi);
38555 0 : fail:
38556 :
38557 0 : SWIG_croak_null();
38558 : }
38559 : }
38560 :
38561 :
38562 0 : XS(_wrap_msGetErrorObj) {
38563 : {
38564 : int argvi = 0;
38565 : errorObj *result = 0 ;
38566 0 : dXSARGS;
38567 :
38568 0 : if ((items < 0) || (items > 0)) {
38569 0 : SWIG_croak("Usage: msGetErrorObj();");
38570 : }
38571 0 : result = (errorObj *)msGetErrorObj();
38572 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
38573 0 : XSRETURN(argvi);
38574 : fail:
38575 0 : SWIG_croak_null();
38576 : }
38577 : }
38578 :
38579 :
38580 0 : XS(_wrap_msResetErrorList) {
38581 : {
38582 : int argvi = 0;
38583 0 : dXSARGS;
38584 :
38585 0 : if ((items < 0) || (items > 0)) {
38586 0 : SWIG_croak("Usage: msResetErrorList();");
38587 : }
38588 0 : msResetErrorList();
38589 0 : ST(argvi) = sv_newmortal();
38590 0 : XSRETURN(argvi);
38591 : fail:
38592 0 : SWIG_croak_null();
38593 : }
38594 : }
38595 :
38596 :
38597 1 : XS(_wrap_msGetVersion) {
38598 : {
38599 : int argvi = 0;
38600 : char *result = 0 ;
38601 1 : dXSARGS;
38602 :
38603 1 : if ((items < 0) || (items > 0)) {
38604 0 : SWIG_croak("Usage: msGetVersion();");
38605 : }
38606 1 : result = (char *)msGetVersion();
38607 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38608 1 : XSRETURN(argvi);
38609 : fail:
38610 0 : SWIG_croak_null();
38611 : }
38612 : }
38613 :
38614 :
38615 0 : XS(_wrap_msGetVersionInt) {
38616 : {
38617 : int argvi = 0;
38618 : int result;
38619 0 : dXSARGS;
38620 :
38621 0 : if ((items < 0) || (items > 0)) {
38622 0 : SWIG_croak("Usage: msGetVersionInt();");
38623 : }
38624 0 : result = (int)msGetVersionInt();
38625 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38626 0 : XSRETURN(argvi);
38627 : fail:
38628 0 : SWIG_croak_null();
38629 : }
38630 : }
38631 :
38632 :
38633 0 : XS(_wrap_msGetErrorString) {
38634 : {
38635 : char *arg1 = (char *) 0 ;
38636 : int res1 ;
38637 0 : char *buf1 = 0 ;
38638 0 : int alloc1 = 0 ;
38639 : int argvi = 0;
38640 : char *result = 0 ;
38641 0 : dXSARGS;
38642 :
38643 0 : if ((items < 1) || (items > 1)) {
38644 0 : SWIG_croak("Usage: msGetErrorString(delimiter);");
38645 : }
38646 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
38647 0 : if (!SWIG_IsOK(res1)) {
38648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msGetErrorString" "', argument " "1"" of type '" "char const *""'");
38649 : }
38650 0 : arg1 = (char *)(buf1);
38651 0 : result = (char *)msGetErrorString((char const *)arg1);
38652 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38653 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38654 0 : XSRETURN(argvi);
38655 0 : fail:
38656 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38657 0 : SWIG_croak_null();
38658 : }
38659 : }
38660 :
38661 :
38662 0 : XS(_wrap_DBFInfo_nRecords_get) {
38663 : {
38664 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38665 0 : void *argp1 = 0 ;
38666 : int res1 = 0 ;
38667 : int argvi = 0;
38668 : int result;
38669 0 : dXSARGS;
38670 :
38671 0 : if ((items < 1) || (items > 1)) {
38672 0 : SWIG_croak("Usage: DBFInfo_nRecords_get(self);");
38673 : }
38674 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38675 0 : if (!SWIG_IsOK(res1)) {
38676 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecords_get" "', argument " "1"" of type '" "DBFInfo *""'");
38677 : }
38678 0 : arg1 = (DBFInfo *)(argp1);
38679 0 : result = (int) ((arg1)->nRecords);
38680 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38681 :
38682 0 : XSRETURN(argvi);
38683 0 : fail:
38684 :
38685 0 : SWIG_croak_null();
38686 : }
38687 : }
38688 :
38689 :
38690 0 : XS(_wrap_DBFInfo_nFields_get) {
38691 : {
38692 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38693 0 : void *argp1 = 0 ;
38694 : int res1 = 0 ;
38695 : int argvi = 0;
38696 : int result;
38697 0 : dXSARGS;
38698 :
38699 0 : if ((items < 1) || (items > 1)) {
38700 0 : SWIG_croak("Usage: DBFInfo_nFields_get(self);");
38701 : }
38702 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38703 0 : if (!SWIG_IsOK(res1)) {
38704 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nFields_get" "', argument " "1"" of type '" "DBFInfo *""'");
38705 : }
38706 0 : arg1 = (DBFInfo *)(argp1);
38707 0 : result = (int) ((arg1)->nFields);
38708 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38709 :
38710 0 : XSRETURN(argvi);
38711 0 : fail:
38712 :
38713 0 : SWIG_croak_null();
38714 : }
38715 : }
38716 :
38717 :
38718 0 : XS(_wrap_DBFInfo_getFieldName) {
38719 : {
38720 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38721 : int arg2 ;
38722 0 : void *argp1 = 0 ;
38723 : int res1 = 0 ;
38724 : int val2 ;
38725 : int ecode2 = 0 ;
38726 : int argvi = 0;
38727 : char *result = 0 ;
38728 0 : dXSARGS;
38729 :
38730 0 : if ((items < 2) || (items > 2)) {
38731 0 : SWIG_croak("Usage: DBFInfo_getFieldName(self,iField);");
38732 : }
38733 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38734 0 : if (!SWIG_IsOK(res1)) {
38735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldName" "', argument " "1"" of type '" "DBFInfo *""'");
38736 : }
38737 0 : arg1 = (DBFInfo *)(argp1);
38738 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38739 0 : if (!SWIG_IsOK(ecode2)) {
38740 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldName" "', argument " "2"" of type '" "int""'");
38741 : }
38742 : arg2 = (int)(val2);
38743 : result = (char *)DBFInfo_getFieldName(arg1,arg2);
38744 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38745 :
38746 :
38747 0 : XSRETURN(argvi);
38748 0 : fail:
38749 :
38750 :
38751 0 : SWIG_croak_null();
38752 : }
38753 : }
38754 :
38755 :
38756 0 : XS(_wrap_DBFInfo_getFieldWidth) {
38757 : {
38758 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38759 : int arg2 ;
38760 0 : void *argp1 = 0 ;
38761 : int res1 = 0 ;
38762 : int val2 ;
38763 : int ecode2 = 0 ;
38764 : int argvi = 0;
38765 : int result;
38766 0 : dXSARGS;
38767 :
38768 0 : if ((items < 2) || (items > 2)) {
38769 0 : SWIG_croak("Usage: DBFInfo_getFieldWidth(self,iField);");
38770 : }
38771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38772 0 : if (!SWIG_IsOK(res1)) {
38773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldWidth" "', argument " "1"" of type '" "DBFInfo *""'");
38774 : }
38775 0 : arg1 = (DBFInfo *)(argp1);
38776 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38777 0 : if (!SWIG_IsOK(ecode2)) {
38778 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldWidth" "', argument " "2"" of type '" "int""'");
38779 : }
38780 : arg2 = (int)(val2);
38781 0 : result = (int)DBFInfo_getFieldWidth(arg1,arg2);
38782 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38783 :
38784 :
38785 0 : XSRETURN(argvi);
38786 0 : fail:
38787 :
38788 :
38789 0 : SWIG_croak_null();
38790 : }
38791 : }
38792 :
38793 :
38794 0 : XS(_wrap_DBFInfo_getFieldDecimals) {
38795 : {
38796 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38797 : int arg2 ;
38798 0 : void *argp1 = 0 ;
38799 : int res1 = 0 ;
38800 : int val2 ;
38801 : int ecode2 = 0 ;
38802 : int argvi = 0;
38803 : int result;
38804 0 : dXSARGS;
38805 :
38806 0 : if ((items < 2) || (items > 2)) {
38807 0 : SWIG_croak("Usage: DBFInfo_getFieldDecimals(self,iField);");
38808 : }
38809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38810 0 : if (!SWIG_IsOK(res1)) {
38811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldDecimals" "', argument " "1"" of type '" "DBFInfo *""'");
38812 : }
38813 0 : arg1 = (DBFInfo *)(argp1);
38814 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38815 0 : if (!SWIG_IsOK(ecode2)) {
38816 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldDecimals" "', argument " "2"" of type '" "int""'");
38817 : }
38818 : arg2 = (int)(val2);
38819 0 : result = (int)DBFInfo_getFieldDecimals(arg1,arg2);
38820 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38821 :
38822 :
38823 0 : XSRETURN(argvi);
38824 0 : fail:
38825 :
38826 :
38827 0 : SWIG_croak_null();
38828 : }
38829 : }
38830 :
38831 :
38832 0 : XS(_wrap_DBFInfo_getFieldType) {
38833 : {
38834 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38835 : int arg2 ;
38836 0 : void *argp1 = 0 ;
38837 : int res1 = 0 ;
38838 : int val2 ;
38839 : int ecode2 = 0 ;
38840 : int argvi = 0;
38841 : int result;
38842 0 : dXSARGS;
38843 :
38844 0 : if ((items < 2) || (items > 2)) {
38845 0 : SWIG_croak("Usage: DBFInfo_getFieldType(self,iField);");
38846 : }
38847 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38848 0 : if (!SWIG_IsOK(res1)) {
38849 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldType" "', argument " "1"" of type '" "DBFInfo *""'");
38850 : }
38851 0 : arg1 = (DBFInfo *)(argp1);
38852 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38853 0 : if (!SWIG_IsOK(ecode2)) {
38854 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldType" "', argument " "2"" of type '" "int""'");
38855 : }
38856 : arg2 = (int)(val2);
38857 : result = (int)DBFInfo_getFieldType(arg1,arg2);
38858 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38859 :
38860 :
38861 0 : XSRETURN(argvi);
38862 0 : fail:
38863 :
38864 :
38865 0 : SWIG_croak_null();
38866 : }
38867 : }
38868 :
38869 :
38870 0 : XS(_wrap_new_DBFInfo) {
38871 : {
38872 : int argvi = 0;
38873 : DBFInfo *result = 0 ;
38874 0 : dXSARGS;
38875 :
38876 0 : if ((items < 0) || (items > 0)) {
38877 0 : SWIG_croak("Usage: new_DBFInfo();");
38878 : }
38879 0 : result = (DBFInfo *)calloc(1, sizeof(DBFInfo));
38880 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38881 0 : XSRETURN(argvi);
38882 : fail:
38883 0 : SWIG_croak_null();
38884 : }
38885 : }
38886 :
38887 :
38888 0 : XS(_wrap_delete_DBFInfo) {
38889 : {
38890 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38891 0 : void *argp1 = 0 ;
38892 : int res1 = 0 ;
38893 : int argvi = 0;
38894 0 : dXSARGS;
38895 :
38896 0 : if ((items < 1) || (items > 1)) {
38897 0 : SWIG_croak("Usage: delete_DBFInfo(self);");
38898 : }
38899 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, SWIG_POINTER_DISOWN | 0 );
38900 0 : if (!SWIG_IsOK(res1)) {
38901 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DBFInfo" "', argument " "1"" of type '" "DBFInfo *""'");
38902 : }
38903 0 : arg1 = (DBFInfo *)(argp1);
38904 0 : free((char *) arg1);
38905 0 : ST(argvi) = sv_newmortal();
38906 :
38907 0 : XSRETURN(argvi);
38908 0 : fail:
38909 :
38910 0 : SWIG_croak_null();
38911 : }
38912 : }
38913 :
38914 :
38915 1 : XS(_wrap_shapefileObj_type_get) {
38916 : {
38917 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38918 1 : void *argp1 = 0 ;
38919 : int res1 = 0 ;
38920 : int argvi = 0;
38921 : int result;
38922 1 : dXSARGS;
38923 :
38924 1 : if ((items < 1) || (items > 1)) {
38925 0 : SWIG_croak("Usage: shapefileObj_type_get(self);");
38926 : }
38927 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38928 1 : if (!SWIG_IsOK(res1)) {
38929 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_type_get" "', argument " "1"" of type '" "shapefileObj *""'");
38930 : }
38931 1 : arg1 = (shapefileObj *)(argp1);
38932 1 : result = (int) ((arg1)->type);
38933 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38934 :
38935 1 : XSRETURN(argvi);
38936 0 : fail:
38937 :
38938 0 : SWIG_croak_null();
38939 : }
38940 : }
38941 :
38942 :
38943 1 : XS(_wrap_shapefileObj_numshapes_get) {
38944 : {
38945 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38946 1 : void *argp1 = 0 ;
38947 : int res1 = 0 ;
38948 : int argvi = 0;
38949 : int result;
38950 1 : dXSARGS;
38951 :
38952 1 : if ((items < 1) || (items > 1)) {
38953 0 : SWIG_croak("Usage: shapefileObj_numshapes_get(self);");
38954 : }
38955 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38956 1 : if (!SWIG_IsOK(res1)) {
38957 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_numshapes_get" "', argument " "1"" of type '" "shapefileObj *""'");
38958 : }
38959 1 : arg1 = (shapefileObj *)(argp1);
38960 1 : result = (int) ((arg1)->numshapes);
38961 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38962 :
38963 1 : XSRETURN(argvi);
38964 0 : fail:
38965 :
38966 0 : SWIG_croak_null();
38967 : }
38968 : }
38969 :
38970 :
38971 0 : XS(_wrap_shapefileObj_bounds_get) {
38972 : {
38973 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38974 0 : void *argp1 = 0 ;
38975 : int res1 = 0 ;
38976 : int argvi = 0;
38977 : rectObj *result = 0 ;
38978 0 : dXSARGS;
38979 :
38980 0 : if ((items < 1) || (items > 1)) {
38981 0 : SWIG_croak("Usage: shapefileObj_bounds_get(self);");
38982 : }
38983 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38984 0 : if (!SWIG_IsOK(res1)) {
38985 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_bounds_get" "', argument " "1"" of type '" "shapefileObj *""'");
38986 : }
38987 0 : arg1 = (shapefileObj *)(argp1);
38988 0 : result = (rectObj *)& ((arg1)->bounds);
38989 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
38990 :
38991 0 : XSRETURN(argvi);
38992 0 : fail:
38993 :
38994 0 : SWIG_croak_null();
38995 : }
38996 : }
38997 :
38998 :
38999 1 : XS(_wrap_new_shapefileObj) {
39000 : {
39001 : char *arg1 = (char *) 0 ;
39002 : int arg2 = (int) -1 ;
39003 : int res1 ;
39004 1 : char *buf1 = 0 ;
39005 1 : int alloc1 = 0 ;
39006 : int val2 ;
39007 : int ecode2 = 0 ;
39008 : int argvi = 0;
39009 : shapefileObj *result = 0 ;
39010 1 : dXSARGS;
39011 :
39012 1 : if ((items < 1) || (items > 2)) {
39013 0 : SWIG_croak("Usage: new_shapefileObj(filename,type);");
39014 : }
39015 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
39016 1 : if (!SWIG_IsOK(res1)) {
39017 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_shapefileObj" "', argument " "1"" of type '" "char *""'");
39018 : }
39019 1 : arg1 = (char *)(buf1);
39020 1 : if (items > 1) {
39021 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39022 1 : if (!SWIG_IsOK(ecode2)) {
39023 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_shapefileObj" "', argument " "2"" of type '" "int""'");
39024 : }
39025 : arg2 = (int)(val2);
39026 : }
39027 1 : result = (shapefileObj *)new_shapefileObj(arg1,arg2);
39028 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapefileObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39029 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39030 :
39031 1 : XSRETURN(argvi);
39032 0 : fail:
39033 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39034 :
39035 0 : SWIG_croak_null();
39036 : }
39037 : }
39038 :
39039 :
39040 1 : XS(_wrap_delete_shapefileObj) {
39041 : {
39042 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39043 1 : void *argp1 = 0 ;
39044 : int res1 = 0 ;
39045 : int argvi = 0;
39046 1 : dXSARGS;
39047 :
39048 1 : if ((items < 1) || (items > 1)) {
39049 0 : SWIG_croak("Usage: delete_shapefileObj(self);");
39050 : }
39051 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, SWIG_POINTER_DISOWN | 0 );
39052 1 : if (!SWIG_IsOK(res1)) {
39053 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapefileObj" "', argument " "1"" of type '" "shapefileObj *""'");
39054 : }
39055 1 : arg1 = (shapefileObj *)(argp1);
39056 : delete_shapefileObj(arg1);
39057 1 : ST(argvi) = sv_newmortal();
39058 :
39059 1 : XSRETURN(argvi);
39060 0 : fail:
39061 :
39062 0 : SWIG_croak_null();
39063 : }
39064 : }
39065 :
39066 :
39067 1 : XS(_wrap_shapefileObj_get) {
39068 : {
39069 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39070 : int arg2 ;
39071 : shapeObj *arg3 = (shapeObj *) 0 ;
39072 1 : void *argp1 = 0 ;
39073 : int res1 = 0 ;
39074 : int val2 ;
39075 : int ecode2 = 0 ;
39076 1 : void *argp3 = 0 ;
39077 : int res3 = 0 ;
39078 : int argvi = 0;
39079 : int result;
39080 1 : dXSARGS;
39081 :
39082 1 : if ((items < 3) || (items > 3)) {
39083 0 : SWIG_croak("Usage: shapefileObj_get(self,i,shape);");
39084 : }
39085 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39086 1 : if (!SWIG_IsOK(res1)) {
39087 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_get" "', argument " "1"" of type '" "shapefileObj *""'");
39088 : }
39089 1 : arg1 = (shapefileObj *)(argp1);
39090 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39091 1 : if (!SWIG_IsOK(ecode2)) {
39092 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_get" "', argument " "2"" of type '" "int""'");
39093 : }
39094 : arg2 = (int)(val2);
39095 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
39096 1 : if (!SWIG_IsOK(res3)) {
39097 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_get" "', argument " "3"" of type '" "shapeObj *""'");
39098 : }
39099 1 : arg3 = (shapeObj *)(argp3);
39100 1 : result = (int)shapefileObj_get(arg1,arg2,arg3);
39101 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39102 :
39103 :
39104 :
39105 1 : XSRETURN(argvi);
39106 0 : fail:
39107 :
39108 :
39109 :
39110 0 : SWIG_croak_null();
39111 : }
39112 : }
39113 :
39114 :
39115 1 : XS(_wrap_shapefileObj_getShape) {
39116 : {
39117 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39118 : int arg2 ;
39119 1 : void *argp1 = 0 ;
39120 : int res1 = 0 ;
39121 : int val2 ;
39122 : int ecode2 = 0 ;
39123 : int argvi = 0;
39124 : shapeObj *result = 0 ;
39125 1 : dXSARGS;
39126 :
39127 1 : if ((items < 2) || (items > 2)) {
39128 0 : SWIG_croak("Usage: shapefileObj_getShape(self,i);");
39129 : }
39130 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39131 1 : if (!SWIG_IsOK(res1)) {
39132 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getShape" "', argument " "1"" of type '" "shapefileObj *""'");
39133 : }
39134 1 : arg1 = (shapefileObj *)(argp1);
39135 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39136 1 : if (!SWIG_IsOK(ecode2)) {
39137 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getShape" "', argument " "2"" of type '" "int""'");
39138 : }
39139 : arg2 = (int)(val2);
39140 1 : result = (shapeObj *)shapefileObj_getShape(arg1,arg2);
39141 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39142 :
39143 :
39144 1 : XSRETURN(argvi);
39145 0 : fail:
39146 :
39147 :
39148 0 : SWIG_croak_null();
39149 : }
39150 : }
39151 :
39152 :
39153 0 : XS(_wrap_shapefileObj_getPoint) {
39154 : {
39155 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39156 : int arg2 ;
39157 : pointObj *arg3 = (pointObj *) 0 ;
39158 0 : void *argp1 = 0 ;
39159 : int res1 = 0 ;
39160 : int val2 ;
39161 : int ecode2 = 0 ;
39162 0 : void *argp3 = 0 ;
39163 : int res3 = 0 ;
39164 : int argvi = 0;
39165 : int result;
39166 0 : dXSARGS;
39167 :
39168 0 : if ((items < 3) || (items > 3)) {
39169 0 : SWIG_croak("Usage: shapefileObj_getPoint(self,i,point);");
39170 : }
39171 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39172 0 : if (!SWIG_IsOK(res1)) {
39173 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getPoint" "', argument " "1"" of type '" "shapefileObj *""'");
39174 : }
39175 0 : arg1 = (shapefileObj *)(argp1);
39176 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39177 0 : if (!SWIG_IsOK(ecode2)) {
39178 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getPoint" "', argument " "2"" of type '" "int""'");
39179 : }
39180 : arg2 = (int)(val2);
39181 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
39182 0 : if (!SWIG_IsOK(res3)) {
39183 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getPoint" "', argument " "3"" of type '" "pointObj *""'");
39184 : }
39185 0 : arg3 = (pointObj *)(argp3);
39186 : result = (int)shapefileObj_getPoint(arg1,arg2,arg3);
39187 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39188 :
39189 :
39190 :
39191 0 : XSRETURN(argvi);
39192 0 : fail:
39193 :
39194 :
39195 :
39196 0 : SWIG_croak_null();
39197 : }
39198 : }
39199 :
39200 :
39201 0 : XS(_wrap_shapefileObj_getTransformed) {
39202 : {
39203 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39204 : mapObj *arg2 = (mapObj *) 0 ;
39205 : int arg3 ;
39206 : shapeObj *arg4 = (shapeObj *) 0 ;
39207 0 : void *argp1 = 0 ;
39208 : int res1 = 0 ;
39209 0 : void *argp2 = 0 ;
39210 : int res2 = 0 ;
39211 : int val3 ;
39212 : int ecode3 = 0 ;
39213 0 : void *argp4 = 0 ;
39214 : int res4 = 0 ;
39215 : int argvi = 0;
39216 : int result;
39217 0 : dXSARGS;
39218 :
39219 0 : if ((items < 4) || (items > 4)) {
39220 0 : SWIG_croak("Usage: shapefileObj_getTransformed(self,map,i,shape);");
39221 : }
39222 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39223 0 : if (!SWIG_IsOK(res1)) {
39224 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getTransformed" "', argument " "1"" of type '" "shapefileObj *""'");
39225 : }
39226 0 : arg1 = (shapefileObj *)(argp1);
39227 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
39228 0 : if (!SWIG_IsOK(res2)) {
39229 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_getTransformed" "', argument " "2"" of type '" "mapObj *""'");
39230 : }
39231 0 : arg2 = (mapObj *)(argp2);
39232 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39233 0 : if (!SWIG_IsOK(ecode3)) {
39234 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "shapefileObj_getTransformed" "', argument " "3"" of type '" "int""'");
39235 : }
39236 : arg3 = (int)(val3);
39237 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_shapeObj, 0 | 0 );
39238 0 : if (!SWIG_IsOK(res4)) {
39239 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapefileObj_getTransformed" "', argument " "4"" of type '" "shapeObj *""'");
39240 : }
39241 0 : arg4 = (shapeObj *)(argp4);
39242 0 : result = (int)shapefileObj_getTransformed(arg1,arg2,arg3,arg4);
39243 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39244 :
39245 :
39246 :
39247 :
39248 0 : XSRETURN(argvi);
39249 0 : fail:
39250 :
39251 :
39252 :
39253 :
39254 0 : SWIG_croak_null();
39255 : }
39256 : }
39257 :
39258 :
39259 0 : XS(_wrap_shapefileObj_getExtent) {
39260 : {
39261 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39262 : int arg2 ;
39263 : rectObj *arg3 = (rectObj *) 0 ;
39264 0 : void *argp1 = 0 ;
39265 : int res1 = 0 ;
39266 : int val2 ;
39267 : int ecode2 = 0 ;
39268 0 : void *argp3 = 0 ;
39269 : int res3 = 0 ;
39270 : int argvi = 0;
39271 0 : dXSARGS;
39272 :
39273 0 : if ((items < 3) || (items > 3)) {
39274 0 : SWIG_croak("Usage: shapefileObj_getExtent(self,i,rect);");
39275 : }
39276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39277 0 : if (!SWIG_IsOK(res1)) {
39278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getExtent" "', argument " "1"" of type '" "shapefileObj *""'");
39279 : }
39280 0 : arg1 = (shapefileObj *)(argp1);
39281 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39282 0 : if (!SWIG_IsOK(ecode2)) {
39283 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getExtent" "', argument " "2"" of type '" "int""'");
39284 : }
39285 : arg2 = (int)(val2);
39286 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_rectObj, 0 | 0 );
39287 0 : if (!SWIG_IsOK(res3)) {
39288 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getExtent" "', argument " "3"" of type '" "rectObj *""'");
39289 : }
39290 0 : arg3 = (rectObj *)(argp3);
39291 0 : shapefileObj_getExtent(arg1,arg2,arg3);
39292 0 : ST(argvi) = sv_newmortal();
39293 :
39294 :
39295 :
39296 0 : XSRETURN(argvi);
39297 0 : fail:
39298 :
39299 :
39300 :
39301 0 : SWIG_croak_null();
39302 : }
39303 : }
39304 :
39305 :
39306 1 : XS(_wrap_shapefileObj_add) {
39307 : {
39308 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39309 : shapeObj *arg2 = (shapeObj *) 0 ;
39310 1 : void *argp1 = 0 ;
39311 : int res1 = 0 ;
39312 1 : void *argp2 = 0 ;
39313 : int res2 = 0 ;
39314 : int argvi = 0;
39315 : int result;
39316 1 : dXSARGS;
39317 :
39318 1 : if ((items < 2) || (items > 2)) {
39319 0 : SWIG_croak("Usage: shapefileObj_add(self,shape);");
39320 : }
39321 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39322 1 : if (!SWIG_IsOK(res1)) {
39323 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_add" "', argument " "1"" of type '" "shapefileObj *""'");
39324 : }
39325 1 : arg1 = (shapefileObj *)(argp1);
39326 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
39327 1 : if (!SWIG_IsOK(res2)) {
39328 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_add" "', argument " "2"" of type '" "shapeObj *""'");
39329 : }
39330 1 : arg2 = (shapeObj *)(argp2);
39331 1 : result = (int)shapefileObj_add(arg1,arg2);
39332 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39333 :
39334 :
39335 1 : XSRETURN(argvi);
39336 0 : fail:
39337 :
39338 :
39339 0 : SWIG_croak_null();
39340 : }
39341 : }
39342 :
39343 :
39344 0 : XS(_wrap_shapefileObj_addPoint) {
39345 : {
39346 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39347 : pointObj *arg2 = (pointObj *) 0 ;
39348 0 : void *argp1 = 0 ;
39349 : int res1 = 0 ;
39350 0 : void *argp2 = 0 ;
39351 : int res2 = 0 ;
39352 : int argvi = 0;
39353 : int result;
39354 0 : dXSARGS;
39355 :
39356 0 : if ((items < 2) || (items > 2)) {
39357 0 : SWIG_croak("Usage: shapefileObj_addPoint(self,point);");
39358 : }
39359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39360 0 : if (!SWIG_IsOK(res1)) {
39361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_addPoint" "', argument " "1"" of type '" "shapefileObj *""'");
39362 : }
39363 0 : arg1 = (shapefileObj *)(argp1);
39364 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
39365 0 : if (!SWIG_IsOK(res2)) {
39366 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_addPoint" "', argument " "2"" of type '" "pointObj *""'");
39367 : }
39368 0 : arg2 = (pointObj *)(argp2);
39369 0 : result = (int)shapefileObj_addPoint(arg1,arg2);
39370 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39371 :
39372 :
39373 0 : XSRETURN(argvi);
39374 0 : fail:
39375 :
39376 :
39377 0 : SWIG_croak_null();
39378 : }
39379 : }
39380 :
39381 :
39382 0 : XS(_wrap_shapefileObj_getDBF) {
39383 : {
39384 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39385 0 : void *argp1 = 0 ;
39386 : int res1 = 0 ;
39387 : int argvi = 0;
39388 : DBFInfo *result = 0 ;
39389 0 : dXSARGS;
39390 :
39391 0 : if ((items < 1) || (items > 1)) {
39392 0 : SWIG_croak("Usage: shapefileObj_getDBF(self);");
39393 : }
39394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39395 0 : if (!SWIG_IsOK(res1)) {
39396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getDBF" "', argument " "1"" of type '" "shapefileObj *""'");
39397 : }
39398 0 : arg1 = (shapefileObj *)(argp1);
39399 0 : result = (DBFInfo *)shapefileObj_getDBF(arg1);
39400 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, 0 | SWIG_SHADOW); argvi++ ;
39401 :
39402 0 : XSRETURN(argvi);
39403 0 : fail:
39404 :
39405 0 : SWIG_croak_null();
39406 : }
39407 : }
39408 :
39409 :
39410 0 : XS(_wrap_projectionObj_numargs_get) {
39411 : {
39412 : projectionObj *arg1 = (projectionObj *) 0 ;
39413 0 : void *argp1 = 0 ;
39414 : int res1 = 0 ;
39415 : int argvi = 0;
39416 : int result;
39417 0 : dXSARGS;
39418 :
39419 0 : if ((items < 1) || (items > 1)) {
39420 0 : SWIG_croak("Usage: projectionObj_numargs_get(self);");
39421 : }
39422 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39423 0 : if (!SWIG_IsOK(res1)) {
39424 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_numargs_get" "', argument " "1"" of type '" "projectionObj *""'");
39425 : }
39426 0 : arg1 = (projectionObj *)(argp1);
39427 0 : result = (int) ((arg1)->numargs);
39428 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39429 :
39430 0 : XSRETURN(argvi);
39431 0 : fail:
39432 :
39433 0 : SWIG_croak_null();
39434 : }
39435 : }
39436 :
39437 :
39438 0 : XS(_wrap_projectionObj_automatic_get) {
39439 : {
39440 : projectionObj *arg1 = (projectionObj *) 0 ;
39441 0 : void *argp1 = 0 ;
39442 : int res1 = 0 ;
39443 : int argvi = 0;
39444 : int result;
39445 0 : dXSARGS;
39446 :
39447 0 : if ((items < 1) || (items > 1)) {
39448 0 : SWIG_croak("Usage: projectionObj_automatic_get(self);");
39449 : }
39450 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39451 0 : if (!SWIG_IsOK(res1)) {
39452 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_automatic_get" "', argument " "1"" of type '" "projectionObj *""'");
39453 : }
39454 0 : arg1 = (projectionObj *)(argp1);
39455 0 : result = (int) ((arg1)->automatic);
39456 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39457 :
39458 0 : XSRETURN(argvi);
39459 0 : fail:
39460 :
39461 0 : SWIG_croak_null();
39462 : }
39463 : }
39464 :
39465 :
39466 0 : XS(_wrap_projectionObj_wellknownprojection_set) {
39467 : {
39468 : projectionObj *arg1 = (projectionObj *) 0 ;
39469 : int arg2 ;
39470 0 : void *argp1 = 0 ;
39471 : int res1 = 0 ;
39472 : int val2 ;
39473 : int ecode2 = 0 ;
39474 : int argvi = 0;
39475 0 : dXSARGS;
39476 :
39477 0 : if ((items < 2) || (items > 2)) {
39478 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_set(self,wellknownprojection);");
39479 : }
39480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39481 0 : if (!SWIG_IsOK(res1)) {
39482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_set" "', argument " "1"" of type '" "projectionObj *""'");
39483 : }
39484 0 : arg1 = (projectionObj *)(argp1);
39485 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39486 0 : if (!SWIG_IsOK(ecode2)) {
39487 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "projectionObj_wellknownprojection_set" "', argument " "2"" of type '" "int""'");
39488 : }
39489 : arg2 = (int)(val2);
39490 0 : if (arg1) (arg1)->wellknownprojection = arg2;
39491 0 : ST(argvi) = sv_newmortal();
39492 :
39493 :
39494 0 : XSRETURN(argvi);
39495 0 : fail:
39496 :
39497 :
39498 0 : SWIG_croak_null();
39499 : }
39500 : }
39501 :
39502 :
39503 0 : XS(_wrap_projectionObj_wellknownprojection_get) {
39504 : {
39505 : projectionObj *arg1 = (projectionObj *) 0 ;
39506 0 : void *argp1 = 0 ;
39507 : int res1 = 0 ;
39508 : int argvi = 0;
39509 : int result;
39510 0 : dXSARGS;
39511 :
39512 0 : if ((items < 1) || (items > 1)) {
39513 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_get(self);");
39514 : }
39515 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39516 0 : if (!SWIG_IsOK(res1)) {
39517 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_get" "', argument " "1"" of type '" "projectionObj *""'");
39518 : }
39519 0 : arg1 = (projectionObj *)(argp1);
39520 0 : result = (int) ((arg1)->wellknownprojection);
39521 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39522 :
39523 0 : XSRETURN(argvi);
39524 0 : fail:
39525 :
39526 0 : SWIG_croak_null();
39527 : }
39528 : }
39529 :
39530 :
39531 0 : XS(_wrap_new_projectionObj) {
39532 : {
39533 : char *arg1 = (char *) 0 ;
39534 : int res1 ;
39535 0 : char *buf1 = 0 ;
39536 0 : int alloc1 = 0 ;
39537 : int argvi = 0;
39538 : projectionObj *result = 0 ;
39539 0 : dXSARGS;
39540 :
39541 0 : if ((items < 1) || (items > 1)) {
39542 0 : SWIG_croak("Usage: new_projectionObj(proj4);");
39543 : }
39544 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
39545 0 : if (!SWIG_IsOK(res1)) {
39546 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_projectionObj" "', argument " "1"" of type '" "char *""'");
39547 : }
39548 0 : arg1 = (char *)(buf1);
39549 0 : result = (projectionObj *)new_projectionObj(arg1);
39550 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_projectionObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39551 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39552 0 : XSRETURN(argvi);
39553 0 : fail:
39554 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39555 0 : SWIG_croak_null();
39556 : }
39557 : }
39558 :
39559 :
39560 0 : XS(_wrap_delete_projectionObj) {
39561 : {
39562 : projectionObj *arg1 = (projectionObj *) 0 ;
39563 0 : void *argp1 = 0 ;
39564 : int res1 = 0 ;
39565 : int argvi = 0;
39566 0 : dXSARGS;
39567 :
39568 0 : if ((items < 1) || (items > 1)) {
39569 0 : SWIG_croak("Usage: delete_projectionObj(self);");
39570 : }
39571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, SWIG_POINTER_DISOWN | 0 );
39572 0 : if (!SWIG_IsOK(res1)) {
39573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_projectionObj" "', argument " "1"" of type '" "projectionObj *""'");
39574 : }
39575 0 : arg1 = (projectionObj *)(argp1);
39576 : delete_projectionObj(arg1);
39577 0 : ST(argvi) = sv_newmortal();
39578 :
39579 0 : XSRETURN(argvi);
39580 0 : fail:
39581 :
39582 0 : SWIG_croak_null();
39583 : }
39584 : }
39585 :
39586 :
39587 0 : XS(_wrap_projectionObj_setWKTProjection) {
39588 : {
39589 : projectionObj *arg1 = (projectionObj *) 0 ;
39590 : char *arg2 = (char *) 0 ;
39591 0 : void *argp1 = 0 ;
39592 : int res1 = 0 ;
39593 : int res2 ;
39594 0 : char *buf2 = 0 ;
39595 0 : int alloc2 = 0 ;
39596 : int argvi = 0;
39597 : int result;
39598 0 : dXSARGS;
39599 :
39600 0 : if ((items < 2) || (items > 2)) {
39601 0 : SWIG_croak("Usage: projectionObj_setWKTProjection(self,wkt);");
39602 : }
39603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39604 0 : if (!SWIG_IsOK(res1)) {
39605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_setWKTProjection" "', argument " "1"" of type '" "projectionObj *""'");
39606 : }
39607 0 : arg1 = (projectionObj *)(argp1);
39608 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39609 0 : if (!SWIG_IsOK(res2)) {
39610 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "projectionObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
39611 : }
39612 0 : arg2 = (char *)(buf2);
39613 : result = (int)projectionObj_setWKTProjection(arg1,arg2);
39614 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39615 :
39616 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39617 0 : XSRETURN(argvi);
39618 0 : fail:
39619 :
39620 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39621 0 : SWIG_croak_null();
39622 : }
39623 : }
39624 :
39625 :
39626 0 : XS(_wrap_projectionObj_getUnits) {
39627 : {
39628 : projectionObj *arg1 = (projectionObj *) 0 ;
39629 0 : void *argp1 = 0 ;
39630 : int res1 = 0 ;
39631 : int argvi = 0;
39632 : int result;
39633 0 : dXSARGS;
39634 :
39635 0 : if ((items < 1) || (items > 1)) {
39636 0 : SWIG_croak("Usage: projectionObj_getUnits(self);");
39637 : }
39638 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39639 0 : if (!SWIG_IsOK(res1)) {
39640 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_getUnits" "', argument " "1"" of type '" "projectionObj *""'");
39641 : }
39642 0 : arg1 = (projectionObj *)(argp1);
39643 : result = (int)projectionObj_getUnits(arg1);
39644 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39645 :
39646 0 : XSRETURN(argvi);
39647 0 : fail:
39648 :
39649 0 : SWIG_croak_null();
39650 : }
39651 : }
39652 :
39653 :
39654 0 : XS(_wrap_colorObj_red_set) {
39655 : {
39656 : colorObj *arg1 = (colorObj *) 0 ;
39657 : int arg2 ;
39658 0 : void *argp1 = 0 ;
39659 : int res1 = 0 ;
39660 : int val2 ;
39661 : int ecode2 = 0 ;
39662 : int argvi = 0;
39663 0 : dXSARGS;
39664 :
39665 0 : if ((items < 2) || (items > 2)) {
39666 0 : SWIG_croak("Usage: colorObj_red_set(self,red);");
39667 : }
39668 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39669 0 : if (!SWIG_IsOK(res1)) {
39670 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_set" "', argument " "1"" of type '" "colorObj *""'");
39671 : }
39672 0 : arg1 = (colorObj *)(argp1);
39673 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39674 0 : if (!SWIG_IsOK(ecode2)) {
39675 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_red_set" "', argument " "2"" of type '" "int""'");
39676 : }
39677 : arg2 = (int)(val2);
39678 0 : if (arg1) (arg1)->red = arg2;
39679 0 : ST(argvi) = sv_newmortal();
39680 :
39681 :
39682 0 : XSRETURN(argvi);
39683 0 : fail:
39684 :
39685 :
39686 0 : SWIG_croak_null();
39687 : }
39688 : }
39689 :
39690 :
39691 0 : XS(_wrap_colorObj_red_get) {
39692 : {
39693 : colorObj *arg1 = (colorObj *) 0 ;
39694 0 : void *argp1 = 0 ;
39695 : int res1 = 0 ;
39696 : int argvi = 0;
39697 : int result;
39698 0 : dXSARGS;
39699 :
39700 0 : if ((items < 1) || (items > 1)) {
39701 0 : SWIG_croak("Usage: colorObj_red_get(self);");
39702 : }
39703 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39704 0 : if (!SWIG_IsOK(res1)) {
39705 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_get" "', argument " "1"" of type '" "colorObj *""'");
39706 : }
39707 0 : arg1 = (colorObj *)(argp1);
39708 0 : result = (int) ((arg1)->red);
39709 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39710 :
39711 0 : XSRETURN(argvi);
39712 0 : fail:
39713 :
39714 0 : SWIG_croak_null();
39715 : }
39716 : }
39717 :
39718 :
39719 0 : XS(_wrap_colorObj_green_set) {
39720 : {
39721 : colorObj *arg1 = (colorObj *) 0 ;
39722 : int arg2 ;
39723 0 : void *argp1 = 0 ;
39724 : int res1 = 0 ;
39725 : int val2 ;
39726 : int ecode2 = 0 ;
39727 : int argvi = 0;
39728 0 : dXSARGS;
39729 :
39730 0 : if ((items < 2) || (items > 2)) {
39731 0 : SWIG_croak("Usage: colorObj_green_set(self,green);");
39732 : }
39733 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39734 0 : if (!SWIG_IsOK(res1)) {
39735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_set" "', argument " "1"" of type '" "colorObj *""'");
39736 : }
39737 0 : arg1 = (colorObj *)(argp1);
39738 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39739 0 : if (!SWIG_IsOK(ecode2)) {
39740 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_green_set" "', argument " "2"" of type '" "int""'");
39741 : }
39742 : arg2 = (int)(val2);
39743 0 : if (arg1) (arg1)->green = arg2;
39744 0 : ST(argvi) = sv_newmortal();
39745 :
39746 :
39747 0 : XSRETURN(argvi);
39748 0 : fail:
39749 :
39750 :
39751 0 : SWIG_croak_null();
39752 : }
39753 : }
39754 :
39755 :
39756 0 : XS(_wrap_colorObj_green_get) {
39757 : {
39758 : colorObj *arg1 = (colorObj *) 0 ;
39759 0 : void *argp1 = 0 ;
39760 : int res1 = 0 ;
39761 : int argvi = 0;
39762 : int result;
39763 0 : dXSARGS;
39764 :
39765 0 : if ((items < 1) || (items > 1)) {
39766 0 : SWIG_croak("Usage: colorObj_green_get(self);");
39767 : }
39768 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39769 0 : if (!SWIG_IsOK(res1)) {
39770 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_get" "', argument " "1"" of type '" "colorObj *""'");
39771 : }
39772 0 : arg1 = (colorObj *)(argp1);
39773 0 : result = (int) ((arg1)->green);
39774 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39775 :
39776 0 : XSRETURN(argvi);
39777 0 : fail:
39778 :
39779 0 : SWIG_croak_null();
39780 : }
39781 : }
39782 :
39783 :
39784 0 : XS(_wrap_colorObj_blue_set) {
39785 : {
39786 : colorObj *arg1 = (colorObj *) 0 ;
39787 : int arg2 ;
39788 0 : void *argp1 = 0 ;
39789 : int res1 = 0 ;
39790 : int val2 ;
39791 : int ecode2 = 0 ;
39792 : int argvi = 0;
39793 0 : dXSARGS;
39794 :
39795 0 : if ((items < 2) || (items > 2)) {
39796 0 : SWIG_croak("Usage: colorObj_blue_set(self,blue);");
39797 : }
39798 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39799 0 : if (!SWIG_IsOK(res1)) {
39800 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_set" "', argument " "1"" of type '" "colorObj *""'");
39801 : }
39802 0 : arg1 = (colorObj *)(argp1);
39803 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39804 0 : if (!SWIG_IsOK(ecode2)) {
39805 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_blue_set" "', argument " "2"" of type '" "int""'");
39806 : }
39807 : arg2 = (int)(val2);
39808 0 : if (arg1) (arg1)->blue = arg2;
39809 0 : ST(argvi) = sv_newmortal();
39810 :
39811 :
39812 0 : XSRETURN(argvi);
39813 0 : fail:
39814 :
39815 :
39816 0 : SWIG_croak_null();
39817 : }
39818 : }
39819 :
39820 :
39821 0 : XS(_wrap_colorObj_blue_get) {
39822 : {
39823 : colorObj *arg1 = (colorObj *) 0 ;
39824 0 : void *argp1 = 0 ;
39825 : int res1 = 0 ;
39826 : int argvi = 0;
39827 : int result;
39828 0 : dXSARGS;
39829 :
39830 0 : if ((items < 1) || (items > 1)) {
39831 0 : SWIG_croak("Usage: colorObj_blue_get(self);");
39832 : }
39833 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39834 0 : if (!SWIG_IsOK(res1)) {
39835 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_get" "', argument " "1"" of type '" "colorObj *""'");
39836 : }
39837 0 : arg1 = (colorObj *)(argp1);
39838 0 : result = (int) ((arg1)->blue);
39839 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39840 :
39841 0 : XSRETURN(argvi);
39842 0 : fail:
39843 :
39844 0 : SWIG_croak_null();
39845 : }
39846 : }
39847 :
39848 :
39849 0 : XS(_wrap_colorObj_alpha_set) {
39850 : {
39851 : colorObj *arg1 = (colorObj *) 0 ;
39852 : int arg2 ;
39853 0 : void *argp1 = 0 ;
39854 : int res1 = 0 ;
39855 : int val2 ;
39856 : int ecode2 = 0 ;
39857 : int argvi = 0;
39858 0 : dXSARGS;
39859 :
39860 0 : if ((items < 2) || (items > 2)) {
39861 0 : SWIG_croak("Usage: colorObj_alpha_set(self,alpha);");
39862 : }
39863 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39864 0 : if (!SWIG_IsOK(res1)) {
39865 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_set" "', argument " "1"" of type '" "colorObj *""'");
39866 : }
39867 0 : arg1 = (colorObj *)(argp1);
39868 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39869 0 : if (!SWIG_IsOK(ecode2)) {
39870 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_alpha_set" "', argument " "2"" of type '" "int""'");
39871 : }
39872 : arg2 = (int)(val2);
39873 0 : if (arg1) (arg1)->alpha = arg2;
39874 0 : ST(argvi) = sv_newmortal();
39875 :
39876 :
39877 0 : XSRETURN(argvi);
39878 0 : fail:
39879 :
39880 :
39881 0 : SWIG_croak_null();
39882 : }
39883 : }
39884 :
39885 :
39886 0 : XS(_wrap_colorObj_alpha_get) {
39887 : {
39888 : colorObj *arg1 = (colorObj *) 0 ;
39889 0 : void *argp1 = 0 ;
39890 : int res1 = 0 ;
39891 : int argvi = 0;
39892 : int result;
39893 0 : dXSARGS;
39894 :
39895 0 : if ((items < 1) || (items > 1)) {
39896 0 : SWIG_croak("Usage: colorObj_alpha_get(self);");
39897 : }
39898 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39899 0 : if (!SWIG_IsOK(res1)) {
39900 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_get" "', argument " "1"" of type '" "colorObj *""'");
39901 : }
39902 0 : arg1 = (colorObj *)(argp1);
39903 0 : result = (int) ((arg1)->alpha);
39904 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39905 :
39906 0 : XSRETURN(argvi);
39907 0 : fail:
39908 :
39909 0 : SWIG_croak_null();
39910 : }
39911 : }
39912 :
39913 :
39914 0 : XS(_wrap_new_colorObj) {
39915 : {
39916 : int arg1 = (int) 0 ;
39917 : int arg2 = (int) 0 ;
39918 : int arg3 = (int) 0 ;
39919 : int arg4 = (int) 255 ;
39920 : int val1 ;
39921 : int ecode1 = 0 ;
39922 : int val2 ;
39923 : int ecode2 = 0 ;
39924 : int val3 ;
39925 : int ecode3 = 0 ;
39926 : int val4 ;
39927 : int ecode4 = 0 ;
39928 : int argvi = 0;
39929 : colorObj *result = 0 ;
39930 0 : dXSARGS;
39931 :
39932 0 : if ((items < 0) || (items > 4)) {
39933 0 : SWIG_croak("Usage: new_colorObj(red,green,blue,alpha);");
39934 : }
39935 0 : if (items > 0) {
39936 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
39937 0 : if (!SWIG_IsOK(ecode1)) {
39938 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_colorObj" "', argument " "1"" of type '" "int""'");
39939 : }
39940 : arg1 = (int)(val1);
39941 : }
39942 0 : if (items > 1) {
39943 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39944 0 : if (!SWIG_IsOK(ecode2)) {
39945 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_colorObj" "', argument " "2"" of type '" "int""'");
39946 : }
39947 : arg2 = (int)(val2);
39948 : }
39949 0 : if (items > 2) {
39950 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39951 0 : if (!SWIG_IsOK(ecode3)) {
39952 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_colorObj" "', argument " "3"" of type '" "int""'");
39953 : }
39954 : arg3 = (int)(val3);
39955 : }
39956 0 : if (items > 3) {
39957 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
39958 0 : if (!SWIG_IsOK(ecode4)) {
39959 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_colorObj" "', argument " "4"" of type '" "int""'");
39960 : }
39961 : arg4 = (int)(val4);
39962 : }
39963 0 : result = (colorObj *)new_colorObj(arg1,arg2,arg3,arg4);
39964 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39965 :
39966 :
39967 :
39968 :
39969 0 : XSRETURN(argvi);
39970 0 : fail:
39971 :
39972 :
39973 :
39974 :
39975 0 : SWIG_croak_null();
39976 : }
39977 : }
39978 :
39979 :
39980 0 : XS(_wrap_delete_colorObj) {
39981 : {
39982 : colorObj *arg1 = (colorObj *) 0 ;
39983 0 : void *argp1 = 0 ;
39984 : int res1 = 0 ;
39985 : int argvi = 0;
39986 0 : dXSARGS;
39987 :
39988 0 : if ((items < 1) || (items > 1)) {
39989 0 : SWIG_croak("Usage: delete_colorObj(self);");
39990 : }
39991 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, SWIG_POINTER_DISOWN | 0 );
39992 0 : if (!SWIG_IsOK(res1)) {
39993 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_colorObj" "', argument " "1"" of type '" "colorObj *""'");
39994 : }
39995 0 : arg1 = (colorObj *)(argp1);
39996 : delete_colorObj(arg1);
39997 0 : ST(argvi) = sv_newmortal();
39998 :
39999 0 : XSRETURN(argvi);
40000 0 : fail:
40001 :
40002 0 : SWIG_croak_null();
40003 : }
40004 : }
40005 :
40006 :
40007 0 : XS(_wrap_colorObj_setRGB) {
40008 : {
40009 : colorObj *arg1 = (colorObj *) 0 ;
40010 : int arg2 ;
40011 : int arg3 ;
40012 : int arg4 ;
40013 : int arg5 = (int) 255 ;
40014 0 : void *argp1 = 0 ;
40015 : int res1 = 0 ;
40016 : int val2 ;
40017 : int ecode2 = 0 ;
40018 : int val3 ;
40019 : int ecode3 = 0 ;
40020 : int val4 ;
40021 : int ecode4 = 0 ;
40022 : int val5 ;
40023 : int ecode5 = 0 ;
40024 : int argvi = 0;
40025 : int result;
40026 0 : dXSARGS;
40027 :
40028 0 : if ((items < 4) || (items > 5)) {
40029 0 : SWIG_croak("Usage: colorObj_setRGB(self,red,green,blue,alpha);");
40030 : }
40031 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
40032 0 : if (!SWIG_IsOK(res1)) {
40033 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setRGB" "', argument " "1"" of type '" "colorObj *""'");
40034 : }
40035 0 : arg1 = (colorObj *)(argp1);
40036 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40037 0 : if (!SWIG_IsOK(ecode2)) {
40038 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_setRGB" "', argument " "2"" of type '" "int""'");
40039 : }
40040 : arg2 = (int)(val2);
40041 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
40042 0 : if (!SWIG_IsOK(ecode3)) {
40043 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "colorObj_setRGB" "', argument " "3"" of type '" "int""'");
40044 : }
40045 : arg3 = (int)(val3);
40046 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
40047 0 : if (!SWIG_IsOK(ecode4)) {
40048 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "colorObj_setRGB" "', argument " "4"" of type '" "int""'");
40049 : }
40050 : arg4 = (int)(val4);
40051 0 : if (items > 4) {
40052 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
40053 0 : if (!SWIG_IsOK(ecode5)) {
40054 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "colorObj_setRGB" "', argument " "5"" of type '" "int""'");
40055 : }
40056 : arg5 = (int)(val5);
40057 : }
40058 0 : result = (int)colorObj_setRGB(arg1,arg2,arg3,arg4,arg5);
40059 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40060 :
40061 :
40062 :
40063 :
40064 :
40065 0 : XSRETURN(argvi);
40066 0 : fail:
40067 :
40068 :
40069 :
40070 :
40071 :
40072 0 : SWIG_croak_null();
40073 : }
40074 : }
40075 :
40076 :
40077 0 : XS(_wrap_colorObj_setHex) {
40078 : {
40079 : colorObj *arg1 = (colorObj *) 0 ;
40080 : char *arg2 = (char *) 0 ;
40081 0 : void *argp1 = 0 ;
40082 : int res1 = 0 ;
40083 : int res2 ;
40084 0 : char *buf2 = 0 ;
40085 0 : int alloc2 = 0 ;
40086 : int argvi = 0;
40087 : int result;
40088 0 : dXSARGS;
40089 :
40090 0 : if ((items < 2) || (items > 2)) {
40091 0 : SWIG_croak("Usage: colorObj_setHex(self,psHexColor);");
40092 : }
40093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
40094 0 : if (!SWIG_IsOK(res1)) {
40095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setHex" "', argument " "1"" of type '" "colorObj *""'");
40096 : }
40097 0 : arg1 = (colorObj *)(argp1);
40098 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40099 0 : if (!SWIG_IsOK(res2)) {
40100 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "colorObj_setHex" "', argument " "2"" of type '" "char *""'");
40101 : }
40102 0 : arg2 = (char *)(buf2);
40103 0 : result = (int)colorObj_setHex(arg1,arg2);
40104 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40105 :
40106 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40107 0 : XSRETURN(argvi);
40108 0 : fail:
40109 :
40110 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40111 0 : SWIG_croak_null();
40112 : }
40113 : }
40114 :
40115 :
40116 0 : XS(_wrap_colorObj_toHex) {
40117 : {
40118 : colorObj *arg1 = (colorObj *) 0 ;
40119 0 : void *argp1 = 0 ;
40120 : int res1 = 0 ;
40121 : int argvi = 0;
40122 : char *result = 0 ;
40123 0 : dXSARGS;
40124 :
40125 0 : if ((items < 1) || (items > 1)) {
40126 0 : SWIG_croak("Usage: colorObj_toHex(self);");
40127 : }
40128 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
40129 0 : if (!SWIG_IsOK(res1)) {
40130 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_toHex" "', argument " "1"" of type '" "colorObj *""'");
40131 : }
40132 0 : arg1 = (colorObj *)(argp1);
40133 0 : result = (char *)colorObj_toHex(arg1);
40134 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40135 :
40136 0 : free((char*)result);
40137 0 : XSRETURN(argvi);
40138 0 : fail:
40139 :
40140 0 : SWIG_croak_null();
40141 : }
40142 : }
40143 :
40144 :
40145 0 : XS(_wrap_symbolObj_name_set) {
40146 : {
40147 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40148 : char *arg2 = (char *) 0 ;
40149 0 : void *argp1 = 0 ;
40150 : int res1 = 0 ;
40151 : int res2 ;
40152 0 : char *buf2 = 0 ;
40153 0 : int alloc2 = 0 ;
40154 : int argvi = 0;
40155 0 : dXSARGS;
40156 :
40157 0 : if ((items < 2) || (items > 2)) {
40158 0 : SWIG_croak("Usage: symbolObj_name_set(self,name);");
40159 : }
40160 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40161 0 : if (!SWIG_IsOK(res1)) {
40162 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40163 : }
40164 0 : arg1 = (struct symbolObj *)(argp1);
40165 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40166 0 : if (!SWIG_IsOK(res2)) {
40167 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_name_set" "', argument " "2"" of type '" "char *""'");
40168 : }
40169 0 : arg2 = (char *)(buf2);
40170 : {
40171 0 : if (arg1->name) free((char*)arg1->name);
40172 0 : if (arg2) {
40173 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
40174 : strcpy((char*)arg1->name,arg2);
40175 : } else {
40176 0 : arg1->name = 0;
40177 : }
40178 : }
40179 0 : ST(argvi) = sv_newmortal();
40180 :
40181 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40182 0 : XSRETURN(argvi);
40183 0 : fail:
40184 :
40185 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40186 0 : SWIG_croak_null();
40187 : }
40188 : }
40189 :
40190 :
40191 0 : XS(_wrap_symbolObj_name_get) {
40192 : {
40193 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40194 0 : void *argp1 = 0 ;
40195 : int res1 = 0 ;
40196 : int argvi = 0;
40197 : char *result = 0 ;
40198 0 : dXSARGS;
40199 :
40200 0 : if ((items < 1) || (items > 1)) {
40201 0 : SWIG_croak("Usage: symbolObj_name_get(self);");
40202 : }
40203 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40204 0 : if (!SWIG_IsOK(res1)) {
40205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40206 : }
40207 0 : arg1 = (struct symbolObj *)(argp1);
40208 0 : result = (char *) ((arg1)->name);
40209 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40210 :
40211 0 : XSRETURN(argvi);
40212 0 : fail:
40213 :
40214 0 : SWIG_croak_null();
40215 : }
40216 : }
40217 :
40218 :
40219 0 : XS(_wrap_symbolObj_type_set) {
40220 : {
40221 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40222 : int arg2 ;
40223 0 : void *argp1 = 0 ;
40224 : int res1 = 0 ;
40225 : int val2 ;
40226 : int ecode2 = 0 ;
40227 : int argvi = 0;
40228 0 : dXSARGS;
40229 :
40230 0 : if ((items < 2) || (items > 2)) {
40231 0 : SWIG_croak("Usage: symbolObj_type_set(self,type);");
40232 : }
40233 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40234 0 : if (!SWIG_IsOK(res1)) {
40235 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40236 : }
40237 0 : arg1 = (struct symbolObj *)(argp1);
40238 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40239 0 : if (!SWIG_IsOK(ecode2)) {
40240 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_type_set" "', argument " "2"" of type '" "int""'");
40241 : }
40242 : arg2 = (int)(val2);
40243 0 : if (arg1) (arg1)->type = arg2;
40244 0 : ST(argvi) = sv_newmortal();
40245 :
40246 :
40247 0 : XSRETURN(argvi);
40248 0 : fail:
40249 :
40250 :
40251 0 : SWIG_croak_null();
40252 : }
40253 : }
40254 :
40255 :
40256 0 : XS(_wrap_symbolObj_type_get) {
40257 : {
40258 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40259 0 : void *argp1 = 0 ;
40260 : int res1 = 0 ;
40261 : int argvi = 0;
40262 : int result;
40263 0 : dXSARGS;
40264 :
40265 0 : if ((items < 1) || (items > 1)) {
40266 0 : SWIG_croak("Usage: symbolObj_type_get(self);");
40267 : }
40268 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40269 0 : if (!SWIG_IsOK(res1)) {
40270 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40271 : }
40272 0 : arg1 = (struct symbolObj *)(argp1);
40273 0 : result = (int) ((arg1)->type);
40274 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40275 :
40276 0 : XSRETURN(argvi);
40277 0 : fail:
40278 :
40279 0 : SWIG_croak_null();
40280 : }
40281 : }
40282 :
40283 :
40284 0 : XS(_wrap_symbolObj_inmapfile_set) {
40285 : {
40286 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40287 : int arg2 ;
40288 0 : void *argp1 = 0 ;
40289 : int res1 = 0 ;
40290 : int val2 ;
40291 : int ecode2 = 0 ;
40292 : int argvi = 0;
40293 0 : dXSARGS;
40294 :
40295 0 : if ((items < 2) || (items > 2)) {
40296 0 : SWIG_croak("Usage: symbolObj_inmapfile_set(self,inmapfile);");
40297 : }
40298 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40299 0 : if (!SWIG_IsOK(res1)) {
40300 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40301 : }
40302 0 : arg1 = (struct symbolObj *)(argp1);
40303 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40304 0 : if (!SWIG_IsOK(ecode2)) {
40305 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
40306 : }
40307 : arg2 = (int)(val2);
40308 0 : if (arg1) (arg1)->inmapfile = arg2;
40309 0 : ST(argvi) = sv_newmortal();
40310 :
40311 :
40312 0 : XSRETURN(argvi);
40313 0 : fail:
40314 :
40315 :
40316 0 : SWIG_croak_null();
40317 : }
40318 : }
40319 :
40320 :
40321 0 : XS(_wrap_symbolObj_inmapfile_get) {
40322 : {
40323 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40324 0 : void *argp1 = 0 ;
40325 : int res1 = 0 ;
40326 : int argvi = 0;
40327 : int result;
40328 0 : dXSARGS;
40329 :
40330 0 : if ((items < 1) || (items > 1)) {
40331 0 : SWIG_croak("Usage: symbolObj_inmapfile_get(self);");
40332 : }
40333 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40334 0 : if (!SWIG_IsOK(res1)) {
40335 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40336 : }
40337 0 : arg1 = (struct symbolObj *)(argp1);
40338 0 : result = (int) ((arg1)->inmapfile);
40339 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40340 :
40341 0 : XSRETURN(argvi);
40342 0 : fail:
40343 :
40344 0 : SWIG_croak_null();
40345 : }
40346 : }
40347 :
40348 :
40349 0 : XS(_wrap_symbolObj_sizex_set) {
40350 : {
40351 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40352 : double arg2 ;
40353 0 : void *argp1 = 0 ;
40354 : int res1 = 0 ;
40355 : double val2 ;
40356 : int ecode2 = 0 ;
40357 : int argvi = 0;
40358 0 : dXSARGS;
40359 :
40360 0 : if ((items < 2) || (items > 2)) {
40361 0 : SWIG_croak("Usage: symbolObj_sizex_set(self,sizex);");
40362 : }
40363 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40364 0 : if (!SWIG_IsOK(res1)) {
40365 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40366 : }
40367 0 : arg1 = (struct symbolObj *)(argp1);
40368 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40369 0 : if (!SWIG_IsOK(ecode2)) {
40370 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizex_set" "', argument " "2"" of type '" "double""'");
40371 : }
40372 0 : arg2 = (double)(val2);
40373 0 : if (arg1) (arg1)->sizex = arg2;
40374 0 : ST(argvi) = sv_newmortal();
40375 :
40376 :
40377 0 : XSRETURN(argvi);
40378 0 : fail:
40379 :
40380 :
40381 0 : SWIG_croak_null();
40382 : }
40383 : }
40384 :
40385 :
40386 0 : XS(_wrap_symbolObj_sizex_get) {
40387 : {
40388 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40389 0 : void *argp1 = 0 ;
40390 : int res1 = 0 ;
40391 : int argvi = 0;
40392 : double result;
40393 0 : dXSARGS;
40394 :
40395 0 : if ((items < 1) || (items > 1)) {
40396 0 : SWIG_croak("Usage: symbolObj_sizex_get(self);");
40397 : }
40398 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40399 0 : if (!SWIG_IsOK(res1)) {
40400 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40401 : }
40402 0 : arg1 = (struct symbolObj *)(argp1);
40403 0 : result = (double) ((arg1)->sizex);
40404 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40405 :
40406 0 : XSRETURN(argvi);
40407 0 : fail:
40408 :
40409 0 : SWIG_croak_null();
40410 : }
40411 : }
40412 :
40413 :
40414 0 : XS(_wrap_symbolObj_sizey_set) {
40415 : {
40416 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40417 : double arg2 ;
40418 0 : void *argp1 = 0 ;
40419 : int res1 = 0 ;
40420 : double val2 ;
40421 : int ecode2 = 0 ;
40422 : int argvi = 0;
40423 0 : dXSARGS;
40424 :
40425 0 : if ((items < 2) || (items > 2)) {
40426 0 : SWIG_croak("Usage: symbolObj_sizey_set(self,sizey);");
40427 : }
40428 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40429 0 : if (!SWIG_IsOK(res1)) {
40430 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40431 : }
40432 0 : arg1 = (struct symbolObj *)(argp1);
40433 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40434 0 : if (!SWIG_IsOK(ecode2)) {
40435 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizey_set" "', argument " "2"" of type '" "double""'");
40436 : }
40437 0 : arg2 = (double)(val2);
40438 0 : if (arg1) (arg1)->sizey = arg2;
40439 0 : ST(argvi) = sv_newmortal();
40440 :
40441 :
40442 0 : XSRETURN(argvi);
40443 0 : fail:
40444 :
40445 :
40446 0 : SWIG_croak_null();
40447 : }
40448 : }
40449 :
40450 :
40451 0 : XS(_wrap_symbolObj_sizey_get) {
40452 : {
40453 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40454 0 : void *argp1 = 0 ;
40455 : int res1 = 0 ;
40456 : int argvi = 0;
40457 : double result;
40458 0 : dXSARGS;
40459 :
40460 0 : if ((items < 1) || (items > 1)) {
40461 0 : SWIG_croak("Usage: symbolObj_sizey_get(self);");
40462 : }
40463 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40464 0 : if (!SWIG_IsOK(res1)) {
40465 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40466 : }
40467 0 : arg1 = (struct symbolObj *)(argp1);
40468 0 : result = (double) ((arg1)->sizey);
40469 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40470 :
40471 0 : XSRETURN(argvi);
40472 0 : fail:
40473 :
40474 0 : SWIG_croak_null();
40475 : }
40476 : }
40477 :
40478 :
40479 0 : XS(_wrap_symbolObj_minx_set) {
40480 : {
40481 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40482 : double arg2 ;
40483 0 : void *argp1 = 0 ;
40484 : int res1 = 0 ;
40485 : double val2 ;
40486 : int ecode2 = 0 ;
40487 : int argvi = 0;
40488 0 : dXSARGS;
40489 :
40490 0 : if ((items < 2) || (items > 2)) {
40491 0 : SWIG_croak("Usage: symbolObj_minx_set(self,minx);");
40492 : }
40493 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40494 0 : if (!SWIG_IsOK(res1)) {
40495 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40496 : }
40497 0 : arg1 = (struct symbolObj *)(argp1);
40498 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40499 0 : if (!SWIG_IsOK(ecode2)) {
40500 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_minx_set" "', argument " "2"" of type '" "double""'");
40501 : }
40502 0 : arg2 = (double)(val2);
40503 0 : if (arg1) (arg1)->minx = arg2;
40504 0 : ST(argvi) = sv_newmortal();
40505 :
40506 :
40507 0 : XSRETURN(argvi);
40508 0 : fail:
40509 :
40510 :
40511 0 : SWIG_croak_null();
40512 : }
40513 : }
40514 :
40515 :
40516 0 : XS(_wrap_symbolObj_minx_get) {
40517 : {
40518 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40519 0 : void *argp1 = 0 ;
40520 : int res1 = 0 ;
40521 : int argvi = 0;
40522 : double result;
40523 0 : dXSARGS;
40524 :
40525 0 : if ((items < 1) || (items > 1)) {
40526 0 : SWIG_croak("Usage: symbolObj_minx_get(self);");
40527 : }
40528 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40529 0 : if (!SWIG_IsOK(res1)) {
40530 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40531 : }
40532 0 : arg1 = (struct symbolObj *)(argp1);
40533 0 : result = (double) ((arg1)->minx);
40534 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40535 :
40536 0 : XSRETURN(argvi);
40537 0 : fail:
40538 :
40539 0 : SWIG_croak_null();
40540 : }
40541 : }
40542 :
40543 :
40544 0 : XS(_wrap_symbolObj_miny_set) {
40545 : {
40546 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40547 : double arg2 ;
40548 0 : void *argp1 = 0 ;
40549 : int res1 = 0 ;
40550 : double val2 ;
40551 : int ecode2 = 0 ;
40552 : int argvi = 0;
40553 0 : dXSARGS;
40554 :
40555 0 : if ((items < 2) || (items > 2)) {
40556 0 : SWIG_croak("Usage: symbolObj_miny_set(self,miny);");
40557 : }
40558 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40559 0 : if (!SWIG_IsOK(res1)) {
40560 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40561 : }
40562 0 : arg1 = (struct symbolObj *)(argp1);
40563 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40564 0 : if (!SWIG_IsOK(ecode2)) {
40565 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_miny_set" "', argument " "2"" of type '" "double""'");
40566 : }
40567 0 : arg2 = (double)(val2);
40568 0 : if (arg1) (arg1)->miny = arg2;
40569 0 : ST(argvi) = sv_newmortal();
40570 :
40571 :
40572 0 : XSRETURN(argvi);
40573 0 : fail:
40574 :
40575 :
40576 0 : SWIG_croak_null();
40577 : }
40578 : }
40579 :
40580 :
40581 0 : XS(_wrap_symbolObj_miny_get) {
40582 : {
40583 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40584 0 : void *argp1 = 0 ;
40585 : int res1 = 0 ;
40586 : int argvi = 0;
40587 : double result;
40588 0 : dXSARGS;
40589 :
40590 0 : if ((items < 1) || (items > 1)) {
40591 0 : SWIG_croak("Usage: symbolObj_miny_get(self);");
40592 : }
40593 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40594 0 : if (!SWIG_IsOK(res1)) {
40595 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40596 : }
40597 0 : arg1 = (struct symbolObj *)(argp1);
40598 0 : result = (double) ((arg1)->miny);
40599 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40600 :
40601 0 : XSRETURN(argvi);
40602 0 : fail:
40603 :
40604 0 : SWIG_croak_null();
40605 : }
40606 : }
40607 :
40608 :
40609 0 : XS(_wrap_symbolObj_maxx_set) {
40610 : {
40611 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40612 : double arg2 ;
40613 0 : void *argp1 = 0 ;
40614 : int res1 = 0 ;
40615 : double val2 ;
40616 : int ecode2 = 0 ;
40617 : int argvi = 0;
40618 0 : dXSARGS;
40619 :
40620 0 : if ((items < 2) || (items > 2)) {
40621 0 : SWIG_croak("Usage: symbolObj_maxx_set(self,maxx);");
40622 : }
40623 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40624 0 : if (!SWIG_IsOK(res1)) {
40625 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40626 : }
40627 0 : arg1 = (struct symbolObj *)(argp1);
40628 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40629 0 : if (!SWIG_IsOK(ecode2)) {
40630 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxx_set" "', argument " "2"" of type '" "double""'");
40631 : }
40632 0 : arg2 = (double)(val2);
40633 0 : if (arg1) (arg1)->maxx = arg2;
40634 0 : ST(argvi) = sv_newmortal();
40635 :
40636 :
40637 0 : XSRETURN(argvi);
40638 0 : fail:
40639 :
40640 :
40641 0 : SWIG_croak_null();
40642 : }
40643 : }
40644 :
40645 :
40646 0 : XS(_wrap_symbolObj_maxx_get) {
40647 : {
40648 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40649 0 : void *argp1 = 0 ;
40650 : int res1 = 0 ;
40651 : int argvi = 0;
40652 : double result;
40653 0 : dXSARGS;
40654 :
40655 0 : if ((items < 1) || (items > 1)) {
40656 0 : SWIG_croak("Usage: symbolObj_maxx_get(self);");
40657 : }
40658 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40659 0 : if (!SWIG_IsOK(res1)) {
40660 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40661 : }
40662 0 : arg1 = (struct symbolObj *)(argp1);
40663 0 : result = (double) ((arg1)->maxx);
40664 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40665 :
40666 0 : XSRETURN(argvi);
40667 0 : fail:
40668 :
40669 0 : SWIG_croak_null();
40670 : }
40671 : }
40672 :
40673 :
40674 0 : XS(_wrap_symbolObj_maxy_set) {
40675 : {
40676 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40677 : double arg2 ;
40678 0 : void *argp1 = 0 ;
40679 : int res1 = 0 ;
40680 : double val2 ;
40681 : int ecode2 = 0 ;
40682 : int argvi = 0;
40683 0 : dXSARGS;
40684 :
40685 0 : if ((items < 2) || (items > 2)) {
40686 0 : SWIG_croak("Usage: symbolObj_maxy_set(self,maxy);");
40687 : }
40688 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40689 0 : if (!SWIG_IsOK(res1)) {
40690 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40691 : }
40692 0 : arg1 = (struct symbolObj *)(argp1);
40693 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40694 0 : if (!SWIG_IsOK(ecode2)) {
40695 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxy_set" "', argument " "2"" of type '" "double""'");
40696 : }
40697 0 : arg2 = (double)(val2);
40698 0 : if (arg1) (arg1)->maxy = arg2;
40699 0 : ST(argvi) = sv_newmortal();
40700 :
40701 :
40702 0 : XSRETURN(argvi);
40703 0 : fail:
40704 :
40705 :
40706 0 : SWIG_croak_null();
40707 : }
40708 : }
40709 :
40710 :
40711 0 : XS(_wrap_symbolObj_maxy_get) {
40712 : {
40713 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40714 0 : void *argp1 = 0 ;
40715 : int res1 = 0 ;
40716 : int argvi = 0;
40717 : double result;
40718 0 : dXSARGS;
40719 :
40720 0 : if ((items < 1) || (items > 1)) {
40721 0 : SWIG_croak("Usage: symbolObj_maxy_get(self);");
40722 : }
40723 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40724 0 : if (!SWIG_IsOK(res1)) {
40725 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40726 : }
40727 0 : arg1 = (struct symbolObj *)(argp1);
40728 0 : result = (double) ((arg1)->maxy);
40729 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40730 :
40731 0 : XSRETURN(argvi);
40732 0 : fail:
40733 :
40734 0 : SWIG_croak_null();
40735 : }
40736 : }
40737 :
40738 :
40739 0 : XS(_wrap_symbolObj_refcount_get) {
40740 : {
40741 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40742 0 : void *argp1 = 0 ;
40743 : int res1 = 0 ;
40744 : int argvi = 0;
40745 : int result;
40746 0 : dXSARGS;
40747 :
40748 0 : if ((items < 1) || (items > 1)) {
40749 0 : SWIG_croak("Usage: symbolObj_refcount_get(self);");
40750 : }
40751 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40752 0 : if (!SWIG_IsOK(res1)) {
40753 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_refcount_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40754 : }
40755 0 : arg1 = (struct symbolObj *)(argp1);
40756 0 : result = (int) ((arg1)->refcount);
40757 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40758 :
40759 0 : XSRETURN(argvi);
40760 0 : fail:
40761 :
40762 0 : SWIG_croak_null();
40763 : }
40764 : }
40765 :
40766 :
40767 0 : XS(_wrap_symbolObj_numpoints_get) {
40768 : {
40769 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40770 0 : void *argp1 = 0 ;
40771 : int res1 = 0 ;
40772 : int argvi = 0;
40773 : int result;
40774 0 : dXSARGS;
40775 :
40776 0 : if ((items < 1) || (items > 1)) {
40777 0 : SWIG_croak("Usage: symbolObj_numpoints_get(self);");
40778 : }
40779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40780 0 : if (!SWIG_IsOK(res1)) {
40781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_numpoints_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40782 : }
40783 0 : arg1 = (struct symbolObj *)(argp1);
40784 0 : result = (int) ((arg1)->numpoints);
40785 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40786 :
40787 0 : XSRETURN(argvi);
40788 0 : fail:
40789 :
40790 0 : SWIG_croak_null();
40791 : }
40792 : }
40793 :
40794 :
40795 0 : XS(_wrap_symbolObj_filled_set) {
40796 : {
40797 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40798 : int arg2 ;
40799 0 : void *argp1 = 0 ;
40800 : int res1 = 0 ;
40801 : int val2 ;
40802 : int ecode2 = 0 ;
40803 : int argvi = 0;
40804 0 : dXSARGS;
40805 :
40806 0 : if ((items < 2) || (items > 2)) {
40807 0 : SWIG_croak("Usage: symbolObj_filled_set(self,filled);");
40808 : }
40809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40810 0 : if (!SWIG_IsOK(res1)) {
40811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40812 : }
40813 0 : arg1 = (struct symbolObj *)(argp1);
40814 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40815 0 : if (!SWIG_IsOK(ecode2)) {
40816 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_filled_set" "', argument " "2"" of type '" "int""'");
40817 : }
40818 : arg2 = (int)(val2);
40819 0 : if (arg1) (arg1)->filled = arg2;
40820 0 : ST(argvi) = sv_newmortal();
40821 :
40822 :
40823 0 : XSRETURN(argvi);
40824 0 : fail:
40825 :
40826 :
40827 0 : SWIG_croak_null();
40828 : }
40829 : }
40830 :
40831 :
40832 0 : XS(_wrap_symbolObj_filled_get) {
40833 : {
40834 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40835 0 : void *argp1 = 0 ;
40836 : int res1 = 0 ;
40837 : int argvi = 0;
40838 : int result;
40839 0 : dXSARGS;
40840 :
40841 0 : if ((items < 1) || (items > 1)) {
40842 0 : SWIG_croak("Usage: symbolObj_filled_get(self);");
40843 : }
40844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40845 0 : if (!SWIG_IsOK(res1)) {
40846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40847 : }
40848 0 : arg1 = (struct symbolObj *)(argp1);
40849 0 : result = (int) ((arg1)->filled);
40850 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40851 :
40852 0 : XSRETURN(argvi);
40853 0 : fail:
40854 :
40855 0 : SWIG_croak_null();
40856 : }
40857 : }
40858 :
40859 :
40860 0 : XS(_wrap_symbolObj_anchorpoint_x_set) {
40861 : {
40862 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40863 : double arg2 ;
40864 0 : void *argp1 = 0 ;
40865 : int res1 = 0 ;
40866 : double val2 ;
40867 : int ecode2 = 0 ;
40868 : int argvi = 0;
40869 0 : dXSARGS;
40870 :
40871 0 : if ((items < 2) || (items > 2)) {
40872 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_set(self,anchorpoint_x);");
40873 : }
40874 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40875 0 : if (!SWIG_IsOK(res1)) {
40876 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40877 : }
40878 0 : arg1 = (struct symbolObj *)(argp1);
40879 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40880 0 : if (!SWIG_IsOK(ecode2)) {
40881 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "2"" of type '" "double""'");
40882 : }
40883 0 : arg2 = (double)(val2);
40884 0 : if (arg1) (arg1)->anchorpoint_x = arg2;
40885 0 : ST(argvi) = sv_newmortal();
40886 :
40887 :
40888 0 : XSRETURN(argvi);
40889 0 : fail:
40890 :
40891 :
40892 0 : SWIG_croak_null();
40893 : }
40894 : }
40895 :
40896 :
40897 0 : XS(_wrap_symbolObj_anchorpoint_x_get) {
40898 : {
40899 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40900 0 : void *argp1 = 0 ;
40901 : int res1 = 0 ;
40902 : int argvi = 0;
40903 : double result;
40904 0 : dXSARGS;
40905 :
40906 0 : if ((items < 1) || (items > 1)) {
40907 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_get(self);");
40908 : }
40909 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40910 0 : if (!SWIG_IsOK(res1)) {
40911 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40912 : }
40913 0 : arg1 = (struct symbolObj *)(argp1);
40914 0 : result = (double) ((arg1)->anchorpoint_x);
40915 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40916 :
40917 0 : XSRETURN(argvi);
40918 0 : fail:
40919 :
40920 0 : SWIG_croak_null();
40921 : }
40922 : }
40923 :
40924 :
40925 0 : XS(_wrap_symbolObj_anchorpoint_y_set) {
40926 : {
40927 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40928 : double arg2 ;
40929 0 : void *argp1 = 0 ;
40930 : int res1 = 0 ;
40931 : double val2 ;
40932 : int ecode2 = 0 ;
40933 : int argvi = 0;
40934 0 : dXSARGS;
40935 :
40936 0 : if ((items < 2) || (items > 2)) {
40937 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_set(self,anchorpoint_y);");
40938 : }
40939 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40940 0 : if (!SWIG_IsOK(res1)) {
40941 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40942 : }
40943 0 : arg1 = (struct symbolObj *)(argp1);
40944 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40945 0 : if (!SWIG_IsOK(ecode2)) {
40946 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "2"" of type '" "double""'");
40947 : }
40948 0 : arg2 = (double)(val2);
40949 0 : if (arg1) (arg1)->anchorpoint_y = arg2;
40950 0 : ST(argvi) = sv_newmortal();
40951 :
40952 :
40953 0 : XSRETURN(argvi);
40954 0 : fail:
40955 :
40956 :
40957 0 : SWIG_croak_null();
40958 : }
40959 : }
40960 :
40961 :
40962 0 : XS(_wrap_symbolObj_anchorpoint_y_get) {
40963 : {
40964 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40965 0 : void *argp1 = 0 ;
40966 : int res1 = 0 ;
40967 : int argvi = 0;
40968 : double result;
40969 0 : dXSARGS;
40970 :
40971 0 : if ((items < 1) || (items > 1)) {
40972 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_get(self);");
40973 : }
40974 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40975 0 : if (!SWIG_IsOK(res1)) {
40976 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40977 : }
40978 0 : arg1 = (struct symbolObj *)(argp1);
40979 0 : result = (double) ((arg1)->anchorpoint_y);
40980 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40981 :
40982 0 : XSRETURN(argvi);
40983 0 : fail:
40984 :
40985 0 : SWIG_croak_null();
40986 : }
40987 : }
40988 :
40989 :
40990 0 : XS(_wrap_symbolObj_imagepath_get) {
40991 : {
40992 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40993 0 : void *argp1 = 0 ;
40994 : int res1 = 0 ;
40995 : int argvi = 0;
40996 : char *result = 0 ;
40997 0 : dXSARGS;
40998 :
40999 0 : if ((items < 1) || (items > 1)) {
41000 0 : SWIG_croak("Usage: symbolObj_imagepath_get(self);");
41001 : }
41002 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41003 0 : if (!SWIG_IsOK(res1)) {
41004 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_imagepath_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41005 : }
41006 0 : arg1 = (struct symbolObj *)(argp1);
41007 0 : result = (char *) ((arg1)->imagepath);
41008 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41009 :
41010 0 : XSRETURN(argvi);
41011 0 : fail:
41012 :
41013 0 : SWIG_croak_null();
41014 : }
41015 : }
41016 :
41017 :
41018 0 : XS(_wrap_symbolObj_transparent_set) {
41019 : {
41020 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41021 : int arg2 ;
41022 0 : void *argp1 = 0 ;
41023 : int res1 = 0 ;
41024 : int val2 ;
41025 : int ecode2 = 0 ;
41026 : int argvi = 0;
41027 0 : dXSARGS;
41028 :
41029 0 : if ((items < 2) || (items > 2)) {
41030 0 : SWIG_croak("Usage: symbolObj_transparent_set(self,transparent);");
41031 : }
41032 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41033 0 : if (!SWIG_IsOK(res1)) {
41034 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41035 : }
41036 0 : arg1 = (struct symbolObj *)(argp1);
41037 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41038 0 : if (!SWIG_IsOK(ecode2)) {
41039 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparent_set" "', argument " "2"" of type '" "int""'");
41040 : }
41041 : arg2 = (int)(val2);
41042 0 : if (arg1) (arg1)->transparent = arg2;
41043 0 : ST(argvi) = sv_newmortal();
41044 :
41045 :
41046 0 : XSRETURN(argvi);
41047 0 : fail:
41048 :
41049 :
41050 0 : SWIG_croak_null();
41051 : }
41052 : }
41053 :
41054 :
41055 0 : XS(_wrap_symbolObj_transparent_get) {
41056 : {
41057 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41058 0 : void *argp1 = 0 ;
41059 : int res1 = 0 ;
41060 : int argvi = 0;
41061 : int result;
41062 0 : dXSARGS;
41063 :
41064 0 : if ((items < 1) || (items > 1)) {
41065 0 : SWIG_croak("Usage: symbolObj_transparent_get(self);");
41066 : }
41067 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41068 0 : if (!SWIG_IsOK(res1)) {
41069 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41070 : }
41071 0 : arg1 = (struct symbolObj *)(argp1);
41072 0 : result = (int) ((arg1)->transparent);
41073 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41074 :
41075 0 : XSRETURN(argvi);
41076 0 : fail:
41077 :
41078 0 : SWIG_croak_null();
41079 : }
41080 : }
41081 :
41082 :
41083 0 : XS(_wrap_symbolObj_transparentcolor_set) {
41084 : {
41085 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41086 : int arg2 ;
41087 0 : void *argp1 = 0 ;
41088 : int res1 = 0 ;
41089 : int val2 ;
41090 : int ecode2 = 0 ;
41091 : int argvi = 0;
41092 0 : dXSARGS;
41093 :
41094 0 : if ((items < 2) || (items > 2)) {
41095 0 : SWIG_croak("Usage: symbolObj_transparentcolor_set(self,transparentcolor);");
41096 : }
41097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41098 0 : if (!SWIG_IsOK(res1)) {
41099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41100 : }
41101 0 : arg1 = (struct symbolObj *)(argp1);
41102 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41103 0 : if (!SWIG_IsOK(ecode2)) {
41104 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparentcolor_set" "', argument " "2"" of type '" "int""'");
41105 : }
41106 : arg2 = (int)(val2);
41107 0 : if (arg1) (arg1)->transparentcolor = arg2;
41108 0 : ST(argvi) = sv_newmortal();
41109 :
41110 :
41111 0 : XSRETURN(argvi);
41112 0 : fail:
41113 :
41114 :
41115 0 : SWIG_croak_null();
41116 : }
41117 : }
41118 :
41119 :
41120 0 : XS(_wrap_symbolObj_transparentcolor_get) {
41121 : {
41122 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41123 0 : void *argp1 = 0 ;
41124 : int res1 = 0 ;
41125 : int argvi = 0;
41126 : int result;
41127 0 : dXSARGS;
41128 :
41129 0 : if ((items < 1) || (items > 1)) {
41130 0 : SWIG_croak("Usage: symbolObj_transparentcolor_get(self);");
41131 : }
41132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41133 0 : if (!SWIG_IsOK(res1)) {
41134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41135 : }
41136 0 : arg1 = (struct symbolObj *)(argp1);
41137 0 : result = (int) ((arg1)->transparentcolor);
41138 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41139 :
41140 0 : XSRETURN(argvi);
41141 0 : fail:
41142 :
41143 0 : SWIG_croak_null();
41144 : }
41145 : }
41146 :
41147 :
41148 0 : XS(_wrap_symbolObj_character_set) {
41149 : {
41150 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41151 : char *arg2 = (char *) 0 ;
41152 0 : void *argp1 = 0 ;
41153 : int res1 = 0 ;
41154 : int res2 ;
41155 0 : char *buf2 = 0 ;
41156 0 : int alloc2 = 0 ;
41157 : int argvi = 0;
41158 0 : dXSARGS;
41159 :
41160 0 : if ((items < 2) || (items > 2)) {
41161 0 : SWIG_croak("Usage: symbolObj_character_set(self,character);");
41162 : }
41163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41164 0 : if (!SWIG_IsOK(res1)) {
41165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41166 : }
41167 0 : arg1 = (struct symbolObj *)(argp1);
41168 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41169 0 : if (!SWIG_IsOK(res2)) {
41170 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_character_set" "', argument " "2"" of type '" "char *""'");
41171 : }
41172 0 : arg2 = (char *)(buf2);
41173 : {
41174 0 : if (arg1->character) free((char*)arg1->character);
41175 0 : if (arg2) {
41176 0 : arg1->character = (char *) malloc(strlen(arg2)+1);
41177 : strcpy((char*)arg1->character,arg2);
41178 : } else {
41179 0 : arg1->character = 0;
41180 : }
41181 : }
41182 0 : ST(argvi) = sv_newmortal();
41183 :
41184 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41185 0 : XSRETURN(argvi);
41186 0 : fail:
41187 :
41188 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41189 0 : SWIG_croak_null();
41190 : }
41191 : }
41192 :
41193 :
41194 0 : XS(_wrap_symbolObj_character_get) {
41195 : {
41196 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41197 0 : void *argp1 = 0 ;
41198 : int res1 = 0 ;
41199 : int argvi = 0;
41200 : char *result = 0 ;
41201 0 : dXSARGS;
41202 :
41203 0 : if ((items < 1) || (items > 1)) {
41204 0 : SWIG_croak("Usage: symbolObj_character_get(self);");
41205 : }
41206 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41207 0 : if (!SWIG_IsOK(res1)) {
41208 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41209 : }
41210 0 : arg1 = (struct symbolObj *)(argp1);
41211 0 : result = (char *) ((arg1)->character);
41212 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41213 :
41214 0 : XSRETURN(argvi);
41215 0 : fail:
41216 :
41217 0 : SWIG_croak_null();
41218 : }
41219 : }
41220 :
41221 :
41222 0 : XS(_wrap_symbolObj_font_set) {
41223 : {
41224 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41225 : char *arg2 = (char *) 0 ;
41226 0 : void *argp1 = 0 ;
41227 : int res1 = 0 ;
41228 : int res2 ;
41229 0 : char *buf2 = 0 ;
41230 0 : int alloc2 = 0 ;
41231 : int argvi = 0;
41232 0 : dXSARGS;
41233 :
41234 0 : if ((items < 2) || (items > 2)) {
41235 0 : SWIG_croak("Usage: symbolObj_font_set(self,font);");
41236 : }
41237 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41238 0 : if (!SWIG_IsOK(res1)) {
41239 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41240 : }
41241 0 : arg1 = (struct symbolObj *)(argp1);
41242 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41243 0 : if (!SWIG_IsOK(res2)) {
41244 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_font_set" "', argument " "2"" of type '" "char *""'");
41245 : }
41246 0 : arg2 = (char *)(buf2);
41247 : {
41248 0 : if (arg1->font) free((char*)arg1->font);
41249 0 : if (arg2) {
41250 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
41251 : strcpy((char*)arg1->font,arg2);
41252 : } else {
41253 0 : arg1->font = 0;
41254 : }
41255 : }
41256 0 : ST(argvi) = sv_newmortal();
41257 :
41258 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41259 0 : XSRETURN(argvi);
41260 0 : fail:
41261 :
41262 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41263 0 : SWIG_croak_null();
41264 : }
41265 : }
41266 :
41267 :
41268 0 : XS(_wrap_symbolObj_font_get) {
41269 : {
41270 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41271 0 : void *argp1 = 0 ;
41272 : int res1 = 0 ;
41273 : int argvi = 0;
41274 : char *result = 0 ;
41275 0 : dXSARGS;
41276 :
41277 0 : if ((items < 1) || (items > 1)) {
41278 0 : SWIG_croak("Usage: symbolObj_font_get(self);");
41279 : }
41280 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41281 0 : if (!SWIG_IsOK(res1)) {
41282 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41283 : }
41284 0 : arg1 = (struct symbolObj *)(argp1);
41285 0 : result = (char *) ((arg1)->font);
41286 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41287 :
41288 0 : XSRETURN(argvi);
41289 0 : fail:
41290 :
41291 0 : SWIG_croak_null();
41292 : }
41293 : }
41294 :
41295 :
41296 0 : XS(_wrap_new_symbolObj) {
41297 : {
41298 : char *arg1 = (char *) 0 ;
41299 : char *arg2 = (char *) NULL ;
41300 : int res1 ;
41301 0 : char *buf1 = 0 ;
41302 0 : int alloc1 = 0 ;
41303 : int res2 ;
41304 0 : char *buf2 = 0 ;
41305 0 : int alloc2 = 0 ;
41306 : int argvi = 0;
41307 : struct symbolObj *result = 0 ;
41308 0 : dXSARGS;
41309 :
41310 0 : if ((items < 1) || (items > 2)) {
41311 0 : SWIG_croak("Usage: new_symbolObj(symbolname,imagefile);");
41312 : }
41313 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
41314 0 : if (!SWIG_IsOK(res1)) {
41315 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolObj" "', argument " "1"" of type '" "char *""'");
41316 : }
41317 0 : arg1 = (char *)(buf1);
41318 0 : if (items > 1) {
41319 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41320 0 : if (!SWIG_IsOK(res2)) {
41321 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_symbolObj" "', argument " "2"" of type '" "char const *""'");
41322 : }
41323 0 : arg2 = (char *)(buf2);
41324 : }
41325 0 : result = (struct symbolObj *)new_symbolObj(arg1,(char const *)arg2);
41326 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41327 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41328 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41329 0 : XSRETURN(argvi);
41330 0 : fail:
41331 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41333 0 : SWIG_croak_null();
41334 : }
41335 : }
41336 :
41337 :
41338 0 : XS(_wrap_delete_symbolObj) {
41339 : {
41340 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41341 0 : void *argp1 = 0 ;
41342 : int res1 = 0 ;
41343 : int argvi = 0;
41344 0 : dXSARGS;
41345 :
41346 0 : if ((items < 1) || (items > 1)) {
41347 0 : SWIG_croak("Usage: delete_symbolObj(self);");
41348 : }
41349 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, SWIG_POINTER_DISOWN | 0 );
41350 0 : if (!SWIG_IsOK(res1)) {
41351 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolObj" "', argument " "1"" of type '" "struct symbolObj *""'");
41352 : }
41353 0 : arg1 = (struct symbolObj *)(argp1);
41354 0 : delete_symbolObj(arg1);
41355 0 : ST(argvi) = sv_newmortal();
41356 :
41357 0 : XSRETURN(argvi);
41358 0 : fail:
41359 :
41360 0 : SWIG_croak_null();
41361 : }
41362 : }
41363 :
41364 :
41365 0 : XS(_wrap_symbolObj_setImagepath) {
41366 : {
41367 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41368 : char *arg2 = (char *) 0 ;
41369 0 : void *argp1 = 0 ;
41370 : int res1 = 0 ;
41371 : int res2 ;
41372 0 : char *buf2 = 0 ;
41373 0 : int alloc2 = 0 ;
41374 : int argvi = 0;
41375 : int result;
41376 0 : dXSARGS;
41377 :
41378 0 : if ((items < 2) || (items > 2)) {
41379 0 : SWIG_croak("Usage: symbolObj_setImagepath(self,imagefile);");
41380 : }
41381 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41382 0 : if (!SWIG_IsOK(res1)) {
41383 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImagepath" "', argument " "1"" of type '" "struct symbolObj *""'");
41384 : }
41385 0 : arg1 = (struct symbolObj *)(argp1);
41386 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41387 0 : if (!SWIG_IsOK(res2)) {
41388 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImagepath" "', argument " "2"" of type '" "char const *""'");
41389 : }
41390 0 : arg2 = (char *)(buf2);
41391 : result = (int)symbolObj_setImagepath(arg1,(char const *)arg2);
41392 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41393 :
41394 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41395 0 : XSRETURN(argvi);
41396 0 : fail:
41397 :
41398 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41399 0 : SWIG_croak_null();
41400 : }
41401 : }
41402 :
41403 :
41404 0 : XS(_wrap_symbolObj_setPoints) {
41405 : {
41406 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41407 : lineObj *arg2 = (lineObj *) 0 ;
41408 0 : void *argp1 = 0 ;
41409 : int res1 = 0 ;
41410 0 : void *argp2 = 0 ;
41411 : int res2 = 0 ;
41412 : int argvi = 0;
41413 : int result;
41414 0 : dXSARGS;
41415 :
41416 0 : if ((items < 2) || (items > 2)) {
41417 0 : SWIG_croak("Usage: symbolObj_setPoints(self,line);");
41418 : }
41419 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41420 0 : if (!SWIG_IsOK(res1)) {
41421 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41422 : }
41423 0 : arg1 = (struct symbolObj *)(argp1);
41424 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
41425 0 : if (!SWIG_IsOK(res2)) {
41426 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setPoints" "', argument " "2"" of type '" "lineObj *""'");
41427 : }
41428 0 : arg2 = (lineObj *)(argp2);
41429 0 : result = (int)symbolObj_setPoints(arg1,arg2);
41430 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41431 :
41432 :
41433 0 : XSRETURN(argvi);
41434 0 : fail:
41435 :
41436 :
41437 0 : SWIG_croak_null();
41438 : }
41439 : }
41440 :
41441 :
41442 0 : XS(_wrap_symbolObj_getPoints) {
41443 : {
41444 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41445 0 : void *argp1 = 0 ;
41446 : int res1 = 0 ;
41447 : int argvi = 0;
41448 : lineObj *result = 0 ;
41449 0 : dXSARGS;
41450 :
41451 0 : if ((items < 1) || (items > 1)) {
41452 0 : SWIG_croak("Usage: symbolObj_getPoints(self);");
41453 : }
41454 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41455 0 : if (!SWIG_IsOK(res1)) {
41456 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41457 : }
41458 0 : arg1 = (struct symbolObj *)(argp1);
41459 0 : result = (lineObj *)symbolObj_getPoints(arg1);
41460 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41461 :
41462 0 : XSRETURN(argvi);
41463 0 : fail:
41464 :
41465 0 : SWIG_croak_null();
41466 : }
41467 : }
41468 :
41469 :
41470 0 : XS(_wrap_symbolObj_getImage) {
41471 : {
41472 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41473 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
41474 0 : void *argp1 = 0 ;
41475 : int res1 = 0 ;
41476 0 : void *argp2 = 0 ;
41477 : int res2 = 0 ;
41478 : int argvi = 0;
41479 : imageObj *result = 0 ;
41480 0 : dXSARGS;
41481 :
41482 0 : if ((items < 2) || (items > 2)) {
41483 0 : SWIG_croak("Usage: symbolObj_getImage(self,input_format);");
41484 : }
41485 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41486 0 : if (!SWIG_IsOK(res1)) {
41487 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41488 : }
41489 0 : arg1 = (struct symbolObj *)(argp1);
41490 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
41491 0 : if (!SWIG_IsOK(res2)) {
41492 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_getImage" "', argument " "2"" of type '" "outputFormatObj *""'");
41493 : }
41494 0 : arg2 = (outputFormatObj *)(argp2);
41495 0 : result = (imageObj *)symbolObj_getImage(arg1,arg2);
41496 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41497 :
41498 :
41499 0 : XSRETURN(argvi);
41500 0 : fail:
41501 :
41502 :
41503 0 : SWIG_croak_null();
41504 : }
41505 : }
41506 :
41507 :
41508 0 : XS(_wrap_symbolObj_setImage) {
41509 : {
41510 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41511 : imageObj *arg2 = (imageObj *) 0 ;
41512 0 : void *argp1 = 0 ;
41513 : int res1 = 0 ;
41514 0 : void *argp2 = 0 ;
41515 : int res2 = 0 ;
41516 : int argvi = 0;
41517 : int result;
41518 0 : dXSARGS;
41519 :
41520 0 : if ((items < 2) || (items > 2)) {
41521 0 : SWIG_croak("Usage: symbolObj_setImage(self,image);");
41522 : }
41523 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41524 0 : if (!SWIG_IsOK(res1)) {
41525 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41526 : }
41527 0 : arg1 = (struct symbolObj *)(argp1);
41528 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
41529 0 : if (!SWIG_IsOK(res2)) {
41530 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImage" "', argument " "2"" of type '" "imageObj *""'");
41531 : }
41532 0 : arg2 = (imageObj *)(argp2);
41533 0 : result = (int)symbolObj_setImage(arg1,arg2);
41534 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41535 :
41536 :
41537 0 : XSRETURN(argvi);
41538 0 : fail:
41539 :
41540 :
41541 0 : SWIG_croak_null();
41542 : }
41543 : }
41544 :
41545 :
41546 0 : XS(_wrap_hashTableObj_numitems_get) {
41547 : {
41548 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41549 0 : void *argp1 = 0 ;
41550 : int res1 = 0 ;
41551 : int argvi = 0;
41552 : int result;
41553 0 : dXSARGS;
41554 :
41555 0 : if ((items < 1) || (items > 1)) {
41556 0 : SWIG_croak("Usage: hashTableObj_numitems_get(self);");
41557 : }
41558 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41559 0 : if (!SWIG_IsOK(res1)) {
41560 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_numitems_get" "', argument " "1"" of type '" "hashTableObj *""'");
41561 : }
41562 0 : arg1 = (hashTableObj *)(argp1);
41563 0 : result = (int) ((arg1)->numitems);
41564 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41565 :
41566 0 : XSRETURN(argvi);
41567 0 : fail:
41568 :
41569 0 : SWIG_croak_null();
41570 : }
41571 : }
41572 :
41573 :
41574 0 : XS(_wrap_new_hashTableObj) {
41575 : {
41576 : int argvi = 0;
41577 : hashTableObj *result = 0 ;
41578 0 : dXSARGS;
41579 :
41580 0 : if ((items < 0) || (items > 0)) {
41581 0 : SWIG_croak("Usage: new_hashTableObj();");
41582 : }
41583 : result = (hashTableObj *)new_hashTableObj();
41584 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41585 0 : XSRETURN(argvi);
41586 : fail:
41587 0 : SWIG_croak_null();
41588 : }
41589 : }
41590 :
41591 :
41592 1 : XS(_wrap_delete_hashTableObj) {
41593 : {
41594 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41595 1 : void *argp1 = 0 ;
41596 : int res1 = 0 ;
41597 : int argvi = 0;
41598 1 : dXSARGS;
41599 :
41600 1 : if ((items < 1) || (items > 1)) {
41601 0 : SWIG_croak("Usage: delete_hashTableObj(self);");
41602 : }
41603 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, SWIG_POINTER_DISOWN | 0 );
41604 1 : if (!SWIG_IsOK(res1)) {
41605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_hashTableObj" "', argument " "1"" of type '" "hashTableObj *""'");
41606 : }
41607 1 : arg1 = (hashTableObj *)(argp1);
41608 : delete_hashTableObj(arg1);
41609 1 : ST(argvi) = sv_newmortal();
41610 :
41611 1 : XSRETURN(argvi);
41612 0 : fail:
41613 :
41614 0 : SWIG_croak_null();
41615 : }
41616 : }
41617 :
41618 :
41619 0 : XS(_wrap_hashTableObj_set) {
41620 : {
41621 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41622 : char *arg2 = (char *) 0 ;
41623 : char *arg3 = (char *) 0 ;
41624 0 : void *argp1 = 0 ;
41625 : int res1 = 0 ;
41626 : int res2 ;
41627 0 : char *buf2 = 0 ;
41628 0 : int alloc2 = 0 ;
41629 : int res3 ;
41630 0 : char *buf3 = 0 ;
41631 0 : int alloc3 = 0 ;
41632 : int argvi = 0;
41633 : int result;
41634 0 : dXSARGS;
41635 :
41636 0 : if ((items < 3) || (items > 3)) {
41637 0 : SWIG_croak("Usage: hashTableObj_set(self,key,value);");
41638 : }
41639 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41640 0 : if (!SWIG_IsOK(res1)) {
41641 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_set" "', argument " "1"" of type '" "hashTableObj *""'");
41642 : }
41643 0 : arg1 = (hashTableObj *)(argp1);
41644 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41645 0 : if (!SWIG_IsOK(res2)) {
41646 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_set" "', argument " "2"" of type '" "char *""'");
41647 : }
41648 0 : arg2 = (char *)(buf2);
41649 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
41650 0 : if (!SWIG_IsOK(res3)) {
41651 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_set" "', argument " "3"" of type '" "char *""'");
41652 : }
41653 0 : arg3 = (char *)(buf3);
41654 : result = (int)hashTableObj_set(arg1,arg2,arg3);
41655 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41656 :
41657 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41658 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41659 0 : XSRETURN(argvi);
41660 0 : fail:
41661 :
41662 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41663 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41664 0 : SWIG_croak_null();
41665 : }
41666 : }
41667 :
41668 :
41669 1 : XS(_wrap_hashTableObj_get) {
41670 : {
41671 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41672 : char *arg2 = (char *) 0 ;
41673 : char *arg3 = (char *) NULL ;
41674 1 : void *argp1 = 0 ;
41675 : int res1 = 0 ;
41676 : int res2 ;
41677 1 : char *buf2 = 0 ;
41678 1 : int alloc2 = 0 ;
41679 : int res3 ;
41680 1 : char *buf3 = 0 ;
41681 1 : int alloc3 = 0 ;
41682 : int argvi = 0;
41683 : char *result = 0 ;
41684 1 : dXSARGS;
41685 :
41686 1 : if ((items < 2) || (items > 3)) {
41687 0 : SWIG_croak("Usage: hashTableObj_get(self,key,default_value);");
41688 : }
41689 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41690 1 : if (!SWIG_IsOK(res1)) {
41691 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_get" "', argument " "1"" of type '" "hashTableObj *""'");
41692 : }
41693 1 : arg1 = (hashTableObj *)(argp1);
41694 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41695 1 : if (!SWIG_IsOK(res2)) {
41696 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_get" "', argument " "2"" of type '" "char *""'");
41697 : }
41698 1 : arg2 = (char *)(buf2);
41699 1 : if (items > 2) {
41700 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
41701 0 : if (!SWIG_IsOK(res3)) {
41702 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_get" "', argument " "3"" of type '" "char *""'");
41703 : }
41704 0 : arg3 = (char *)(buf3);
41705 : }
41706 1 : result = (char *)hashTableObj_get(arg1,arg2,arg3);
41707 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41708 :
41709 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41710 1 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41711 1 : XSRETURN(argvi);
41712 0 : fail:
41713 :
41714 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41715 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41716 0 : SWIG_croak_null();
41717 : }
41718 : }
41719 :
41720 :
41721 0 : XS(_wrap_hashTableObj_remove) {
41722 : {
41723 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41724 : char *arg2 = (char *) 0 ;
41725 0 : void *argp1 = 0 ;
41726 : int res1 = 0 ;
41727 : int res2 ;
41728 0 : char *buf2 = 0 ;
41729 0 : int alloc2 = 0 ;
41730 : int argvi = 0;
41731 : int result;
41732 0 : dXSARGS;
41733 :
41734 0 : if ((items < 2) || (items > 2)) {
41735 0 : SWIG_croak("Usage: hashTableObj_remove(self,key);");
41736 : }
41737 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41738 0 : if (!SWIG_IsOK(res1)) {
41739 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_remove" "', argument " "1"" of type '" "hashTableObj *""'");
41740 : }
41741 0 : arg1 = (hashTableObj *)(argp1);
41742 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41743 0 : if (!SWIG_IsOK(res2)) {
41744 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_remove" "', argument " "2"" of type '" "char *""'");
41745 : }
41746 0 : arg2 = (char *)(buf2);
41747 : result = (int)hashTableObj_remove(arg1,arg2);
41748 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41749 :
41750 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41751 0 : XSRETURN(argvi);
41752 0 : fail:
41753 :
41754 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41755 0 : SWIG_croak_null();
41756 : }
41757 : }
41758 :
41759 :
41760 0 : XS(_wrap_hashTableObj_clear) {
41761 : {
41762 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41763 0 : void *argp1 = 0 ;
41764 : int res1 = 0 ;
41765 : int argvi = 0;
41766 0 : dXSARGS;
41767 :
41768 0 : if ((items < 1) || (items > 1)) {
41769 0 : SWIG_croak("Usage: hashTableObj_clear(self);");
41770 : }
41771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41772 0 : if (!SWIG_IsOK(res1)) {
41773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_clear" "', argument " "1"" of type '" "hashTableObj *""'");
41774 : }
41775 0 : arg1 = (hashTableObj *)(argp1);
41776 : hashTableObj_clear(arg1);
41777 0 : ST(argvi) = sv_newmortal();
41778 :
41779 0 : XSRETURN(argvi);
41780 0 : fail:
41781 :
41782 0 : SWIG_croak_null();
41783 : }
41784 : }
41785 :
41786 :
41787 0 : XS(_wrap_hashTableObj_nextKey) {
41788 : {
41789 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41790 : char *arg2 = (char *) NULL ;
41791 0 : void *argp1 = 0 ;
41792 : int res1 = 0 ;
41793 : int res2 ;
41794 0 : char *buf2 = 0 ;
41795 0 : int alloc2 = 0 ;
41796 : int argvi = 0;
41797 : char *result = 0 ;
41798 0 : dXSARGS;
41799 :
41800 0 : if ((items < 1) || (items > 2)) {
41801 0 : SWIG_croak("Usage: hashTableObj_nextKey(self,prevkey);");
41802 : }
41803 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41804 0 : if (!SWIG_IsOK(res1)) {
41805 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_nextKey" "', argument " "1"" of type '" "hashTableObj *""'");
41806 : }
41807 0 : arg1 = (hashTableObj *)(argp1);
41808 0 : if (items > 1) {
41809 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41810 0 : if (!SWIG_IsOK(res2)) {
41811 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_nextKey" "', argument " "2"" of type '" "char *""'");
41812 : }
41813 0 : arg2 = (char *)(buf2);
41814 : }
41815 : result = (char *)hashTableObj_nextKey(arg1,arg2);
41816 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41817 :
41818 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41819 0 : XSRETURN(argvi);
41820 0 : fail:
41821 :
41822 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41823 0 : SWIG_croak_null();
41824 : }
41825 : }
41826 :
41827 :
41828 0 : XS(_wrap_OWSRequest_NumParams_get) {
41829 : {
41830 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41831 0 : void *argp1 = 0 ;
41832 : int res1 = 0 ;
41833 : int argvi = 0;
41834 : int result;
41835 0 : dXSARGS;
41836 :
41837 0 : if ((items < 1) || (items > 1)) {
41838 0 : SWIG_croak("Usage: OWSRequest_NumParams_get(self);");
41839 : }
41840 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41841 0 : if (!SWIG_IsOK(res1)) {
41842 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_NumParams_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
41843 : }
41844 0 : arg1 = (cgiRequestObj *)(argp1);
41845 0 : result = (int) ((arg1)->NumParams);
41846 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41847 :
41848 0 : XSRETURN(argvi);
41849 0 : fail:
41850 :
41851 0 : SWIG_croak_null();
41852 : }
41853 : }
41854 :
41855 :
41856 0 : XS(_wrap_OWSRequest_type_set) {
41857 : {
41858 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41859 : enum MS_REQUEST_TYPE arg2 ;
41860 0 : void *argp1 = 0 ;
41861 : int res1 = 0 ;
41862 : int val2 ;
41863 : int ecode2 = 0 ;
41864 : int argvi = 0;
41865 0 : dXSARGS;
41866 :
41867 0 : if ((items < 2) || (items > 2)) {
41868 0 : SWIG_croak("Usage: OWSRequest_type_set(self,type);");
41869 : }
41870 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41871 0 : if (!SWIG_IsOK(res1)) {
41872 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
41873 : }
41874 0 : arg1 = (cgiRequestObj *)(argp1);
41875 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41876 0 : if (!SWIG_IsOK(ecode2)) {
41877 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_type_set" "', argument " "2"" of type '" "enum MS_REQUEST_TYPE""'");
41878 : }
41879 0 : arg2 = (enum MS_REQUEST_TYPE)(val2);
41880 0 : if (arg1) (arg1)->type = arg2;
41881 0 : ST(argvi) = sv_newmortal();
41882 :
41883 :
41884 0 : XSRETURN(argvi);
41885 0 : fail:
41886 :
41887 :
41888 0 : SWIG_croak_null();
41889 : }
41890 : }
41891 :
41892 :
41893 0 : XS(_wrap_OWSRequest_type_get) {
41894 : {
41895 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41896 0 : void *argp1 = 0 ;
41897 : int res1 = 0 ;
41898 : int argvi = 0;
41899 : enum MS_REQUEST_TYPE result;
41900 0 : dXSARGS;
41901 :
41902 0 : if ((items < 1) || (items > 1)) {
41903 0 : SWIG_croak("Usage: OWSRequest_type_get(self);");
41904 : }
41905 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41906 0 : if (!SWIG_IsOK(res1)) {
41907 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
41908 : }
41909 0 : arg1 = (cgiRequestObj *)(argp1);
41910 0 : result = (enum MS_REQUEST_TYPE) ((arg1)->type);
41911 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41912 :
41913 0 : XSRETURN(argvi);
41914 0 : fail:
41915 :
41916 0 : SWIG_croak_null();
41917 : }
41918 : }
41919 :
41920 :
41921 0 : XS(_wrap_OWSRequest_contenttype_set) {
41922 : {
41923 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41924 : char *arg2 = (char *) 0 ;
41925 0 : void *argp1 = 0 ;
41926 : int res1 = 0 ;
41927 : int res2 ;
41928 0 : char *buf2 = 0 ;
41929 0 : int alloc2 = 0 ;
41930 : int argvi = 0;
41931 0 : dXSARGS;
41932 :
41933 0 : if ((items < 2) || (items > 2)) {
41934 0 : SWIG_croak("Usage: OWSRequest_contenttype_set(self,contenttype);");
41935 : }
41936 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41937 0 : if (!SWIG_IsOK(res1)) {
41938 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
41939 : }
41940 0 : arg1 = (cgiRequestObj *)(argp1);
41941 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41942 0 : if (!SWIG_IsOK(res2)) {
41943 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_contenttype_set" "', argument " "2"" of type '" "char *""'");
41944 : }
41945 0 : arg2 = (char *)(buf2);
41946 : {
41947 0 : if (arg1->contenttype) free((char*)arg1->contenttype);
41948 0 : if (arg2) {
41949 0 : arg1->contenttype = (char *) malloc(strlen(arg2)+1);
41950 : strcpy((char*)arg1->contenttype,arg2);
41951 : } else {
41952 0 : arg1->contenttype = 0;
41953 : }
41954 : }
41955 0 : ST(argvi) = sv_newmortal();
41956 :
41957 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41958 0 : XSRETURN(argvi);
41959 0 : fail:
41960 :
41961 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41962 0 : SWIG_croak_null();
41963 : }
41964 : }
41965 :
41966 :
41967 0 : XS(_wrap_OWSRequest_contenttype_get) {
41968 : {
41969 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41970 0 : void *argp1 = 0 ;
41971 : int res1 = 0 ;
41972 : int argvi = 0;
41973 : char *result = 0 ;
41974 0 : dXSARGS;
41975 :
41976 0 : if ((items < 1) || (items > 1)) {
41977 0 : SWIG_croak("Usage: OWSRequest_contenttype_get(self);");
41978 : }
41979 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41980 0 : if (!SWIG_IsOK(res1)) {
41981 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
41982 : }
41983 0 : arg1 = (cgiRequestObj *)(argp1);
41984 0 : result = (char *) ((arg1)->contenttype);
41985 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41986 :
41987 0 : XSRETURN(argvi);
41988 0 : fail:
41989 :
41990 0 : SWIG_croak_null();
41991 : }
41992 : }
41993 :
41994 :
41995 0 : XS(_wrap_OWSRequest_postrequest_set) {
41996 : {
41997 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41998 : char *arg2 = (char *) 0 ;
41999 0 : void *argp1 = 0 ;
42000 : int res1 = 0 ;
42001 : int res2 ;
42002 0 : char *buf2 = 0 ;
42003 0 : int alloc2 = 0 ;
42004 : int argvi = 0;
42005 0 : dXSARGS;
42006 :
42007 0 : if ((items < 2) || (items > 2)) {
42008 0 : SWIG_croak("Usage: OWSRequest_postrequest_set(self,postrequest);");
42009 : }
42010 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42011 0 : if (!SWIG_IsOK(res1)) {
42012 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42013 : }
42014 0 : arg1 = (cgiRequestObj *)(argp1);
42015 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42016 0 : if (!SWIG_IsOK(res2)) {
42017 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_postrequest_set" "', argument " "2"" of type '" "char *""'");
42018 : }
42019 0 : arg2 = (char *)(buf2);
42020 : {
42021 0 : if (arg1->postrequest) free((char*)arg1->postrequest);
42022 0 : if (arg2) {
42023 0 : arg1->postrequest = (char *) malloc(strlen(arg2)+1);
42024 : strcpy((char*)arg1->postrequest,arg2);
42025 : } else {
42026 0 : arg1->postrequest = 0;
42027 : }
42028 : }
42029 0 : ST(argvi) = sv_newmortal();
42030 :
42031 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42032 0 : XSRETURN(argvi);
42033 0 : fail:
42034 :
42035 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42036 0 : SWIG_croak_null();
42037 : }
42038 : }
42039 :
42040 :
42041 0 : XS(_wrap_OWSRequest_postrequest_get) {
42042 : {
42043 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42044 0 : void *argp1 = 0 ;
42045 : int res1 = 0 ;
42046 : int argvi = 0;
42047 : char *result = 0 ;
42048 0 : dXSARGS;
42049 :
42050 0 : if ((items < 1) || (items > 1)) {
42051 0 : SWIG_croak("Usage: OWSRequest_postrequest_get(self);");
42052 : }
42053 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42054 0 : if (!SWIG_IsOK(res1)) {
42055 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42056 : }
42057 0 : arg1 = (cgiRequestObj *)(argp1);
42058 0 : result = (char *) ((arg1)->postrequest);
42059 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42060 :
42061 0 : XSRETURN(argvi);
42062 0 : fail:
42063 :
42064 0 : SWIG_croak_null();
42065 : }
42066 : }
42067 :
42068 :
42069 0 : XS(_wrap_OWSRequest_httpcookiedata_set) {
42070 : {
42071 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42072 : char *arg2 = (char *) 0 ;
42073 0 : void *argp1 = 0 ;
42074 : int res1 = 0 ;
42075 : int res2 ;
42076 0 : char *buf2 = 0 ;
42077 0 : int alloc2 = 0 ;
42078 : int argvi = 0;
42079 0 : dXSARGS;
42080 :
42081 0 : if ((items < 2) || (items > 2)) {
42082 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_set(self,httpcookiedata);");
42083 : }
42084 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42085 0 : if (!SWIG_IsOK(res1)) {
42086 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42087 : }
42088 0 : arg1 = (cgiRequestObj *)(argp1);
42089 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42090 0 : if (!SWIG_IsOK(res2)) {
42091 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "2"" of type '" "char *""'");
42092 : }
42093 0 : arg2 = (char *)(buf2);
42094 : {
42095 0 : if (arg1->httpcookiedata) free((char*)arg1->httpcookiedata);
42096 0 : if (arg2) {
42097 0 : arg1->httpcookiedata = (char *) malloc(strlen(arg2)+1);
42098 : strcpy((char*)arg1->httpcookiedata,arg2);
42099 : } else {
42100 0 : arg1->httpcookiedata = 0;
42101 : }
42102 : }
42103 0 : ST(argvi) = sv_newmortal();
42104 :
42105 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42106 0 : XSRETURN(argvi);
42107 0 : fail:
42108 :
42109 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42110 0 : SWIG_croak_null();
42111 : }
42112 : }
42113 :
42114 :
42115 0 : XS(_wrap_OWSRequest_httpcookiedata_get) {
42116 : {
42117 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42118 0 : void *argp1 = 0 ;
42119 : int res1 = 0 ;
42120 : int argvi = 0;
42121 : char *result = 0 ;
42122 0 : dXSARGS;
42123 :
42124 0 : if ((items < 1) || (items > 1)) {
42125 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_get(self);");
42126 : }
42127 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42128 0 : if (!SWIG_IsOK(res1)) {
42129 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42130 : }
42131 0 : arg1 = (cgiRequestObj *)(argp1);
42132 0 : result = (char *) ((arg1)->httpcookiedata);
42133 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42134 :
42135 0 : XSRETURN(argvi);
42136 0 : fail:
42137 :
42138 0 : SWIG_croak_null();
42139 : }
42140 : }
42141 :
42142 :
42143 1 : XS(_wrap_new_OWSRequest) {
42144 : {
42145 : int argvi = 0;
42146 : cgiRequestObj *result = 0 ;
42147 1 : dXSARGS;
42148 :
42149 1 : if ((items < 0) || (items > 0)) {
42150 0 : SWIG_croak("Usage: new_OWSRequest();");
42151 : }
42152 1 : result = (cgiRequestObj *)new_cgiRequestObj();
42153 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cgiRequestObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
42154 1 : XSRETURN(argvi);
42155 : fail:
42156 0 : SWIG_croak_null();
42157 : }
42158 : }
42159 :
42160 :
42161 1 : XS(_wrap_delete_OWSRequest) {
42162 : {
42163 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42164 1 : void *argp1 = 0 ;
42165 : int res1 = 0 ;
42166 : int argvi = 0;
42167 1 : dXSARGS;
42168 :
42169 1 : if ((items < 1) || (items > 1)) {
42170 0 : SWIG_croak("Usage: delete_OWSRequest(self);");
42171 : }
42172 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, SWIG_POINTER_DISOWN | 0 );
42173 1 : if (!SWIG_IsOK(res1)) {
42174 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OWSRequest" "', argument " "1"" of type '" "cgiRequestObj *""'");
42175 : }
42176 1 : arg1 = (cgiRequestObj *)(argp1);
42177 : delete_cgiRequestObj(arg1);
42178 1 : ST(argvi) = sv_newmortal();
42179 :
42180 1 : XSRETURN(argvi);
42181 0 : fail:
42182 :
42183 0 : SWIG_croak_null();
42184 : }
42185 : }
42186 :
42187 :
42188 0 : XS(_wrap_OWSRequest_loadParams) {
42189 : {
42190 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42191 0 : void *argp1 = 0 ;
42192 : int res1 = 0 ;
42193 : int argvi = 0;
42194 : int result;
42195 0 : dXSARGS;
42196 :
42197 0 : if ((items < 1) || (items > 1)) {
42198 0 : SWIG_croak("Usage: OWSRequest_loadParams(self);");
42199 : }
42200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42201 0 : if (!SWIG_IsOK(res1)) {
42202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParams" "', argument " "1"" of type '" "cgiRequestObj *""'");
42203 : }
42204 0 : arg1 = (cgiRequestObj *)(argp1);
42205 : result = (int)cgiRequestObj_loadParams(arg1);
42206 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42207 :
42208 0 : XSRETURN(argvi);
42209 0 : fail:
42210 :
42211 0 : SWIG_croak_null();
42212 : }
42213 : }
42214 :
42215 :
42216 1 : XS(_wrap_OWSRequest_loadParamsFromURL) {
42217 : {
42218 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42219 : char *arg2 = (char *) 0 ;
42220 1 : void *argp1 = 0 ;
42221 : int res1 = 0 ;
42222 : int res2 ;
42223 1 : char *buf2 = 0 ;
42224 1 : int alloc2 = 0 ;
42225 : int argvi = 0;
42226 : int result;
42227 1 : dXSARGS;
42228 :
42229 1 : if ((items < 2) || (items > 2)) {
42230 0 : SWIG_croak("Usage: OWSRequest_loadParamsFromURL(self,url);");
42231 : }
42232 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42233 1 : if (!SWIG_IsOK(res1)) {
42234 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "1"" of type '" "cgiRequestObj *""'");
42235 : }
42236 1 : arg1 = (cgiRequestObj *)(argp1);
42237 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42238 1 : if (!SWIG_IsOK(res2)) {
42239 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "2"" of type '" "char const *""'");
42240 : }
42241 1 : arg2 = (char *)(buf2);
42242 : result = (int)cgiRequestObj_loadParamsFromURL(arg1,(char const *)arg2);
42243 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42244 :
42245 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42246 1 : XSRETURN(argvi);
42247 0 : fail:
42248 :
42249 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42250 0 : SWIG_croak_null();
42251 : }
42252 : }
42253 :
42254 :
42255 0 : XS(_wrap_OWSRequest_setParameter) {
42256 : {
42257 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42258 : char *arg2 = (char *) 0 ;
42259 : char *arg3 = (char *) 0 ;
42260 0 : void *argp1 = 0 ;
42261 : int res1 = 0 ;
42262 : int res2 ;
42263 0 : char *buf2 = 0 ;
42264 0 : int alloc2 = 0 ;
42265 : int res3 ;
42266 0 : char *buf3 = 0 ;
42267 0 : int alloc3 = 0 ;
42268 : int argvi = 0;
42269 0 : dXSARGS;
42270 :
42271 0 : if ((items < 3) || (items > 3)) {
42272 0 : SWIG_croak("Usage: OWSRequest_setParameter(self,name,value);");
42273 : }
42274 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42275 0 : if (!SWIG_IsOK(res1)) {
42276 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_setParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42277 : }
42278 0 : arg1 = (cgiRequestObj *)(argp1);
42279 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42280 0 : if (!SWIG_IsOK(res2)) {
42281 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_setParameter" "', argument " "2"" of type '" "char *""'");
42282 : }
42283 0 : arg2 = (char *)(buf2);
42284 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42285 0 : if (!SWIG_IsOK(res3)) {
42286 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_setParameter" "', argument " "3"" of type '" "char *""'");
42287 : }
42288 0 : arg3 = (char *)(buf3);
42289 0 : cgiRequestObj_setParameter(arg1,arg2,arg3);
42290 0 : ST(argvi) = sv_newmortal();
42291 :
42292 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42293 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42294 0 : XSRETURN(argvi);
42295 0 : fail:
42296 :
42297 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42298 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42299 0 : SWIG_croak_null();
42300 : }
42301 : }
42302 :
42303 :
42304 0 : XS(_wrap_OWSRequest_addParameter) {
42305 : {
42306 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42307 : char *arg2 = (char *) 0 ;
42308 : char *arg3 = (char *) 0 ;
42309 0 : void *argp1 = 0 ;
42310 : int res1 = 0 ;
42311 : int res2 ;
42312 0 : char *buf2 = 0 ;
42313 0 : int alloc2 = 0 ;
42314 : int res3 ;
42315 0 : char *buf3 = 0 ;
42316 0 : int alloc3 = 0 ;
42317 : int argvi = 0;
42318 0 : dXSARGS;
42319 :
42320 0 : if ((items < 3) || (items > 3)) {
42321 0 : SWIG_croak("Usage: OWSRequest_addParameter(self,name,value);");
42322 : }
42323 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42324 0 : if (!SWIG_IsOK(res1)) {
42325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_addParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42326 : }
42327 0 : arg1 = (cgiRequestObj *)(argp1);
42328 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42329 0 : if (!SWIG_IsOK(res2)) {
42330 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_addParameter" "', argument " "2"" of type '" "char *""'");
42331 : }
42332 0 : arg2 = (char *)(buf2);
42333 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42334 0 : if (!SWIG_IsOK(res3)) {
42335 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_addParameter" "', argument " "3"" of type '" "char *""'");
42336 : }
42337 0 : arg3 = (char *)(buf3);
42338 0 : cgiRequestObj_addParameter(arg1,arg2,arg3);
42339 0 : ST(argvi) = sv_newmortal();
42340 :
42341 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42342 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42343 0 : XSRETURN(argvi);
42344 0 : fail:
42345 :
42346 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42347 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42348 0 : SWIG_croak_null();
42349 : }
42350 : }
42351 :
42352 :
42353 1 : XS(_wrap_OWSRequest_getName) {
42354 : {
42355 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42356 : int arg2 ;
42357 1 : void *argp1 = 0 ;
42358 : int res1 = 0 ;
42359 : int val2 ;
42360 : int ecode2 = 0 ;
42361 : int argvi = 0;
42362 : char *result = 0 ;
42363 1 : dXSARGS;
42364 :
42365 1 : if ((items < 2) || (items > 2)) {
42366 0 : SWIG_croak("Usage: OWSRequest_getName(self,index);");
42367 : }
42368 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42369 1 : if (!SWIG_IsOK(res1)) {
42370 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42371 : }
42372 1 : arg1 = (cgiRequestObj *)(argp1);
42373 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42374 1 : if (!SWIG_IsOK(ecode2)) {
42375 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getName" "', argument " "2"" of type '" "int""'");
42376 : }
42377 : arg2 = (int)(val2);
42378 1 : result = (char *)cgiRequestObj_getName(arg1,arg2);
42379 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42380 :
42381 :
42382 1 : XSRETURN(argvi);
42383 0 : fail:
42384 :
42385 :
42386 0 : SWIG_croak_null();
42387 : }
42388 : }
42389 :
42390 :
42391 1 : XS(_wrap_OWSRequest_getValue) {
42392 : {
42393 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42394 : int arg2 ;
42395 1 : void *argp1 = 0 ;
42396 : int res1 = 0 ;
42397 : int val2 ;
42398 : int ecode2 = 0 ;
42399 : int argvi = 0;
42400 : char *result = 0 ;
42401 1 : dXSARGS;
42402 :
42403 1 : if ((items < 2) || (items > 2)) {
42404 0 : SWIG_croak("Usage: OWSRequest_getValue(self,index);");
42405 : }
42406 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42407 1 : if (!SWIG_IsOK(res1)) {
42408 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValue" "', argument " "1"" of type '" "cgiRequestObj *""'");
42409 : }
42410 1 : arg1 = (cgiRequestObj *)(argp1);
42411 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42412 1 : if (!SWIG_IsOK(ecode2)) {
42413 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getValue" "', argument " "2"" of type '" "int""'");
42414 : }
42415 : arg2 = (int)(val2);
42416 1 : result = (char *)cgiRequestObj_getValue(arg1,arg2);
42417 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42418 :
42419 :
42420 1 : XSRETURN(argvi);
42421 0 : fail:
42422 :
42423 :
42424 0 : SWIG_croak_null();
42425 : }
42426 : }
42427 :
42428 :
42429 1 : XS(_wrap_OWSRequest_getValueByName) {
42430 : {
42431 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42432 : char *arg2 = (char *) 0 ;
42433 1 : void *argp1 = 0 ;
42434 : int res1 = 0 ;
42435 : int res2 ;
42436 1 : char *buf2 = 0 ;
42437 1 : int alloc2 = 0 ;
42438 : int argvi = 0;
42439 : char *result = 0 ;
42440 1 : dXSARGS;
42441 :
42442 1 : if ((items < 2) || (items > 2)) {
42443 0 : SWIG_croak("Usage: OWSRequest_getValueByName(self,name);");
42444 : }
42445 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42446 1 : if (!SWIG_IsOK(res1)) {
42447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValueByName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42448 : }
42449 1 : arg1 = (cgiRequestObj *)(argp1);
42450 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42451 1 : if (!SWIG_IsOK(res2)) {
42452 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_getValueByName" "', argument " "2"" of type '" "char const *""'");
42453 : }
42454 1 : arg2 = (char *)(buf2);
42455 1 : result = (char *)cgiRequestObj_getValueByName(arg1,(char const *)arg2);
42456 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42457 :
42458 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42459 1 : XSRETURN(argvi);
42460 0 : fail:
42461 :
42462 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42463 0 : SWIG_croak_null();
42464 : }
42465 : }
42466 :
42467 :
42468 0 : XS(_wrap_msConnPoolCloseUnreferenced) {
42469 : {
42470 : int argvi = 0;
42471 0 : dXSARGS;
42472 :
42473 0 : if ((items < 0) || (items > 0)) {
42474 0 : SWIG_croak("Usage: msConnPoolCloseUnreferenced();");
42475 : }
42476 0 : msConnPoolCloseUnreferenced();
42477 0 : ST(argvi) = sv_newmortal();
42478 0 : XSRETURN(argvi);
42479 : fail:
42480 0 : SWIG_croak_null();
42481 : }
42482 : }
42483 :
42484 :
42485 0 : XS(_wrap_msIO_resetHandlers) {
42486 : {
42487 : int argvi = 0;
42488 0 : dXSARGS;
42489 :
42490 0 : if ((items < 0) || (items > 0)) {
42491 0 : SWIG_croak("Usage: msIO_resetHandlers();");
42492 : }
42493 0 : msIO_resetHandlers();
42494 0 : ST(argvi) = sv_newmortal();
42495 0 : XSRETURN(argvi);
42496 : fail:
42497 0 : SWIG_croak_null();
42498 : }
42499 : }
42500 :
42501 :
42502 1 : XS(_wrap_msIO_installStdoutToBuffer) {
42503 : {
42504 : int argvi = 0;
42505 1 : dXSARGS;
42506 :
42507 1 : if ((items < 0) || (items > 0)) {
42508 0 : SWIG_croak("Usage: msIO_installStdoutToBuffer();");
42509 : }
42510 1 : msIO_installStdoutToBuffer();
42511 1 : ST(argvi) = sv_newmortal();
42512 1 : XSRETURN(argvi);
42513 : fail:
42514 0 : SWIG_croak_null();
42515 : }
42516 : }
42517 :
42518 :
42519 0 : XS(_wrap_msIO_installStdinFromBuffer) {
42520 : {
42521 : int argvi = 0;
42522 0 : dXSARGS;
42523 :
42524 0 : if ((items < 0) || (items > 0)) {
42525 0 : SWIG_croak("Usage: msIO_installStdinFromBuffer();");
42526 : }
42527 0 : msIO_installStdinFromBuffer();
42528 0 : ST(argvi) = sv_newmortal();
42529 0 : XSRETURN(argvi);
42530 : fail:
42531 0 : SWIG_croak_null();
42532 : }
42533 : }
42534 :
42535 :
42536 0 : XS(_wrap_msIO_stripStdoutBufferContentType) {
42537 : {
42538 : int argvi = 0;
42539 : char *result = 0 ;
42540 0 : dXSARGS;
42541 :
42542 0 : if ((items < 0) || (items > 0)) {
42543 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentType();");
42544 : }
42545 0 : result = (char *)msIO_stripStdoutBufferContentType();
42546 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42547 0 : free((char*)result);
42548 0 : XSRETURN(argvi);
42549 : fail:
42550 0 : SWIG_croak_null();
42551 : }
42552 : }
42553 :
42554 :
42555 0 : XS(_wrap_msIO_stripStdoutBufferContentHeaders) {
42556 : {
42557 : int argvi = 0;
42558 0 : dXSARGS;
42559 :
42560 0 : if ((items < 0) || (items > 0)) {
42561 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentHeaders();");
42562 : }
42563 0 : msIO_stripStdoutBufferContentHeaders();
42564 0 : ST(argvi) = sv_newmortal();
42565 0 : XSRETURN(argvi);
42566 : fail:
42567 0 : SWIG_croak_null();
42568 : }
42569 : }
42570 :
42571 :
42572 0 : XS(_wrap_msIO_getStdoutBufferString) {
42573 : {
42574 : int argvi = 0;
42575 : char *result = 0 ;
42576 0 : dXSARGS;
42577 :
42578 0 : if ((items < 0) || (items > 0)) {
42579 0 : SWIG_croak("Usage: msIO_getStdoutBufferString();");
42580 : }
42581 0 : result = (char *)msIO_getStdoutBufferString();
42582 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42583 0 : XSRETURN(argvi);
42584 : fail:
42585 0 : SWIG_croak_null();
42586 : }
42587 : }
42588 :
42589 :
42590 1 : XS(_wrap_msIO_getStdoutBufferBytes) {
42591 : {
42592 : int argvi = 0;
42593 : gdBuffer result;
42594 1 : dXSARGS;
42595 :
42596 1 : if ((items < 0) || (items > 0)) {
42597 0 : SWIG_croak("Usage: msIO_getStdoutBufferBytes();");
42598 : }
42599 1 : result = msIO_getStdoutBufferBytes();
42600 : {
42601 : SV *mysv;
42602 1 : mysv = sv_newmortal();
42603 1 : if ((&result)->data == NULL)
42604 0 : sv_setpv(mysv,"");
42605 : else
42606 1 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
42607 1 : ST(argvi) = newRV(mysv);
42608 1 : sv_2mortal(ST(argvi));
42609 : argvi++;
42610 1 : if( (&result)->owns_data )
42611 1 : msFree((&result)->data);
42612 : }
42613 1 : XSRETURN(argvi);
42614 : fail:
42615 0 : SWIG_croak_null();
42616 : }
42617 : }
42618 :
42619 :
42620 1 : XS(_wrap_msIO_getAndStripStdoutBufferMimeHeaders) {
42621 : {
42622 : int argvi = 0;
42623 : hashTableObj *result = 0 ;
42624 1 : dXSARGS;
42625 :
42626 1 : if ((items < 0) || (items > 0)) {
42627 0 : SWIG_croak("Usage: msIO_getAndStripStdoutBufferMimeHeaders();");
42628 : }
42629 1 : result = (hashTableObj *)msIO_getAndStripStdoutBufferMimeHeaders();
42630 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
42631 1 : XSRETURN(argvi);
42632 : fail:
42633 0 : SWIG_croak_null();
42634 : }
42635 : }
42636 :
42637 :
42638 :
42639 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42640 :
42641 0 : static void *_p_intarrayTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) {
42642 0 : return (void *)((int *) ((intarray *) x));
42643 : }
42644 : static swig_type_info _swigt__p_CompositingOperation = {"_p_CompositingOperation", "enum CompositingOperation *|CompositingOperation *", 0, 0, (void*)0, 0};
42645 : static swig_type_info _swigt__p_DBFFieldType = {"_p_DBFFieldType", "enum DBFFieldType *|DBFFieldType *", 0, 0, (void*)0, 0};
42646 : static swig_type_info _swigt__p_DBFInfo = {"_p_DBFInfo", "DBFInfo *", 0, 0, (void*)"mapscript::DBFInfo", 0};
42647 : static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
42648 : static swig_type_info _swigt__p__CompositingFilter = {"_p__CompositingFilter", "struct _CompositingFilter *|_CompositingFilter *|CompositingFilter *", 0, 0, (void*)"mapscript::CompositingFilter", 0};
42649 : static swig_type_info _swigt__p__LayerCompositer = {"_p__LayerCompositer", "struct _LayerCompositer *|_LayerCompositer *|LayerCompositer *", 0, 0, (void*)"mapscript::LayerCompositer", 0};
42650 : static swig_type_info _swigt__p_cgiRequestObj = {"_p_cgiRequestObj", "cgiRequestObj *", 0, 0, (void*)"mapscript::OWSRequest", 0};
42651 : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
42652 : static swig_type_info _swigt__p_classObj = {"_p_classObj", "classObj *|struct classObj *", 0, 0, (void*)"mapscript::classObj", 0};
42653 : static swig_type_info _swigt__p_clusterObj = {"_p_clusterObj", "clusterObj *", 0, 0, (void*)"mapscript::clusterObj", 0};
42654 : static swig_type_info _swigt__p_colorObj = {"_p_colorObj", "colorObj *", 0, 0, (void*)"mapscript::colorObj", 0};
42655 : static swig_type_info _swigt__p_debugLevel = {"_p_debugLevel", "enum debugLevel *|debugLevel *", 0, 0, (void*)0, 0};
42656 : static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
42657 : static swig_type_info _swigt__p_errorObj = {"_p_errorObj", "struct errorObj *|errorObj *", 0, 0, (void*)"mapscript::errorObj", 0};
42658 : static swig_type_info _swigt__p_expressionObj = {"_p_expressionObj", "expressionObj *", 0, 0, (void*)0, 0};
42659 : static swig_type_info _swigt__p_fontSetObj = {"_p_fontSetObj", "fontSetObj *", 0, 0, (void*)"mapscript::fontSetObj", 0};
42660 : static swig_type_info _swigt__p_hashTableObj = {"_p_hashTableObj", "hashTableObj *", 0, 0, (void*)"mapscript::hashTableObj", 0};
42661 : static swig_type_info _swigt__p_imageObj = {"_p_imageObj", "imageObj *|struct imageObj *", 0, 0, (void*)"mapscript::imageObj", 0};
42662 : static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
42663 : static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|ms_int32 *", 0, 0, (void*)0, 0};
42664 : static swig_type_info _swigt__p_intarray = {"_p_intarray", "intarray *", 0, 0, (void*)"mapscript::intarray", 0};
42665 : static swig_type_info _swigt__p_labelCacheMemberObj = {"_p_labelCacheMemberObj", "labelCacheMemberObj *", 0, 0, (void*)"mapscript::labelCacheMemberObj", 0};
42666 : static swig_type_info _swigt__p_labelCacheObj = {"_p_labelCacheObj", "labelCacheObj *", 0, 0, (void*)"mapscript::labelCacheObj", 0};
42667 : static swig_type_info _swigt__p_labelCacheSlotObj = {"_p_labelCacheSlotObj", "labelCacheSlotObj *", 0, 0, (void*)"mapscript::labelCacheSlotObj", 0};
42668 : static swig_type_info _swigt__p_labelLeaderObj = {"_p_labelLeaderObj", "labelLeaderObj *", 0, 0, (void*)"mapscript::labelLeaderObj", 0};
42669 : static swig_type_info _swigt__p_labelObj = {"_p_labelObj", "struct labelObj *|labelObj *", 0, 0, (void*)"mapscript::labelObj", 0};
42670 : static swig_type_info _swigt__p_layerObj = {"_p_layerObj", "struct layerObj *|layerObj *", 0, 0, (void*)"mapscript::layerObj", 0};
42671 : static swig_type_info _swigt__p_legendObj = {"_p_legendObj", "legendObj *", 0, 0, (void*)"mapscript::legendObj", 0};
42672 : static swig_type_info _swigt__p_lineObj = {"_p_lineObj", "lineObj *|multipointObj *", 0, 0, (void*)"mapscript::lineObj", 0};
42673 : static swig_type_info _swigt__p_mapObj = {"_p_mapObj", "struct mapObj *|mapObj *", 0, 0, (void*)"mapscript::mapObj", 0};
42674 : static swig_type_info _swigt__p_markerCacheMemberObj = {"_p_markerCacheMemberObj", "markerCacheMemberObj *", 0, 0, (void*)"mapscript::markerCacheMemberObj", 0};
42675 : static swig_type_info _swigt__p_outputFormatObj = {"_p_outputFormatObj", "outputFormatObj *", 0, 0, (void*)"mapscript::outputFormatObj", 0};
42676 : static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
42677 : static swig_type_info _swigt__p_p_labelCacheMemberObj = {"_p_p_labelCacheMemberObj", "labelCacheMemberObj **", 0, 0, (void*)0, 0};
42678 : static swig_type_info _swigt__p_p_textSymbolObj = {"_p_p_textSymbolObj", "textSymbolObj **", 0, 0, (void*)0, 0};
42679 : static swig_type_info _swigt__p_pointObj = {"_p_pointObj", "pointObj *", 0, 0, (void*)"mapscript::pointObj", 0};
42680 : static swig_type_info _swigt__p_projectionContext = {"_p_projectionContext", "struct projectionContext *|projectionContext *", 0, 0, (void*)0, 0};
42681 : static swig_type_info _swigt__p_projectionObj = {"_p_projectionObj", "projectionObj *", 0, 0, (void*)"mapscript::projectionObj", 0};
42682 : static swig_type_info _swigt__p_queryMapObj = {"_p_queryMapObj", "queryMapObj *", 0, 0, (void*)"mapscript::queryMapObj", 0};
42683 : static swig_type_info _swigt__p_rectObj = {"_p_rectObj", "rectObj *", 0, 0, (void*)"mapscript::rectObj", 0};
42684 : static swig_type_info _swigt__p_referenceMapObj = {"_p_referenceMapObj", "referenceMapObj *", 0, 0, (void*)"mapscript::referenceMapObj", 0};
42685 : static swig_type_info _swigt__p_resultCacheObj = {"_p_resultCacheObj", "resultCacheObj *", 0, 0, (void*)"mapscript::resultCacheObj", 0};
42686 : static swig_type_info _swigt__p_resultObj = {"_p_resultObj", "resultObj *", 0, 0, (void*)"mapscript::resultObj", 0};
42687 : static swig_type_info _swigt__p_scaleTokenEntryObj = {"_p_scaleTokenEntryObj", "scaleTokenEntryObj *", 0, 0, (void*)"mapscript::scaleTokenEntryObj", 0};
42688 : static swig_type_info _swigt__p_scaleTokenObj = {"_p_scaleTokenObj", "scaleTokenObj *", 0, 0, (void*)"mapscript::scaleTokenObj", 0};
42689 : static swig_type_info _swigt__p_scalebarObj = {"_p_scalebarObj", "scalebarObj *", 0, 0, (void*)"mapscript::scalebarObj", 0};
42690 : static swig_type_info _swigt__p_shapeObj = {"_p_shapeObj", "shapeObj *", 0, 0, (void*)"mapscript::shapeObj", 0};
42691 : static swig_type_info _swigt__p_shapefileObj = {"_p_shapefileObj", "shapefileObj *", 0, 0, (void*)"mapscript::shapefileObj", 0};
42692 : static swig_type_info _swigt__p_styleObj = {"_p_styleObj", "struct styleObj *|styleObj *", 0, 0, (void*)"mapscript::styleObj", 0};
42693 : static swig_type_info _swigt__p_symbolObj = {"_p_symbolObj", "symbolObj *|struct symbolObj *", 0, 0, (void*)"mapscript::symbolObj", 0};
42694 : static swig_type_info _swigt__p_symbolSetObj = {"_p_symbolSetObj", "symbolSetObj *", 0, 0, (void*)"mapscript::symbolSetObj", 0};
42695 : static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|ms_uint32 *", 0, 0, (void*)0, 0};
42696 : static swig_type_info _swigt__p_webObj = {"_p_webObj", "webObj *", 0, 0, (void*)"mapscript::webObj", 0};
42697 :
42698 : static swig_type_info *swig_type_initial[] = {
42699 : &_swigt__p_CompositingOperation,
42700 : &_swigt__p_DBFFieldType,
42701 : &_swigt__p_DBFInfo,
42702 : &_swigt__p_FILE,
42703 : &_swigt__p__CompositingFilter,
42704 : &_swigt__p__LayerCompositer,
42705 : &_swigt__p_cgiRequestObj,
42706 : &_swigt__p_char,
42707 : &_swigt__p_classObj,
42708 : &_swigt__p_clusterObj,
42709 : &_swigt__p_colorObj,
42710 : &_swigt__p_debugLevel,
42711 : &_swigt__p_double,
42712 : &_swigt__p_errorObj,
42713 : &_swigt__p_expressionObj,
42714 : &_swigt__p_fontSetObj,
42715 : &_swigt__p_hashTableObj,
42716 : &_swigt__p_imageObj,
42717 : &_swigt__p_int,
42718 : &_swigt__p_int32_t,
42719 : &_swigt__p_intarray,
42720 : &_swigt__p_labelCacheMemberObj,
42721 : &_swigt__p_labelCacheObj,
42722 : &_swigt__p_labelCacheSlotObj,
42723 : &_swigt__p_labelLeaderObj,
42724 : &_swigt__p_labelObj,
42725 : &_swigt__p_layerObj,
42726 : &_swigt__p_legendObj,
42727 : &_swigt__p_lineObj,
42728 : &_swigt__p_mapObj,
42729 : &_swigt__p_markerCacheMemberObj,
42730 : &_swigt__p_outputFormatObj,
42731 : &_swigt__p_p_char,
42732 : &_swigt__p_p_labelCacheMemberObj,
42733 : &_swigt__p_p_textSymbolObj,
42734 : &_swigt__p_pointObj,
42735 : &_swigt__p_projectionContext,
42736 : &_swigt__p_projectionObj,
42737 : &_swigt__p_queryMapObj,
42738 : &_swigt__p_rectObj,
42739 : &_swigt__p_referenceMapObj,
42740 : &_swigt__p_resultCacheObj,
42741 : &_swigt__p_resultObj,
42742 : &_swigt__p_scaleTokenEntryObj,
42743 : &_swigt__p_scaleTokenObj,
42744 : &_swigt__p_scalebarObj,
42745 : &_swigt__p_shapeObj,
42746 : &_swigt__p_shapefileObj,
42747 : &_swigt__p_styleObj,
42748 : &_swigt__p_symbolObj,
42749 : &_swigt__p_symbolSetObj,
42750 : &_swigt__p_uint32_t,
42751 : &_swigt__p_webObj,
42752 : };
42753 :
42754 : static swig_cast_info _swigc__p_CompositingOperation[] = { {&_swigt__p_CompositingOperation, 0, 0, 0},{0, 0, 0, 0}};
42755 : static swig_cast_info _swigc__p_DBFFieldType[] = { {&_swigt__p_DBFFieldType, 0, 0, 0},{0, 0, 0, 0}};
42756 : static swig_cast_info _swigc__p_DBFInfo[] = { {&_swigt__p_DBFInfo, 0, 0, 0},{0, 0, 0, 0}};
42757 : static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
42758 : static swig_cast_info _swigc__p__CompositingFilter[] = { {&_swigt__p__CompositingFilter, 0, 0, 0},{0, 0, 0, 0}};
42759 : static swig_cast_info _swigc__p__LayerCompositer[] = { {&_swigt__p__LayerCompositer, 0, 0, 0},{0, 0, 0, 0}};
42760 : static swig_cast_info _swigc__p_cgiRequestObj[] = { {&_swigt__p_cgiRequestObj, 0, 0, 0},{0, 0, 0, 0}};
42761 : static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
42762 : static swig_cast_info _swigc__p_classObj[] = { {&_swigt__p_classObj, 0, 0, 0},{0, 0, 0, 0}};
42763 : static swig_cast_info _swigc__p_clusterObj[] = { {&_swigt__p_clusterObj, 0, 0, 0},{0, 0, 0, 0}};
42764 : static swig_cast_info _swigc__p_colorObj[] = { {&_swigt__p_colorObj, 0, 0, 0},{0, 0, 0, 0}};
42765 : static swig_cast_info _swigc__p_debugLevel[] = { {&_swigt__p_debugLevel, 0, 0, 0},{0, 0, 0, 0}};
42766 : static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
42767 : static swig_cast_info _swigc__p_errorObj[] = { {&_swigt__p_errorObj, 0, 0, 0},{0, 0, 0, 0}};
42768 : static swig_cast_info _swigc__p_expressionObj[] = { {&_swigt__p_expressionObj, 0, 0, 0},{0, 0, 0, 0}};
42769 : static swig_cast_info _swigc__p_fontSetObj[] = { {&_swigt__p_fontSetObj, 0, 0, 0},{0, 0, 0, 0}};
42770 : static swig_cast_info _swigc__p_hashTableObj[] = { {&_swigt__p_hashTableObj, 0, 0, 0},{0, 0, 0, 0}};
42771 : static swig_cast_info _swigc__p_imageObj[] = { {&_swigt__p_imageObj, 0, 0, 0},{0, 0, 0, 0}};
42772 : static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0}, {&_swigt__p_intarray, _p_intarrayTo_p_int, 0, 0},{0, 0, 0, 0}};
42773 : static swig_cast_info _swigc__p_int32_t[] = { {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
42774 : static swig_cast_info _swigc__p_intarray[] = { {&_swigt__p_intarray, 0, 0, 0},{0, 0, 0, 0}};
42775 : static swig_cast_info _swigc__p_labelCacheMemberObj[] = { {&_swigt__p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42776 : static swig_cast_info _swigc__p_labelCacheObj[] = { {&_swigt__p_labelCacheObj, 0, 0, 0},{0, 0, 0, 0}};
42777 : static swig_cast_info _swigc__p_labelCacheSlotObj[] = { {&_swigt__p_labelCacheSlotObj, 0, 0, 0},{0, 0, 0, 0}};
42778 : static swig_cast_info _swigc__p_labelLeaderObj[] = { {&_swigt__p_labelLeaderObj, 0, 0, 0},{0, 0, 0, 0}};
42779 : static swig_cast_info _swigc__p_labelObj[] = { {&_swigt__p_labelObj, 0, 0, 0},{0, 0, 0, 0}};
42780 : static swig_cast_info _swigc__p_layerObj[] = { {&_swigt__p_layerObj, 0, 0, 0},{0, 0, 0, 0}};
42781 : static swig_cast_info _swigc__p_legendObj[] = { {&_swigt__p_legendObj, 0, 0, 0},{0, 0, 0, 0}};
42782 : static swig_cast_info _swigc__p_lineObj[] = { {&_swigt__p_lineObj, 0, 0, 0},{0, 0, 0, 0}};
42783 : static swig_cast_info _swigc__p_mapObj[] = { {&_swigt__p_mapObj, 0, 0, 0},{0, 0, 0, 0}};
42784 : static swig_cast_info _swigc__p_markerCacheMemberObj[] = { {&_swigt__p_markerCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42785 : static swig_cast_info _swigc__p_outputFormatObj[] = { {&_swigt__p_outputFormatObj, 0, 0, 0},{0, 0, 0, 0}};
42786 : static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
42787 : static swig_cast_info _swigc__p_p_labelCacheMemberObj[] = { {&_swigt__p_p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42788 : static swig_cast_info _swigc__p_p_textSymbolObj[] = { {&_swigt__p_p_textSymbolObj, 0, 0, 0},{0, 0, 0, 0}};
42789 : static swig_cast_info _swigc__p_pointObj[] = { {&_swigt__p_pointObj, 0, 0, 0},{0, 0, 0, 0}};
42790 : static swig_cast_info _swigc__p_projectionContext[] = { {&_swigt__p_projectionContext, 0, 0, 0},{0, 0, 0, 0}};
42791 : static swig_cast_info _swigc__p_projectionObj[] = { {&_swigt__p_projectionObj, 0, 0, 0},{0, 0, 0, 0}};
42792 : static swig_cast_info _swigc__p_queryMapObj[] = { {&_swigt__p_queryMapObj, 0, 0, 0},{0, 0, 0, 0}};
42793 : static swig_cast_info _swigc__p_rectObj[] = { {&_swigt__p_rectObj, 0, 0, 0},{0, 0, 0, 0}};
42794 : static swig_cast_info _swigc__p_referenceMapObj[] = { {&_swigt__p_referenceMapObj, 0, 0, 0},{0, 0, 0, 0}};
42795 : static swig_cast_info _swigc__p_resultCacheObj[] = { {&_swigt__p_resultCacheObj, 0, 0, 0},{0, 0, 0, 0}};
42796 : static swig_cast_info _swigc__p_resultObj[] = { {&_swigt__p_resultObj, 0, 0, 0},{0, 0, 0, 0}};
42797 : static swig_cast_info _swigc__p_scaleTokenEntryObj[] = { {&_swigt__p_scaleTokenEntryObj, 0, 0, 0},{0, 0, 0, 0}};
42798 : static swig_cast_info _swigc__p_scaleTokenObj[] = { {&_swigt__p_scaleTokenObj, 0, 0, 0},{0, 0, 0, 0}};
42799 : static swig_cast_info _swigc__p_scalebarObj[] = { {&_swigt__p_scalebarObj, 0, 0, 0},{0, 0, 0, 0}};
42800 : static swig_cast_info _swigc__p_shapeObj[] = { {&_swigt__p_shapeObj, 0, 0, 0},{0, 0, 0, 0}};
42801 : static swig_cast_info _swigc__p_shapefileObj[] = { {&_swigt__p_shapefileObj, 0, 0, 0},{0, 0, 0, 0}};
42802 : static swig_cast_info _swigc__p_styleObj[] = { {&_swigt__p_styleObj, 0, 0, 0},{0, 0, 0, 0}};
42803 : static swig_cast_info _swigc__p_symbolObj[] = { {&_swigt__p_symbolObj, 0, 0, 0},{0, 0, 0, 0}};
42804 : static swig_cast_info _swigc__p_symbolSetObj[] = { {&_swigt__p_symbolSetObj, 0, 0, 0},{0, 0, 0, 0}};
42805 : static swig_cast_info _swigc__p_uint32_t[] = { {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
42806 : static swig_cast_info _swigc__p_webObj[] = { {&_swigt__p_webObj, 0, 0, 0},{0, 0, 0, 0}};
42807 :
42808 : static swig_cast_info *swig_cast_initial[] = {
42809 : _swigc__p_CompositingOperation,
42810 : _swigc__p_DBFFieldType,
42811 : _swigc__p_DBFInfo,
42812 : _swigc__p_FILE,
42813 : _swigc__p__CompositingFilter,
42814 : _swigc__p__LayerCompositer,
42815 : _swigc__p_cgiRequestObj,
42816 : _swigc__p_char,
42817 : _swigc__p_classObj,
42818 : _swigc__p_clusterObj,
42819 : _swigc__p_colorObj,
42820 : _swigc__p_debugLevel,
42821 : _swigc__p_double,
42822 : _swigc__p_errorObj,
42823 : _swigc__p_expressionObj,
42824 : _swigc__p_fontSetObj,
42825 : _swigc__p_hashTableObj,
42826 : _swigc__p_imageObj,
42827 : _swigc__p_int,
42828 : _swigc__p_int32_t,
42829 : _swigc__p_intarray,
42830 : _swigc__p_labelCacheMemberObj,
42831 : _swigc__p_labelCacheObj,
42832 : _swigc__p_labelCacheSlotObj,
42833 : _swigc__p_labelLeaderObj,
42834 : _swigc__p_labelObj,
42835 : _swigc__p_layerObj,
42836 : _swigc__p_legendObj,
42837 : _swigc__p_lineObj,
42838 : _swigc__p_mapObj,
42839 : _swigc__p_markerCacheMemberObj,
42840 : _swigc__p_outputFormatObj,
42841 : _swigc__p_p_char,
42842 : _swigc__p_p_labelCacheMemberObj,
42843 : _swigc__p_p_textSymbolObj,
42844 : _swigc__p_pointObj,
42845 : _swigc__p_projectionContext,
42846 : _swigc__p_projectionObj,
42847 : _swigc__p_queryMapObj,
42848 : _swigc__p_rectObj,
42849 : _swigc__p_referenceMapObj,
42850 : _swigc__p_resultCacheObj,
42851 : _swigc__p_resultObj,
42852 : _swigc__p_scaleTokenEntryObj,
42853 : _swigc__p_scaleTokenObj,
42854 : _swigc__p_scalebarObj,
42855 : _swigc__p_shapeObj,
42856 : _swigc__p_shapefileObj,
42857 : _swigc__p_styleObj,
42858 : _swigc__p_symbolObj,
42859 : _swigc__p_symbolSetObj,
42860 : _swigc__p_uint32_t,
42861 : _swigc__p_webObj,
42862 : };
42863 :
42864 :
42865 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42866 :
42867 : static swig_constant_info swig_constants[] = {
42868 : {0,0,0,0,0,0}
42869 : };
42870 : #ifdef __cplusplus
42871 : }
42872 : #endif
42873 : static swig_variable_info swig_variables[] = {
42874 : {0,0,0,0}
42875 : };
42876 : static swig_command_info swig_commands[] = {
42877 : {"mapscriptc::new_intarray", _wrap_new_intarray},
42878 : {"mapscriptc::delete_intarray", _wrap_delete_intarray},
42879 : {"mapscriptc::intarray_getitem", _wrap_intarray_getitem},
42880 : {"mapscriptc::intarray_setitem", _wrap_intarray_setitem},
42881 : {"mapscriptc::intarray_cast", _wrap_intarray_cast},
42882 : {"mapscriptc::intarray_frompointer", _wrap_intarray_frompointer},
42883 : {"mapscriptc::CompositingFilter_filter_set", _wrap_CompositingFilter_filter_set},
42884 : {"mapscriptc::CompositingFilter_filter_get", _wrap_CompositingFilter_filter_get},
42885 : {"mapscriptc::CompositingFilter_next_set", _wrap_CompositingFilter_next_set},
42886 : {"mapscriptc::CompositingFilter_next_get", _wrap_CompositingFilter_next_get},
42887 : {"mapscriptc::new_CompositingFilter", _wrap_new_CompositingFilter},
42888 : {"mapscriptc::delete_CompositingFilter", _wrap_delete_CompositingFilter},
42889 : {"mapscriptc::LayerCompositer_comp_op_set", _wrap_LayerCompositer_comp_op_set},
42890 : {"mapscriptc::LayerCompositer_comp_op_get", _wrap_LayerCompositer_comp_op_get},
42891 : {"mapscriptc::LayerCompositer_opacity_set", _wrap_LayerCompositer_opacity_set},
42892 : {"mapscriptc::LayerCompositer_opacity_get", _wrap_LayerCompositer_opacity_get},
42893 : {"mapscriptc::LayerCompositer_filter_set", _wrap_LayerCompositer_filter_set},
42894 : {"mapscriptc::LayerCompositer_filter_get", _wrap_LayerCompositer_filter_get},
42895 : {"mapscriptc::LayerCompositer_next_set", _wrap_LayerCompositer_next_set},
42896 : {"mapscriptc::LayerCompositer_next_get", _wrap_LayerCompositer_next_get},
42897 : {"mapscriptc::new_LayerCompositer", _wrap_new_LayerCompositer},
42898 : {"mapscriptc::delete_LayerCompositer", _wrap_delete_LayerCompositer},
42899 : {"mapscriptc::fontSetObj_filename_get", _wrap_fontSetObj_filename_get},
42900 : {"mapscriptc::fontSetObj_numfonts_get", _wrap_fontSetObj_numfonts_get},
42901 : {"mapscriptc::fontSetObj_fonts_get", _wrap_fontSetObj_fonts_get},
42902 : {"mapscriptc::new_fontSetObj", _wrap_new_fontSetObj},
42903 : {"mapscriptc::delete_fontSetObj", _wrap_delete_fontSetObj},
42904 : {"mapscriptc::clusterObj_maxdistance_set", _wrap_clusterObj_maxdistance_set},
42905 : {"mapscriptc::clusterObj_maxdistance_get", _wrap_clusterObj_maxdistance_get},
42906 : {"mapscriptc::clusterObj_buffer_set", _wrap_clusterObj_buffer_set},
42907 : {"mapscriptc::clusterObj_buffer_get", _wrap_clusterObj_buffer_get},
42908 : {"mapscriptc::clusterObj_region_set", _wrap_clusterObj_region_set},
42909 : {"mapscriptc::clusterObj_region_get", _wrap_clusterObj_region_get},
42910 : {"mapscriptc::clusterObj_updateFromString", _wrap_clusterObj_updateFromString},
42911 : {"mapscriptc::clusterObj_convertToString", _wrap_clusterObj_convertToString},
42912 : {"mapscriptc::clusterObj_setGroup", _wrap_clusterObj_setGroup},
42913 : {"mapscriptc::clusterObj_getGroupString", _wrap_clusterObj_getGroupString},
42914 : {"mapscriptc::clusterObj_setFilter", _wrap_clusterObj_setFilter},
42915 : {"mapscriptc::clusterObj_getFilterString", _wrap_clusterObj_getFilterString},
42916 : {"mapscriptc::new_clusterObj", _wrap_new_clusterObj},
42917 : {"mapscriptc::delete_clusterObj", _wrap_delete_clusterObj},
42918 : {"mapscriptc::outputFormatObj_numformatoptions_get", _wrap_outputFormatObj_numformatoptions_get},
42919 : {"mapscriptc::outputFormatObj_name_set", _wrap_outputFormatObj_name_set},
42920 : {"mapscriptc::outputFormatObj_name_get", _wrap_outputFormatObj_name_get},
42921 : {"mapscriptc::outputFormatObj_mimetype_set", _wrap_outputFormatObj_mimetype_set},
42922 : {"mapscriptc::outputFormatObj_mimetype_get", _wrap_outputFormatObj_mimetype_get},
42923 : {"mapscriptc::outputFormatObj_driver_set", _wrap_outputFormatObj_driver_set},
42924 : {"mapscriptc::outputFormatObj_driver_get", _wrap_outputFormatObj_driver_get},
42925 : {"mapscriptc::outputFormatObj_extension_set", _wrap_outputFormatObj_extension_set},
42926 : {"mapscriptc::outputFormatObj_extension_get", _wrap_outputFormatObj_extension_get},
42927 : {"mapscriptc::outputFormatObj_renderer_set", _wrap_outputFormatObj_renderer_set},
42928 : {"mapscriptc::outputFormatObj_renderer_get", _wrap_outputFormatObj_renderer_get},
42929 : {"mapscriptc::outputFormatObj_imagemode_set", _wrap_outputFormatObj_imagemode_set},
42930 : {"mapscriptc::outputFormatObj_imagemode_get", _wrap_outputFormatObj_imagemode_get},
42931 : {"mapscriptc::outputFormatObj_transparent_set", _wrap_outputFormatObj_transparent_set},
42932 : {"mapscriptc::outputFormatObj_transparent_get", _wrap_outputFormatObj_transparent_get},
42933 : {"mapscriptc::outputFormatObj_bands_set", _wrap_outputFormatObj_bands_set},
42934 : {"mapscriptc::outputFormatObj_bands_get", _wrap_outputFormatObj_bands_get},
42935 : {"mapscriptc::outputFormatObj_inmapfile_set", _wrap_outputFormatObj_inmapfile_set},
42936 : {"mapscriptc::outputFormatObj_inmapfile_get", _wrap_outputFormatObj_inmapfile_get},
42937 : {"mapscriptc::new_outputFormatObj", _wrap_new_outputFormatObj},
42938 : {"mapscriptc::delete_outputFormatObj", _wrap_delete_outputFormatObj},
42939 : {"mapscriptc::outputFormatObj_setExtension", _wrap_outputFormatObj_setExtension},
42940 : {"mapscriptc::outputFormatObj_setMimetype", _wrap_outputFormatObj_setMimetype},
42941 : {"mapscriptc::outputFormatObj_setOption", _wrap_outputFormatObj_setOption},
42942 : {"mapscriptc::outputFormatObj_validate", _wrap_outputFormatObj_validate},
42943 : {"mapscriptc::outputFormatObj_getOption", _wrap_outputFormatObj_getOption},
42944 : {"mapscriptc::outputFormatObj_getOptionAt", _wrap_outputFormatObj_getOptionAt},
42945 : {"mapscriptc::outputFormatObj_attachDevice", _wrap_outputFormatObj_attachDevice},
42946 : {"mapscriptc::queryMapObj_height_set", _wrap_queryMapObj_height_set},
42947 : {"mapscriptc::queryMapObj_height_get", _wrap_queryMapObj_height_get},
42948 : {"mapscriptc::queryMapObj_width_set", _wrap_queryMapObj_width_set},
42949 : {"mapscriptc::queryMapObj_width_get", _wrap_queryMapObj_width_get},
42950 : {"mapscriptc::queryMapObj_status_set", _wrap_queryMapObj_status_set},
42951 : {"mapscriptc::queryMapObj_status_get", _wrap_queryMapObj_status_get},
42952 : {"mapscriptc::queryMapObj_style_set", _wrap_queryMapObj_style_set},
42953 : {"mapscriptc::queryMapObj_style_get", _wrap_queryMapObj_style_get},
42954 : {"mapscriptc::queryMapObj_color_set", _wrap_queryMapObj_color_set},
42955 : {"mapscriptc::queryMapObj_color_get", _wrap_queryMapObj_color_get},
42956 : {"mapscriptc::queryMapObj_updateFromString", _wrap_queryMapObj_updateFromString},
42957 : {"mapscriptc::queryMapObj_convertToString", _wrap_queryMapObj_convertToString},
42958 : {"mapscriptc::new_queryMapObj", _wrap_new_queryMapObj},
42959 : {"mapscriptc::delete_queryMapObj", _wrap_delete_queryMapObj},
42960 : {"mapscriptc::webObj_log_set", _wrap_webObj_log_set},
42961 : {"mapscriptc::webObj_log_get", _wrap_webObj_log_get},
42962 : {"mapscriptc::webObj_imagepath_set", _wrap_webObj_imagepath_set},
42963 : {"mapscriptc::webObj_imagepath_get", _wrap_webObj_imagepath_get},
42964 : {"mapscriptc::webObj_imageurl_set", _wrap_webObj_imageurl_set},
42965 : {"mapscriptc::webObj_imageurl_get", _wrap_webObj_imageurl_get},
42966 : {"mapscriptc::webObj_temppath_set", _wrap_webObj_temppath_set},
42967 : {"mapscriptc::webObj_temppath_get", _wrap_webObj_temppath_get},
42968 : {"mapscriptc::webObj_map_get", _wrap_webObj_map_get},
42969 : {"mapscriptc::webObj_template_set", _wrap_webObj_template_set},
42970 : {"mapscriptc::webObj_template_get", _wrap_webObj_template_get},
42971 : {"mapscriptc::webObj_header_set", _wrap_webObj_header_set},
42972 : {"mapscriptc::webObj_header_get", _wrap_webObj_header_get},
42973 : {"mapscriptc::webObj_footer_set", _wrap_webObj_footer_set},
42974 : {"mapscriptc::webObj_footer_get", _wrap_webObj_footer_get},
42975 : {"mapscriptc::webObj_empty_set", _wrap_webObj_empty_set},
42976 : {"mapscriptc::webObj_empty_get", _wrap_webObj_empty_get},
42977 : {"mapscriptc::webObj_error_set", _wrap_webObj_error_set},
42978 : {"mapscriptc::webObj_error_get", _wrap_webObj_error_get},
42979 : {"mapscriptc::webObj_extent_set", _wrap_webObj_extent_set},
42980 : {"mapscriptc::webObj_extent_get", _wrap_webObj_extent_get},
42981 : {"mapscriptc::webObj_minscaledenom_set", _wrap_webObj_minscaledenom_set},
42982 : {"mapscriptc::webObj_minscaledenom_get", _wrap_webObj_minscaledenom_get},
42983 : {"mapscriptc::webObj_maxscaledenom_set", _wrap_webObj_maxscaledenom_set},
42984 : {"mapscriptc::webObj_maxscaledenom_get", _wrap_webObj_maxscaledenom_get},
42985 : {"mapscriptc::webObj_mintemplate_set", _wrap_webObj_mintemplate_set},
42986 : {"mapscriptc::webObj_mintemplate_get", _wrap_webObj_mintemplate_get},
42987 : {"mapscriptc::webObj_maxtemplate_set", _wrap_webObj_maxtemplate_set},
42988 : {"mapscriptc::webObj_maxtemplate_get", _wrap_webObj_maxtemplate_get},
42989 : {"mapscriptc::webObj_queryformat_set", _wrap_webObj_queryformat_set},
42990 : {"mapscriptc::webObj_queryformat_get", _wrap_webObj_queryformat_get},
42991 : {"mapscriptc::webObj_legendformat_set", _wrap_webObj_legendformat_set},
42992 : {"mapscriptc::webObj_legendformat_get", _wrap_webObj_legendformat_get},
42993 : {"mapscriptc::webObj_browseformat_set", _wrap_webObj_browseformat_set},
42994 : {"mapscriptc::webObj_browseformat_get", _wrap_webObj_browseformat_get},
42995 : {"mapscriptc::webObj_metadata_get", _wrap_webObj_metadata_get},
42996 : {"mapscriptc::webObj_validation_get", _wrap_webObj_validation_get},
42997 : {"mapscriptc::new_webObj", _wrap_new_webObj},
42998 : {"mapscriptc::delete_webObj", _wrap_delete_webObj},
42999 : {"mapscriptc::webObj_updateFromString", _wrap_webObj_updateFromString},
43000 : {"mapscriptc::webObj_convertToString", _wrap_webObj_convertToString},
43001 : {"mapscriptc::styleObj_refcount_get", _wrap_styleObj_refcount_get},
43002 : {"mapscriptc::styleObj_symbolname_get", _wrap_styleObj_symbolname_get},
43003 : {"mapscriptc::styleObj_autoangle_set", _wrap_styleObj_autoangle_set},
43004 : {"mapscriptc::styleObj_autoangle_get", _wrap_styleObj_autoangle_get},
43005 : {"mapscriptc::styleObj_color_set", _wrap_styleObj_color_set},
43006 : {"mapscriptc::styleObj_color_get", _wrap_styleObj_color_get},
43007 : {"mapscriptc::styleObj_backgroundcolor_set", _wrap_styleObj_backgroundcolor_set},
43008 : {"mapscriptc::styleObj_backgroundcolor_get", _wrap_styleObj_backgroundcolor_get},
43009 : {"mapscriptc::styleObj_outlinecolor_set", _wrap_styleObj_outlinecolor_set},
43010 : {"mapscriptc::styleObj_outlinecolor_get", _wrap_styleObj_outlinecolor_get},
43011 : {"mapscriptc::styleObj_opacity_set", _wrap_styleObj_opacity_set},
43012 : {"mapscriptc::styleObj_opacity_get", _wrap_styleObj_opacity_get},
43013 : {"mapscriptc::styleObj_mincolor_set", _wrap_styleObj_mincolor_set},
43014 : {"mapscriptc::styleObj_mincolor_get", _wrap_styleObj_mincolor_get},
43015 : {"mapscriptc::styleObj_maxcolor_set", _wrap_styleObj_maxcolor_set},
43016 : {"mapscriptc::styleObj_maxcolor_get", _wrap_styleObj_maxcolor_get},
43017 : {"mapscriptc::styleObj_minvalue_set", _wrap_styleObj_minvalue_set},
43018 : {"mapscriptc::styleObj_minvalue_get", _wrap_styleObj_minvalue_get},
43019 : {"mapscriptc::styleObj_maxvalue_set", _wrap_styleObj_maxvalue_set},
43020 : {"mapscriptc::styleObj_maxvalue_get", _wrap_styleObj_maxvalue_get},
43021 : {"mapscriptc::styleObj_rangeitem_set", _wrap_styleObj_rangeitem_set},
43022 : {"mapscriptc::styleObj_rangeitem_get", _wrap_styleObj_rangeitem_get},
43023 : {"mapscriptc::styleObj_rangeitemindex_set", _wrap_styleObj_rangeitemindex_set},
43024 : {"mapscriptc::styleObj_rangeitemindex_get", _wrap_styleObj_rangeitemindex_get},
43025 : {"mapscriptc::styleObj_symbol_set", _wrap_styleObj_symbol_set},
43026 : {"mapscriptc::styleObj_symbol_get", _wrap_styleObj_symbol_get},
43027 : {"mapscriptc::styleObj_size_set", _wrap_styleObj_size_set},
43028 : {"mapscriptc::styleObj_size_get", _wrap_styleObj_size_get},
43029 : {"mapscriptc::styleObj_minsize_set", _wrap_styleObj_minsize_set},
43030 : {"mapscriptc::styleObj_minsize_get", _wrap_styleObj_minsize_get},
43031 : {"mapscriptc::styleObj_maxsize_set", _wrap_styleObj_maxsize_set},
43032 : {"mapscriptc::styleObj_maxsize_get", _wrap_styleObj_maxsize_get},
43033 : {"mapscriptc::styleObj_patternlength_set", _wrap_styleObj_patternlength_set},
43034 : {"mapscriptc::styleObj_patternlength_get", _wrap_styleObj_patternlength_get},
43035 : {"mapscriptc::styleObj_pattern_set", _wrap_styleObj_pattern_set},
43036 : {"mapscriptc::styleObj_pattern_get", _wrap_styleObj_pattern_get},
43037 : {"mapscriptc::styleObj_gap_set", _wrap_styleObj_gap_set},
43038 : {"mapscriptc::styleObj_gap_get", _wrap_styleObj_gap_get},
43039 : {"mapscriptc::styleObj_initialgap_set", _wrap_styleObj_initialgap_set},
43040 : {"mapscriptc::styleObj_initialgap_get", _wrap_styleObj_initialgap_get},
43041 : {"mapscriptc::styleObj_position_set", _wrap_styleObj_position_set},
43042 : {"mapscriptc::styleObj_position_get", _wrap_styleObj_position_get},
43043 : {"mapscriptc::styleObj_linecap_set", _wrap_styleObj_linecap_set},
43044 : {"mapscriptc::styleObj_linecap_get", _wrap_styleObj_linecap_get},
43045 : {"mapscriptc::styleObj_linejoin_set", _wrap_styleObj_linejoin_set},
43046 : {"mapscriptc::styleObj_linejoin_get", _wrap_styleObj_linejoin_get},
43047 : {"mapscriptc::styleObj_linejoinmaxsize_set", _wrap_styleObj_linejoinmaxsize_set},
43048 : {"mapscriptc::styleObj_linejoinmaxsize_get", _wrap_styleObj_linejoinmaxsize_get},
43049 : {"mapscriptc::styleObj_width_set", _wrap_styleObj_width_set},
43050 : {"mapscriptc::styleObj_width_get", _wrap_styleObj_width_get},
43051 : {"mapscriptc::styleObj_outlinewidth_set", _wrap_styleObj_outlinewidth_set},
43052 : {"mapscriptc::styleObj_outlinewidth_get", _wrap_styleObj_outlinewidth_get},
43053 : {"mapscriptc::styleObj_minwidth_set", _wrap_styleObj_minwidth_set},
43054 : {"mapscriptc::styleObj_minwidth_get", _wrap_styleObj_minwidth_get},
43055 : {"mapscriptc::styleObj_maxwidth_set", _wrap_styleObj_maxwidth_set},
43056 : {"mapscriptc::styleObj_maxwidth_get", _wrap_styleObj_maxwidth_get},
43057 : {"mapscriptc::styleObj_offsetx_set", _wrap_styleObj_offsetx_set},
43058 : {"mapscriptc::styleObj_offsetx_get", _wrap_styleObj_offsetx_get},
43059 : {"mapscriptc::styleObj_offsety_set", _wrap_styleObj_offsety_set},
43060 : {"mapscriptc::styleObj_offsety_get", _wrap_styleObj_offsety_get},
43061 : {"mapscriptc::styleObj_polaroffsetpixel_set", _wrap_styleObj_polaroffsetpixel_set},
43062 : {"mapscriptc::styleObj_polaroffsetpixel_get", _wrap_styleObj_polaroffsetpixel_get},
43063 : {"mapscriptc::styleObj_polaroffsetangle_set", _wrap_styleObj_polaroffsetangle_set},
43064 : {"mapscriptc::styleObj_polaroffsetangle_get", _wrap_styleObj_polaroffsetangle_get},
43065 : {"mapscriptc::styleObj_angle_set", _wrap_styleObj_angle_set},
43066 : {"mapscriptc::styleObj_angle_get", _wrap_styleObj_angle_get},
43067 : {"mapscriptc::styleObj_minscaledenom_set", _wrap_styleObj_minscaledenom_set},
43068 : {"mapscriptc::styleObj_minscaledenom_get", _wrap_styleObj_minscaledenom_get},
43069 : {"mapscriptc::styleObj_maxscaledenom_set", _wrap_styleObj_maxscaledenom_set},
43070 : {"mapscriptc::styleObj_maxscaledenom_get", _wrap_styleObj_maxscaledenom_get},
43071 : {"mapscriptc::styleObj_sizeunits_set", _wrap_styleObj_sizeunits_set},
43072 : {"mapscriptc::styleObj_sizeunits_get", _wrap_styleObj_sizeunits_get},
43073 : {"mapscriptc::new_styleObj", _wrap_new_styleObj},
43074 : {"mapscriptc::delete_styleObj", _wrap_delete_styleObj},
43075 : {"mapscriptc::styleObj_updateFromString", _wrap_styleObj_updateFromString},
43076 : {"mapscriptc::styleObj_convertToString", _wrap_styleObj_convertToString},
43077 : {"mapscriptc::styleObj_clone", _wrap_styleObj_clone},
43078 : {"mapscriptc::styleObj_setSymbolByName", _wrap_styleObj_setSymbolByName},
43079 : {"mapscriptc::styleObj_removeBinding", _wrap_styleObj_removeBinding},
43080 : {"mapscriptc::styleObj_setBinding", _wrap_styleObj_setBinding},
43081 : {"mapscriptc::styleObj_getBinding", _wrap_styleObj_getBinding},
43082 : {"mapscriptc::styleObj_getGeomTransform", _wrap_styleObj_getGeomTransform},
43083 : {"mapscriptc::styleObj_setGeomTransform", _wrap_styleObj_setGeomTransform},
43084 : {"mapscriptc::labelLeaderObj_maxdistance_set", _wrap_labelLeaderObj_maxdistance_set},
43085 : {"mapscriptc::labelLeaderObj_maxdistance_get", _wrap_labelLeaderObj_maxdistance_get},
43086 : {"mapscriptc::labelLeaderObj_gridstep_set", _wrap_labelLeaderObj_gridstep_set},
43087 : {"mapscriptc::labelLeaderObj_gridstep_get", _wrap_labelLeaderObj_gridstep_get},
43088 : {"mapscriptc::labelLeaderObj_numstyles_get", _wrap_labelLeaderObj_numstyles_get},
43089 : {"mapscriptc::new_labelLeaderObj", _wrap_new_labelLeaderObj},
43090 : {"mapscriptc::delete_labelLeaderObj", _wrap_delete_labelLeaderObj},
43091 : {"mapscriptc::labelObj_refcount_get", _wrap_labelObj_refcount_get},
43092 : {"mapscriptc::labelObj_font_set", _wrap_labelObj_font_set},
43093 : {"mapscriptc::labelObj_font_get", _wrap_labelObj_font_get},
43094 : {"mapscriptc::labelObj_color_set", _wrap_labelObj_color_set},
43095 : {"mapscriptc::labelObj_color_get", _wrap_labelObj_color_get},
43096 : {"mapscriptc::labelObj_outlinecolor_set", _wrap_labelObj_outlinecolor_set},
43097 : {"mapscriptc::labelObj_outlinecolor_get", _wrap_labelObj_outlinecolor_get},
43098 : {"mapscriptc::labelObj_outlinewidth_set", _wrap_labelObj_outlinewidth_set},
43099 : {"mapscriptc::labelObj_outlinewidth_get", _wrap_labelObj_outlinewidth_get},
43100 : {"mapscriptc::labelObj_shadowcolor_set", _wrap_labelObj_shadowcolor_set},
43101 : {"mapscriptc::labelObj_shadowcolor_get", _wrap_labelObj_shadowcolor_get},
43102 : {"mapscriptc::labelObj_shadowsizex_set", _wrap_labelObj_shadowsizex_set},
43103 : {"mapscriptc::labelObj_shadowsizex_get", _wrap_labelObj_shadowsizex_get},
43104 : {"mapscriptc::labelObj_shadowsizey_set", _wrap_labelObj_shadowsizey_set},
43105 : {"mapscriptc::labelObj_shadowsizey_get", _wrap_labelObj_shadowsizey_get},
43106 : {"mapscriptc::labelObj_size_set", _wrap_labelObj_size_set},
43107 : {"mapscriptc::labelObj_size_get", _wrap_labelObj_size_get},
43108 : {"mapscriptc::labelObj_minsize_set", _wrap_labelObj_minsize_set},
43109 : {"mapscriptc::labelObj_minsize_get", _wrap_labelObj_minsize_get},
43110 : {"mapscriptc::labelObj_maxsize_set", _wrap_labelObj_maxsize_set},
43111 : {"mapscriptc::labelObj_maxsize_get", _wrap_labelObj_maxsize_get},
43112 : {"mapscriptc::labelObj_position_set", _wrap_labelObj_position_set},
43113 : {"mapscriptc::labelObj_position_get", _wrap_labelObj_position_get},
43114 : {"mapscriptc::labelObj_offsetx_set", _wrap_labelObj_offsetx_set},
43115 : {"mapscriptc::labelObj_offsetx_get", _wrap_labelObj_offsetx_get},
43116 : {"mapscriptc::labelObj_offsety_set", _wrap_labelObj_offsety_set},
43117 : {"mapscriptc::labelObj_offsety_get", _wrap_labelObj_offsety_get},
43118 : {"mapscriptc::labelObj_angle_set", _wrap_labelObj_angle_set},
43119 : {"mapscriptc::labelObj_angle_get", _wrap_labelObj_angle_get},
43120 : {"mapscriptc::labelObj_anglemode_set", _wrap_labelObj_anglemode_set},
43121 : {"mapscriptc::labelObj_anglemode_get", _wrap_labelObj_anglemode_get},
43122 : {"mapscriptc::labelObj_buffer_set", _wrap_labelObj_buffer_set},
43123 : {"mapscriptc::labelObj_buffer_get", _wrap_labelObj_buffer_get},
43124 : {"mapscriptc::labelObj_align_set", _wrap_labelObj_align_set},
43125 : {"mapscriptc::labelObj_align_get", _wrap_labelObj_align_get},
43126 : {"mapscriptc::labelObj_wrap_set", _wrap_labelObj_wrap_set},
43127 : {"mapscriptc::labelObj_wrap_get", _wrap_labelObj_wrap_get},
43128 : {"mapscriptc::labelObj_maxlength_set", _wrap_labelObj_maxlength_set},
43129 : {"mapscriptc::labelObj_maxlength_get", _wrap_labelObj_maxlength_get},
43130 : {"mapscriptc::labelObj_minlength_set", _wrap_labelObj_minlength_set},
43131 : {"mapscriptc::labelObj_minlength_get", _wrap_labelObj_minlength_get},
43132 : {"mapscriptc::labelObj_space_size_10_set", _wrap_labelObj_space_size_10_set},
43133 : {"mapscriptc::labelObj_space_size_10_get", _wrap_labelObj_space_size_10_get},
43134 : {"mapscriptc::labelObj_minfeaturesize_set", _wrap_labelObj_minfeaturesize_set},
43135 : {"mapscriptc::labelObj_minfeaturesize_get", _wrap_labelObj_minfeaturesize_get},
43136 : {"mapscriptc::labelObj_autominfeaturesize_set", _wrap_labelObj_autominfeaturesize_set},
43137 : {"mapscriptc::labelObj_autominfeaturesize_get", _wrap_labelObj_autominfeaturesize_get},
43138 : {"mapscriptc::labelObj_minscaledenom_set", _wrap_labelObj_minscaledenom_set},
43139 : {"mapscriptc::labelObj_minscaledenom_get", _wrap_labelObj_minscaledenom_get},
43140 : {"mapscriptc::labelObj_maxscaledenom_set", _wrap_labelObj_maxscaledenom_set},
43141 : {"mapscriptc::labelObj_maxscaledenom_get", _wrap_labelObj_maxscaledenom_get},
43142 : {"mapscriptc::labelObj_mindistance_set", _wrap_labelObj_mindistance_set},
43143 : {"mapscriptc::labelObj_mindistance_get", _wrap_labelObj_mindistance_get},
43144 : {"mapscriptc::labelObj_repeatdistance_set", _wrap_labelObj_repeatdistance_set},
43145 : {"mapscriptc::labelObj_repeatdistance_get", _wrap_labelObj_repeatdistance_get},
43146 : {"mapscriptc::labelObj_maxoverlapangle_set", _wrap_labelObj_maxoverlapangle_set},
43147 : {"mapscriptc::labelObj_maxoverlapangle_get", _wrap_labelObj_maxoverlapangle_get},
43148 : {"mapscriptc::labelObj_partials_set", _wrap_labelObj_partials_set},
43149 : {"mapscriptc::labelObj_partials_get", _wrap_labelObj_partials_get},
43150 : {"mapscriptc::labelObj_force_set", _wrap_labelObj_force_set},
43151 : {"mapscriptc::labelObj_force_get", _wrap_labelObj_force_get},
43152 : {"mapscriptc::labelObj_encoding_set", _wrap_labelObj_encoding_set},
43153 : {"mapscriptc::labelObj_encoding_get", _wrap_labelObj_encoding_get},
43154 : {"mapscriptc::labelObj_priority_set", _wrap_labelObj_priority_set},
43155 : {"mapscriptc::labelObj_priority_get", _wrap_labelObj_priority_get},
43156 : {"mapscriptc::labelObj_numstyles_set", _wrap_labelObj_numstyles_set},
43157 : {"mapscriptc::labelObj_numstyles_get", _wrap_labelObj_numstyles_get},
43158 : {"mapscriptc::labelObj_leader_set", _wrap_labelObj_leader_set},
43159 : {"mapscriptc::labelObj_leader_get", _wrap_labelObj_leader_get},
43160 : {"mapscriptc::labelObj_sizeunits_set", _wrap_labelObj_sizeunits_set},
43161 : {"mapscriptc::labelObj_sizeunits_get", _wrap_labelObj_sizeunits_get},
43162 : {"mapscriptc::new_labelObj", _wrap_new_labelObj},
43163 : {"mapscriptc::delete_labelObj", _wrap_delete_labelObj},
43164 : {"mapscriptc::labelObj_updateFromString", _wrap_labelObj_updateFromString},
43165 : {"mapscriptc::labelObj_convertToString", _wrap_labelObj_convertToString},
43166 : {"mapscriptc::labelObj_removeBinding", _wrap_labelObj_removeBinding},
43167 : {"mapscriptc::labelObj_getBinding", _wrap_labelObj_getBinding},
43168 : {"mapscriptc::labelObj_setBinding", _wrap_labelObj_setBinding},
43169 : {"mapscriptc::labelObj_setExpression", _wrap_labelObj_setExpression},
43170 : {"mapscriptc::labelObj_getExpressionString", _wrap_labelObj_getExpressionString},
43171 : {"mapscriptc::labelObj_setText", _wrap_labelObj_setText},
43172 : {"mapscriptc::labelObj_getTextString", _wrap_labelObj_getTextString},
43173 : {"mapscriptc::labelObj_getStyle", _wrap_labelObj_getStyle},
43174 : {"mapscriptc::labelObj_insertStyle", _wrap_labelObj_insertStyle},
43175 : {"mapscriptc::labelObj_removeStyle", _wrap_labelObj_removeStyle},
43176 : {"mapscriptc::labelObj_moveStyleUp", _wrap_labelObj_moveStyleUp},
43177 : {"mapscriptc::labelObj_moveStyleDown", _wrap_labelObj_moveStyleDown},
43178 : {"mapscriptc::classObj_metadata_get", _wrap_classObj_metadata_get},
43179 : {"mapscriptc::classObj_validation_get", _wrap_classObj_validation_get},
43180 : {"mapscriptc::classObj_numstyles_get", _wrap_classObj_numstyles_get},
43181 : {"mapscriptc::classObj_numlabels_get", _wrap_classObj_numlabels_get},
43182 : {"mapscriptc::classObj_refcount_get", _wrap_classObj_refcount_get},
43183 : {"mapscriptc::classObj_layer_get", _wrap_classObj_layer_get},
43184 : {"mapscriptc::classObj_leader_get", _wrap_classObj_leader_get},
43185 : {"mapscriptc::classObj_status_set", _wrap_classObj_status_set},
43186 : {"mapscriptc::classObj_status_get", _wrap_classObj_status_get},
43187 : {"mapscriptc::classObj_isfallback_set", _wrap_classObj_isfallback_set},
43188 : {"mapscriptc::classObj_isfallback_get", _wrap_classObj_isfallback_get},
43189 : {"mapscriptc::classObj_name_set", _wrap_classObj_name_set},
43190 : {"mapscriptc::classObj_name_get", _wrap_classObj_name_get},
43191 : {"mapscriptc::classObj_title_set", _wrap_classObj_title_set},
43192 : {"mapscriptc::classObj_title_get", _wrap_classObj_title_get},
43193 : {"mapscriptc::classObj_minscaledenom_set", _wrap_classObj_minscaledenom_set},
43194 : {"mapscriptc::classObj_minscaledenom_get", _wrap_classObj_minscaledenom_get},
43195 : {"mapscriptc::classObj_maxscaledenom_set", _wrap_classObj_maxscaledenom_set},
43196 : {"mapscriptc::classObj_maxscaledenom_get", _wrap_classObj_maxscaledenom_get},
43197 : {"mapscriptc::classObj_minfeaturesize_set", _wrap_classObj_minfeaturesize_set},
43198 : {"mapscriptc::classObj_minfeaturesize_get", _wrap_classObj_minfeaturesize_get},
43199 : {"mapscriptc::classObj_debug_set", _wrap_classObj_debug_set},
43200 : {"mapscriptc::classObj_debug_get", _wrap_classObj_debug_get},
43201 : {"mapscriptc::classObj_keyimage_set", _wrap_classObj_keyimage_set},
43202 : {"mapscriptc::classObj_keyimage_get", _wrap_classObj_keyimage_get},
43203 : {"mapscriptc::classObj_group_set", _wrap_classObj_group_set},
43204 : {"mapscriptc::classObj_group_get", _wrap_classObj_group_get},
43205 : {"mapscriptc::classObj_sizeunits_set", _wrap_classObj_sizeunits_set},
43206 : {"mapscriptc::classObj_sizeunits_get", _wrap_classObj_sizeunits_get},
43207 : {"mapscriptc::classObj_template_set", _wrap_classObj_template_set},
43208 : {"mapscriptc::classObj_template_get", _wrap_classObj_template_get},
43209 : {"mapscriptc::new_classObj", _wrap_new_classObj},
43210 : {"mapscriptc::delete_classObj", _wrap_delete_classObj},
43211 : {"mapscriptc::classObj_updateFromString", _wrap_classObj_updateFromString},
43212 : {"mapscriptc::classObj_convertToString", _wrap_classObj_convertToString},
43213 : {"mapscriptc::classObj_clone", _wrap_classObj_clone},
43214 : {"mapscriptc::classObj_setExpression", _wrap_classObj_setExpression},
43215 : {"mapscriptc::classObj_getExpressionString", _wrap_classObj_getExpressionString},
43216 : {"mapscriptc::classObj_setText", _wrap_classObj_setText},
43217 : {"mapscriptc::classObj_getTextString", _wrap_classObj_getTextString},
43218 : {"mapscriptc::classObj_getMetaData", _wrap_classObj_getMetaData},
43219 : {"mapscriptc::classObj_setMetaData", _wrap_classObj_setMetaData},
43220 : {"mapscriptc::classObj_getFirstMetaDataKey", _wrap_classObj_getFirstMetaDataKey},
43221 : {"mapscriptc::classObj_getNextMetaDataKey", _wrap_classObj_getNextMetaDataKey},
43222 : {"mapscriptc::classObj_drawLegendIcon", _wrap_classObj_drawLegendIcon},
43223 : {"mapscriptc::classObj_createLegendIcon", _wrap_classObj_createLegendIcon},
43224 : {"mapscriptc::classObj_getLabel", _wrap_classObj_getLabel},
43225 : {"mapscriptc::classObj_addLabel", _wrap_classObj_addLabel},
43226 : {"mapscriptc::classObj_removeLabel", _wrap_classObj_removeLabel},
43227 : {"mapscriptc::classObj_getStyle", _wrap_classObj_getStyle},
43228 : {"mapscriptc::classObj_insertStyle", _wrap_classObj_insertStyle},
43229 : {"mapscriptc::classObj_removeStyle", _wrap_classObj_removeStyle},
43230 : {"mapscriptc::classObj_moveStyleUp", _wrap_classObj_moveStyleUp},
43231 : {"mapscriptc::classObj_moveStyleDown", _wrap_classObj_moveStyleDown},
43232 : {"mapscriptc::labelCacheMemberObj_textsymbols_get", _wrap_labelCacheMemberObj_textsymbols_get},
43233 : {"mapscriptc::labelCacheMemberObj_numtextsymbols_get", _wrap_labelCacheMemberObj_numtextsymbols_get},
43234 : {"mapscriptc::labelCacheMemberObj_layerindex_get", _wrap_labelCacheMemberObj_layerindex_get},
43235 : {"mapscriptc::labelCacheMemberObj_classindex_get", _wrap_labelCacheMemberObj_classindex_get},
43236 : {"mapscriptc::labelCacheMemberObj_point_get", _wrap_labelCacheMemberObj_point_get},
43237 : {"mapscriptc::labelCacheMemberObj_bbox_get", _wrap_labelCacheMemberObj_bbox_get},
43238 : {"mapscriptc::labelCacheMemberObj_status_get", _wrap_labelCacheMemberObj_status_get},
43239 : {"mapscriptc::labelCacheMemberObj_markerid_get", _wrap_labelCacheMemberObj_markerid_get},
43240 : {"mapscriptc::labelCacheMemberObj_leaderline_get", _wrap_labelCacheMemberObj_leaderline_get},
43241 : {"mapscriptc::labelCacheMemberObj_leaderbbox_get", _wrap_labelCacheMemberObj_leaderbbox_get},
43242 : {"mapscriptc::new_labelCacheMemberObj", _wrap_new_labelCacheMemberObj},
43243 : {"mapscriptc::delete_labelCacheMemberObj", _wrap_delete_labelCacheMemberObj},
43244 : {"mapscriptc::markerCacheMemberObj_id_get", _wrap_markerCacheMemberObj_id_get},
43245 : {"mapscriptc::markerCacheMemberObj_bounds_get", _wrap_markerCacheMemberObj_bounds_get},
43246 : {"mapscriptc::new_markerCacheMemberObj", _wrap_new_markerCacheMemberObj},
43247 : {"mapscriptc::delete_markerCacheMemberObj", _wrap_delete_markerCacheMemberObj},
43248 : {"mapscriptc::labelCacheSlotObj_labels_get", _wrap_labelCacheSlotObj_labels_get},
43249 : {"mapscriptc::labelCacheSlotObj_numlabels_get", _wrap_labelCacheSlotObj_numlabels_get},
43250 : {"mapscriptc::labelCacheSlotObj_cachesize_get", _wrap_labelCacheSlotObj_cachesize_get},
43251 : {"mapscriptc::labelCacheSlotObj_markers_get", _wrap_labelCacheSlotObj_markers_get},
43252 : {"mapscriptc::labelCacheSlotObj_nummarkers_get", _wrap_labelCacheSlotObj_nummarkers_get},
43253 : {"mapscriptc::labelCacheSlotObj_markercachesize_get", _wrap_labelCacheSlotObj_markercachesize_get},
43254 : {"mapscriptc::new_labelCacheSlotObj", _wrap_new_labelCacheSlotObj},
43255 : {"mapscriptc::delete_labelCacheSlotObj", _wrap_delete_labelCacheSlotObj},
43256 : {"mapscriptc::labelCacheObj_slots_get", _wrap_labelCacheObj_slots_get},
43257 : {"mapscriptc::labelCacheObj_gutter_get", _wrap_labelCacheObj_gutter_get},
43258 : {"mapscriptc::labelCacheObj_rendered_text_symbols_get", _wrap_labelCacheObj_rendered_text_symbols_get},
43259 : {"mapscriptc::labelCacheObj_num_allocated_rendered_members_get", _wrap_labelCacheObj_num_allocated_rendered_members_get},
43260 : {"mapscriptc::labelCacheObj_num_rendered_members_get", _wrap_labelCacheObj_num_rendered_members_get},
43261 : {"mapscriptc::labelCacheObj_freeCache", _wrap_labelCacheObj_freeCache},
43262 : {"mapscriptc::new_labelCacheObj", _wrap_new_labelCacheObj},
43263 : {"mapscriptc::delete_labelCacheObj", _wrap_delete_labelCacheObj},
43264 : {"mapscriptc::resultObj_shapeindex_get", _wrap_resultObj_shapeindex_get},
43265 : {"mapscriptc::resultObj_tileindex_get", _wrap_resultObj_tileindex_get},
43266 : {"mapscriptc::resultObj_resultindex_get", _wrap_resultObj_resultindex_get},
43267 : {"mapscriptc::resultObj_classindex_get", _wrap_resultObj_classindex_get},
43268 : {"mapscriptc::new_resultObj", _wrap_new_resultObj},
43269 : {"mapscriptc::delete_resultObj", _wrap_delete_resultObj},
43270 : {"mapscriptc::resultCacheObj_numresults_get", _wrap_resultCacheObj_numresults_get},
43271 : {"mapscriptc::resultCacheObj_bounds_get", _wrap_resultCacheObj_bounds_get},
43272 : {"mapscriptc::resultCacheObj_usegetshape_set", _wrap_resultCacheObj_usegetshape_set},
43273 : {"mapscriptc::resultCacheObj_usegetshape_get", _wrap_resultCacheObj_usegetshape_get},
43274 : {"mapscriptc::resultCacheObj_getResult", _wrap_resultCacheObj_getResult},
43275 : {"mapscriptc::new_resultCacheObj", _wrap_new_resultCacheObj},
43276 : {"mapscriptc::delete_resultCacheObj", _wrap_delete_resultCacheObj},
43277 : {"mapscriptc::symbolSetObj_filename_set", _wrap_symbolSetObj_filename_set},
43278 : {"mapscriptc::symbolSetObj_filename_get", _wrap_symbolSetObj_filename_get},
43279 : {"mapscriptc::symbolSetObj_imagecachesize_set", _wrap_symbolSetObj_imagecachesize_set},
43280 : {"mapscriptc::symbolSetObj_imagecachesize_get", _wrap_symbolSetObj_imagecachesize_get},
43281 : {"mapscriptc::symbolSetObj_numsymbols_get", _wrap_symbolSetObj_numsymbols_get},
43282 : {"mapscriptc::symbolSetObj_maxsymbols_get", _wrap_symbolSetObj_maxsymbols_get},
43283 : {"mapscriptc::new_symbolSetObj", _wrap_new_symbolSetObj},
43284 : {"mapscriptc::delete_symbolSetObj", _wrap_delete_symbolSetObj},
43285 : {"mapscriptc::symbolSetObj_getSymbol", _wrap_symbolSetObj_getSymbol},
43286 : {"mapscriptc::symbolSetObj_getSymbolByName", _wrap_symbolSetObj_getSymbolByName},
43287 : {"mapscriptc::symbolSetObj_index", _wrap_symbolSetObj_index},
43288 : {"mapscriptc::symbolSetObj_appendSymbol", _wrap_symbolSetObj_appendSymbol},
43289 : {"mapscriptc::symbolSetObj_removeSymbol", _wrap_symbolSetObj_removeSymbol},
43290 : {"mapscriptc::symbolSetObj_save", _wrap_symbolSetObj_save},
43291 : {"mapscriptc::referenceMapObj_extent_set", _wrap_referenceMapObj_extent_set},
43292 : {"mapscriptc::referenceMapObj_extent_get", _wrap_referenceMapObj_extent_get},
43293 : {"mapscriptc::referenceMapObj_height_set", _wrap_referenceMapObj_height_set},
43294 : {"mapscriptc::referenceMapObj_height_get", _wrap_referenceMapObj_height_get},
43295 : {"mapscriptc::referenceMapObj_width_set", _wrap_referenceMapObj_width_set},
43296 : {"mapscriptc::referenceMapObj_width_get", _wrap_referenceMapObj_width_get},
43297 : {"mapscriptc::referenceMapObj_color_set", _wrap_referenceMapObj_color_set},
43298 : {"mapscriptc::referenceMapObj_color_get", _wrap_referenceMapObj_color_get},
43299 : {"mapscriptc::referenceMapObj_outlinecolor_set", _wrap_referenceMapObj_outlinecolor_set},
43300 : {"mapscriptc::referenceMapObj_outlinecolor_get", _wrap_referenceMapObj_outlinecolor_get},
43301 : {"mapscriptc::referenceMapObj_image_set", _wrap_referenceMapObj_image_set},
43302 : {"mapscriptc::referenceMapObj_image_get", _wrap_referenceMapObj_image_get},
43303 : {"mapscriptc::referenceMapObj_status_set", _wrap_referenceMapObj_status_set},
43304 : {"mapscriptc::referenceMapObj_status_get", _wrap_referenceMapObj_status_get},
43305 : {"mapscriptc::referenceMapObj_marker_set", _wrap_referenceMapObj_marker_set},
43306 : {"mapscriptc::referenceMapObj_marker_get", _wrap_referenceMapObj_marker_get},
43307 : {"mapscriptc::referenceMapObj_markername_set", _wrap_referenceMapObj_markername_set},
43308 : {"mapscriptc::referenceMapObj_markername_get", _wrap_referenceMapObj_markername_get},
43309 : {"mapscriptc::referenceMapObj_markersize_set", _wrap_referenceMapObj_markersize_set},
43310 : {"mapscriptc::referenceMapObj_markersize_get", _wrap_referenceMapObj_markersize_get},
43311 : {"mapscriptc::referenceMapObj_minboxsize_set", _wrap_referenceMapObj_minboxsize_set},
43312 : {"mapscriptc::referenceMapObj_minboxsize_get", _wrap_referenceMapObj_minboxsize_get},
43313 : {"mapscriptc::referenceMapObj_maxboxsize_set", _wrap_referenceMapObj_maxboxsize_set},
43314 : {"mapscriptc::referenceMapObj_maxboxsize_get", _wrap_referenceMapObj_maxboxsize_get},
43315 : {"mapscriptc::referenceMapObj_map_get", _wrap_referenceMapObj_map_get},
43316 : {"mapscriptc::referenceMapObj_updateFromString", _wrap_referenceMapObj_updateFromString},
43317 : {"mapscriptc::referenceMapObj_convertToString", _wrap_referenceMapObj_convertToString},
43318 : {"mapscriptc::new_referenceMapObj", _wrap_new_referenceMapObj},
43319 : {"mapscriptc::delete_referenceMapObj", _wrap_delete_referenceMapObj},
43320 : {"mapscriptc::scalebarObj_imagecolor_set", _wrap_scalebarObj_imagecolor_set},
43321 : {"mapscriptc::scalebarObj_imagecolor_get", _wrap_scalebarObj_imagecolor_get},
43322 : {"mapscriptc::scalebarObj_height_set", _wrap_scalebarObj_height_set},
43323 : {"mapscriptc::scalebarObj_height_get", _wrap_scalebarObj_height_get},
43324 : {"mapscriptc::scalebarObj_width_set", _wrap_scalebarObj_width_set},
43325 : {"mapscriptc::scalebarObj_width_get", _wrap_scalebarObj_width_get},
43326 : {"mapscriptc::scalebarObj_style_set", _wrap_scalebarObj_style_set},
43327 : {"mapscriptc::scalebarObj_style_get", _wrap_scalebarObj_style_get},
43328 : {"mapscriptc::scalebarObj_intervals_set", _wrap_scalebarObj_intervals_set},
43329 : {"mapscriptc::scalebarObj_intervals_get", _wrap_scalebarObj_intervals_get},
43330 : {"mapscriptc::scalebarObj_label_set", _wrap_scalebarObj_label_set},
43331 : {"mapscriptc::scalebarObj_label_get", _wrap_scalebarObj_label_get},
43332 : {"mapscriptc::scalebarObj_color_set", _wrap_scalebarObj_color_set},
43333 : {"mapscriptc::scalebarObj_color_get", _wrap_scalebarObj_color_get},
43334 : {"mapscriptc::scalebarObj_backgroundcolor_set", _wrap_scalebarObj_backgroundcolor_set},
43335 : {"mapscriptc::scalebarObj_backgroundcolor_get", _wrap_scalebarObj_backgroundcolor_get},
43336 : {"mapscriptc::scalebarObj_outlinecolor_set", _wrap_scalebarObj_outlinecolor_set},
43337 : {"mapscriptc::scalebarObj_outlinecolor_get", _wrap_scalebarObj_outlinecolor_get},
43338 : {"mapscriptc::scalebarObj_units_set", _wrap_scalebarObj_units_set},
43339 : {"mapscriptc::scalebarObj_units_get", _wrap_scalebarObj_units_get},
43340 : {"mapscriptc::scalebarObj_status_set", _wrap_scalebarObj_status_set},
43341 : {"mapscriptc::scalebarObj_status_get", _wrap_scalebarObj_status_get},
43342 : {"mapscriptc::scalebarObj_position_set", _wrap_scalebarObj_position_set},
43343 : {"mapscriptc::scalebarObj_position_get", _wrap_scalebarObj_position_get},
43344 : {"mapscriptc::scalebarObj_postlabelcache_set", _wrap_scalebarObj_postlabelcache_set},
43345 : {"mapscriptc::scalebarObj_postlabelcache_get", _wrap_scalebarObj_postlabelcache_get},
43346 : {"mapscriptc::scalebarObj_align_set", _wrap_scalebarObj_align_set},
43347 : {"mapscriptc::scalebarObj_align_get", _wrap_scalebarObj_align_get},
43348 : {"mapscriptc::scalebarObj_offsetx_set", _wrap_scalebarObj_offsetx_set},
43349 : {"mapscriptc::scalebarObj_offsetx_get", _wrap_scalebarObj_offsetx_get},
43350 : {"mapscriptc::scalebarObj_offsety_set", _wrap_scalebarObj_offsety_set},
43351 : {"mapscriptc::scalebarObj_offsety_get", _wrap_scalebarObj_offsety_get},
43352 : {"mapscriptc::scalebarObj_updateFromString", _wrap_scalebarObj_updateFromString},
43353 : {"mapscriptc::scalebarObj_convertToString", _wrap_scalebarObj_convertToString},
43354 : {"mapscriptc::new_scalebarObj", _wrap_new_scalebarObj},
43355 : {"mapscriptc::delete_scalebarObj", _wrap_delete_scalebarObj},
43356 : {"mapscriptc::legendObj_imagecolor_set", _wrap_legendObj_imagecolor_set},
43357 : {"mapscriptc::legendObj_imagecolor_get", _wrap_legendObj_imagecolor_get},
43358 : {"mapscriptc::legendObj_label_get", _wrap_legendObj_label_get},
43359 : {"mapscriptc::legendObj_keysizex_set", _wrap_legendObj_keysizex_set},
43360 : {"mapscriptc::legendObj_keysizex_get", _wrap_legendObj_keysizex_get},
43361 : {"mapscriptc::legendObj_keysizey_set", _wrap_legendObj_keysizey_set},
43362 : {"mapscriptc::legendObj_keysizey_get", _wrap_legendObj_keysizey_get},
43363 : {"mapscriptc::legendObj_keyspacingx_set", _wrap_legendObj_keyspacingx_set},
43364 : {"mapscriptc::legendObj_keyspacingx_get", _wrap_legendObj_keyspacingx_get},
43365 : {"mapscriptc::legendObj_keyspacingy_set", _wrap_legendObj_keyspacingy_set},
43366 : {"mapscriptc::legendObj_keyspacingy_get", _wrap_legendObj_keyspacingy_get},
43367 : {"mapscriptc::legendObj_outlinecolor_set", _wrap_legendObj_outlinecolor_set},
43368 : {"mapscriptc::legendObj_outlinecolor_get", _wrap_legendObj_outlinecolor_get},
43369 : {"mapscriptc::legendObj_status_set", _wrap_legendObj_status_set},
43370 : {"mapscriptc::legendObj_status_get", _wrap_legendObj_status_get},
43371 : {"mapscriptc::legendObj_height_set", _wrap_legendObj_height_set},
43372 : {"mapscriptc::legendObj_height_get", _wrap_legendObj_height_get},
43373 : {"mapscriptc::legendObj_width_set", _wrap_legendObj_width_set},
43374 : {"mapscriptc::legendObj_width_get", _wrap_legendObj_width_get},
43375 : {"mapscriptc::legendObj_position_set", _wrap_legendObj_position_set},
43376 : {"mapscriptc::legendObj_position_get", _wrap_legendObj_position_get},
43377 : {"mapscriptc::legendObj_postlabelcache_set", _wrap_legendObj_postlabelcache_set},
43378 : {"mapscriptc::legendObj_postlabelcache_get", _wrap_legendObj_postlabelcache_get},
43379 : {"mapscriptc::legendObj_template_set", _wrap_legendObj_template_set},
43380 : {"mapscriptc::legendObj_template_get", _wrap_legendObj_template_get},
43381 : {"mapscriptc::legendObj_map_get", _wrap_legendObj_map_get},
43382 : {"mapscriptc::legendObj_updateFromString", _wrap_legendObj_updateFromString},
43383 : {"mapscriptc::legendObj_convertToString", _wrap_legendObj_convertToString},
43384 : {"mapscriptc::new_legendObj", _wrap_new_legendObj},
43385 : {"mapscriptc::delete_legendObj", _wrap_delete_legendObj},
43386 : {"mapscriptc::imageObj_width_get", _wrap_imageObj_width_get},
43387 : {"mapscriptc::imageObj_height_get", _wrap_imageObj_height_get},
43388 : {"mapscriptc::imageObj_resolution_get", _wrap_imageObj_resolution_get},
43389 : {"mapscriptc::imageObj_resolutionfactor_get", _wrap_imageObj_resolutionfactor_get},
43390 : {"mapscriptc::imageObj_imagepath_get", _wrap_imageObj_imagepath_get},
43391 : {"mapscriptc::imageObj_imageurl_get", _wrap_imageObj_imageurl_get},
43392 : {"mapscriptc::imageObj_format_get", _wrap_imageObj_format_get},
43393 : {"mapscriptc::new_imageObj", _wrap_new_imageObj},
43394 : {"mapscriptc::delete_imageObj", _wrap_delete_imageObj},
43395 : {"mapscriptc::imageObj_save", _wrap_imageObj_save},
43396 : {"mapscriptc::imageObj_write", _wrap_imageObj_write},
43397 : {"mapscriptc::imageObj_getBytes", _wrap_imageObj_getBytes},
43398 : {"mapscriptc::imageObj_getSize", _wrap_imageObj_getSize},
43399 : {"mapscriptc::scaleTokenEntryObj_minscale_set", _wrap_scaleTokenEntryObj_minscale_set},
43400 : {"mapscriptc::scaleTokenEntryObj_minscale_get", _wrap_scaleTokenEntryObj_minscale_get},
43401 : {"mapscriptc::scaleTokenEntryObj_maxscale_set", _wrap_scaleTokenEntryObj_maxscale_set},
43402 : {"mapscriptc::scaleTokenEntryObj_maxscale_get", _wrap_scaleTokenEntryObj_maxscale_get},
43403 : {"mapscriptc::scaleTokenEntryObj_value_set", _wrap_scaleTokenEntryObj_value_set},
43404 : {"mapscriptc::scaleTokenEntryObj_value_get", _wrap_scaleTokenEntryObj_value_get},
43405 : {"mapscriptc::new_scaleTokenEntryObj", _wrap_new_scaleTokenEntryObj},
43406 : {"mapscriptc::delete_scaleTokenEntryObj", _wrap_delete_scaleTokenEntryObj},
43407 : {"mapscriptc::scaleTokenObj_name_set", _wrap_scaleTokenObj_name_set},
43408 : {"mapscriptc::scaleTokenObj_name_get", _wrap_scaleTokenObj_name_get},
43409 : {"mapscriptc::scaleTokenObj_n_entries_set", _wrap_scaleTokenObj_n_entries_set},
43410 : {"mapscriptc::scaleTokenObj_n_entries_get", _wrap_scaleTokenObj_n_entries_get},
43411 : {"mapscriptc::scaleTokenObj_tokens_set", _wrap_scaleTokenObj_tokens_set},
43412 : {"mapscriptc::scaleTokenObj_tokens_get", _wrap_scaleTokenObj_tokens_get},
43413 : {"mapscriptc::new_scaleTokenObj", _wrap_new_scaleTokenObj},
43414 : {"mapscriptc::delete_scaleTokenObj", _wrap_delete_scaleTokenObj},
43415 : {"mapscriptc::layerObj_classitem_set", _wrap_layerObj_classitem_set},
43416 : {"mapscriptc::layerObj_classitem_get", _wrap_layerObj_classitem_get},
43417 : {"mapscriptc::layerObj_refcount_get", _wrap_layerObj_refcount_get},
43418 : {"mapscriptc::layerObj_numclasses_get", _wrap_layerObj_numclasses_get},
43419 : {"mapscriptc::layerObj_maxclasses_get", _wrap_layerObj_maxclasses_get},
43420 : {"mapscriptc::layerObj_index_get", _wrap_layerObj_index_get},
43421 : {"mapscriptc::layerObj_map_get", _wrap_layerObj_map_get},
43422 : {"mapscriptc::layerObj_header_set", _wrap_layerObj_header_set},
43423 : {"mapscriptc::layerObj_header_get", _wrap_layerObj_header_get},
43424 : {"mapscriptc::layerObj_footer_set", _wrap_layerObj_footer_set},
43425 : {"mapscriptc::layerObj_footer_get", _wrap_layerObj_footer_get},
43426 : {"mapscriptc::layerObj_template_set", _wrap_layerObj_template_set},
43427 : {"mapscriptc::layerObj_template_get", _wrap_layerObj_template_get},
43428 : {"mapscriptc::layerObj_name_set", _wrap_layerObj_name_set},
43429 : {"mapscriptc::layerObj_name_get", _wrap_layerObj_name_get},
43430 : {"mapscriptc::layerObj_group_set", _wrap_layerObj_group_set},
43431 : {"mapscriptc::layerObj_group_get", _wrap_layerObj_group_get},
43432 : {"mapscriptc::layerObj_status_set", _wrap_layerObj_status_set},
43433 : {"mapscriptc::layerObj_status_get", _wrap_layerObj_status_get},
43434 : {"mapscriptc::layerObj_rendermode_set", _wrap_layerObj_rendermode_set},
43435 : {"mapscriptc::layerObj_rendermode_get", _wrap_layerObj_rendermode_get},
43436 : {"mapscriptc::layerObj_data_set", _wrap_layerObj_data_set},
43437 : {"mapscriptc::layerObj_data_get", _wrap_layerObj_data_get},
43438 : {"mapscriptc::layerObj_type_set", _wrap_layerObj_type_set},
43439 : {"mapscriptc::layerObj_type_get", _wrap_layerObj_type_get},
43440 : {"mapscriptc::layerObj_tolerance_set", _wrap_layerObj_tolerance_set},
43441 : {"mapscriptc::layerObj_tolerance_get", _wrap_layerObj_tolerance_get},
43442 : {"mapscriptc::layerObj_toleranceunits_set", _wrap_layerObj_toleranceunits_set},
43443 : {"mapscriptc::layerObj_toleranceunits_get", _wrap_layerObj_toleranceunits_get},
43444 : {"mapscriptc::layerObj_symbolscaledenom_set", _wrap_layerObj_symbolscaledenom_set},
43445 : {"mapscriptc::layerObj_symbolscaledenom_get", _wrap_layerObj_symbolscaledenom_get},
43446 : {"mapscriptc::layerObj_minscaledenom_set", _wrap_layerObj_minscaledenom_set},
43447 : {"mapscriptc::layerObj_minscaledenom_get", _wrap_layerObj_minscaledenom_get},
43448 : {"mapscriptc::layerObj_maxscaledenom_set", _wrap_layerObj_maxscaledenom_set},
43449 : {"mapscriptc::layerObj_maxscaledenom_get", _wrap_layerObj_maxscaledenom_get},
43450 : {"mapscriptc::layerObj_minfeaturesize_set", _wrap_layerObj_minfeaturesize_set},
43451 : {"mapscriptc::layerObj_minfeaturesize_get", _wrap_layerObj_minfeaturesize_get},
43452 : {"mapscriptc::layerObj_labelminscaledenom_set", _wrap_layerObj_labelminscaledenom_set},
43453 : {"mapscriptc::layerObj_labelminscaledenom_get", _wrap_layerObj_labelminscaledenom_get},
43454 : {"mapscriptc::layerObj_labelmaxscaledenom_set", _wrap_layerObj_labelmaxscaledenom_set},
43455 : {"mapscriptc::layerObj_labelmaxscaledenom_get", _wrap_layerObj_labelmaxscaledenom_get},
43456 : {"mapscriptc::layerObj_mingeowidth_set", _wrap_layerObj_mingeowidth_set},
43457 : {"mapscriptc::layerObj_mingeowidth_get", _wrap_layerObj_mingeowidth_get},
43458 : {"mapscriptc::layerObj_maxgeowidth_set", _wrap_layerObj_maxgeowidth_set},
43459 : {"mapscriptc::layerObj_maxgeowidth_get", _wrap_layerObj_maxgeowidth_get},
43460 : {"mapscriptc::layerObj_sizeunits_set", _wrap_layerObj_sizeunits_set},
43461 : {"mapscriptc::layerObj_sizeunits_get", _wrap_layerObj_sizeunits_get},
43462 : {"mapscriptc::layerObj_maxfeatures_set", _wrap_layerObj_maxfeatures_set},
43463 : {"mapscriptc::layerObj_maxfeatures_get", _wrap_layerObj_maxfeatures_get},
43464 : {"mapscriptc::layerObj_startindex_set", _wrap_layerObj_startindex_set},
43465 : {"mapscriptc::layerObj_startindex_get", _wrap_layerObj_startindex_get},
43466 : {"mapscriptc::layerObj_offsite_set", _wrap_layerObj_offsite_set},
43467 : {"mapscriptc::layerObj_offsite_get", _wrap_layerObj_offsite_get},
43468 : {"mapscriptc::layerObj_transform_set", _wrap_layerObj_transform_set},
43469 : {"mapscriptc::layerObj_transform_get", _wrap_layerObj_transform_get},
43470 : {"mapscriptc::layerObj_labelcache_set", _wrap_layerObj_labelcache_set},
43471 : {"mapscriptc::layerObj_labelcache_get", _wrap_layerObj_labelcache_get},
43472 : {"mapscriptc::layerObj_postlabelcache_set", _wrap_layerObj_postlabelcache_set},
43473 : {"mapscriptc::layerObj_postlabelcache_get", _wrap_layerObj_postlabelcache_get},
43474 : {"mapscriptc::layerObj_labelitem_set", _wrap_layerObj_labelitem_set},
43475 : {"mapscriptc::layerObj_labelitem_get", _wrap_layerObj_labelitem_get},
43476 : {"mapscriptc::layerObj_tileitem_set", _wrap_layerObj_tileitem_set},
43477 : {"mapscriptc::layerObj_tileitem_get", _wrap_layerObj_tileitem_get},
43478 : {"mapscriptc::layerObj_tileindex_set", _wrap_layerObj_tileindex_set},
43479 : {"mapscriptc::layerObj_tileindex_get", _wrap_layerObj_tileindex_get},
43480 : {"mapscriptc::layerObj_tilesrs_set", _wrap_layerObj_tilesrs_set},
43481 : {"mapscriptc::layerObj_tilesrs_get", _wrap_layerObj_tilesrs_get},
43482 : {"mapscriptc::layerObj_units_set", _wrap_layerObj_units_set},
43483 : {"mapscriptc::layerObj_units_get", _wrap_layerObj_units_get},
43484 : {"mapscriptc::layerObj_connection_set", _wrap_layerObj_connection_set},
43485 : {"mapscriptc::layerObj_connection_get", _wrap_layerObj_connection_get},
43486 : {"mapscriptc::layerObj_plugin_library_set", _wrap_layerObj_plugin_library_set},
43487 : {"mapscriptc::layerObj_plugin_library_get", _wrap_layerObj_plugin_library_get},
43488 : {"mapscriptc::layerObj_plugin_library_original_set", _wrap_layerObj_plugin_library_original_set},
43489 : {"mapscriptc::layerObj_plugin_library_original_get", _wrap_layerObj_plugin_library_original_get},
43490 : {"mapscriptc::layerObj_connectiontype_set", _wrap_layerObj_connectiontype_set},
43491 : {"mapscriptc::layerObj_connectiontype_get", _wrap_layerObj_connectiontype_get},
43492 : {"mapscriptc::layerObj_numitems_get", _wrap_layerObj_numitems_get},
43493 : {"mapscriptc::layerObj_bandsitem_set", _wrap_layerObj_bandsitem_set},
43494 : {"mapscriptc::layerObj_bandsitem_get", _wrap_layerObj_bandsitem_get},
43495 : {"mapscriptc::layerObj_filteritem_set", _wrap_layerObj_filteritem_set},
43496 : {"mapscriptc::layerObj_filteritem_get", _wrap_layerObj_filteritem_get},
43497 : {"mapscriptc::layerObj_styleitem_set", _wrap_layerObj_styleitem_set},
43498 : {"mapscriptc::layerObj_styleitem_get", _wrap_layerObj_styleitem_get},
43499 : {"mapscriptc::layerObj_requires_set", _wrap_layerObj_requires_set},
43500 : {"mapscriptc::layerObj_requires_get", _wrap_layerObj_requires_get},
43501 : {"mapscriptc::layerObj_labelrequires_set", _wrap_layerObj_labelrequires_set},
43502 : {"mapscriptc::layerObj_labelrequires_get", _wrap_layerObj_labelrequires_get},
43503 : {"mapscriptc::layerObj_metadata_get", _wrap_layerObj_metadata_get},
43504 : {"mapscriptc::layerObj_validation_get", _wrap_layerObj_validation_get},
43505 : {"mapscriptc::layerObj_bindvals_get", _wrap_layerObj_bindvals_get},
43506 : {"mapscriptc::layerObj_cluster_get", _wrap_layerObj_cluster_get},
43507 : {"mapscriptc::layerObj_dump_set", _wrap_layerObj_dump_set},
43508 : {"mapscriptc::layerObj_dump_get", _wrap_layerObj_dump_get},
43509 : {"mapscriptc::layerObj_debug_set", _wrap_layerObj_debug_set},
43510 : {"mapscriptc::layerObj_debug_get", _wrap_layerObj_debug_get},
43511 : {"mapscriptc::layerObj_extent_get", _wrap_layerObj_extent_get},
43512 : {"mapscriptc::layerObj_numprocessing_get", _wrap_layerObj_numprocessing_get},
43513 : {"mapscriptc::layerObj_numjoins_get", _wrap_layerObj_numjoins_get},
43514 : {"mapscriptc::layerObj_classgroup_set", _wrap_layerObj_classgroup_set},
43515 : {"mapscriptc::layerObj_classgroup_get", _wrap_layerObj_classgroup_get},
43516 : {"mapscriptc::layerObj_mask_set", _wrap_layerObj_mask_set},
43517 : {"mapscriptc::layerObj_mask_get", _wrap_layerObj_mask_get},
43518 : {"mapscriptc::layerObj_encoding_set", _wrap_layerObj_encoding_set},
43519 : {"mapscriptc::layerObj_encoding_get", _wrap_layerObj_encoding_get},
43520 : {"mapscriptc::layerObj_utfitem_set", _wrap_layerObj_utfitem_set},
43521 : {"mapscriptc::layerObj_utfitem_get", _wrap_layerObj_utfitem_get},
43522 : {"mapscriptc::layerObj_utfitemindex_set", _wrap_layerObj_utfitemindex_set},
43523 : {"mapscriptc::layerObj_utfitemindex_get", _wrap_layerObj_utfitemindex_get},
43524 : {"mapscriptc::layerObj_utfdata_set", _wrap_layerObj_utfdata_set},
43525 : {"mapscriptc::layerObj_utfdata_get", _wrap_layerObj_utfdata_get},
43526 : {"mapscriptc::layerObj_compositer_set", _wrap_layerObj_compositer_set},
43527 : {"mapscriptc::layerObj_compositer_get", _wrap_layerObj_compositer_get},
43528 : {"mapscriptc::layerObj_connectionoptions_set", _wrap_layerObj_connectionoptions_set},
43529 : {"mapscriptc::layerObj_connectionoptions_get", _wrap_layerObj_connectionoptions_get},
43530 : {"mapscriptc::new_layerObj", _wrap_new_layerObj},
43531 : {"mapscriptc::layerObj_setOpacity", _wrap_layerObj_setOpacity},
43532 : {"mapscriptc::layerObj_getOpacity", _wrap_layerObj_getOpacity},
43533 : {"mapscriptc::delete_layerObj", _wrap_delete_layerObj},
43534 : {"mapscriptc::layerObj_clone", _wrap_layerObj_clone},
43535 : {"mapscriptc::layerObj_updateFromString", _wrap_layerObj_updateFromString},
43536 : {"mapscriptc::layerObj_convertToString", _wrap_layerObj_convertToString},
43537 : {"mapscriptc::layerObj_insertClass", _wrap_layerObj_insertClass},
43538 : {"mapscriptc::layerObj_removeClass", _wrap_layerObj_removeClass},
43539 : {"mapscriptc::layerObj_open", _wrap_layerObj_open},
43540 : {"mapscriptc::layerObj_whichShapes", _wrap_layerObj_whichShapes},
43541 : {"mapscriptc::layerObj_nextShape", _wrap_layerObj_nextShape},
43542 : {"mapscriptc::layerObj_close", _wrap_layerObj_close},
43543 : {"mapscriptc::layerObj_getShape", _wrap_layerObj_getShape},
43544 : {"mapscriptc::layerObj_getNumResults", _wrap_layerObj_getNumResults},
43545 : {"mapscriptc::layerObj_getResultsBounds", _wrap_layerObj_getResultsBounds},
43546 : {"mapscriptc::layerObj_getResult", _wrap_layerObj_getResult},
43547 : {"mapscriptc::layerObj_getClass", _wrap_layerObj_getClass},
43548 : {"mapscriptc::layerObj_getItem", _wrap_layerObj_getItem},
43549 : {"mapscriptc::layerObj_setItems", _wrap_layerObj_setItems},
43550 : {"mapscriptc::layerObj_draw", _wrap_layerObj_draw},
43551 : {"mapscriptc::layerObj_drawQuery", _wrap_layerObj_drawQuery},
43552 : {"mapscriptc::layerObj_queryByFilter", _wrap_layerObj_queryByFilter},
43553 : {"mapscriptc::layerObj_queryByAttributes", _wrap_layerObj_queryByAttributes},
43554 : {"mapscriptc::layerObj_queryByPoint", _wrap_layerObj_queryByPoint},
43555 : {"mapscriptc::layerObj_queryByRect", _wrap_layerObj_queryByRect},
43556 : {"mapscriptc::layerObj_queryByFeatures", _wrap_layerObj_queryByFeatures},
43557 : {"mapscriptc::layerObj_queryByShape", _wrap_layerObj_queryByShape},
43558 : {"mapscriptc::layerObj_queryByIndex", _wrap_layerObj_queryByIndex},
43559 : {"mapscriptc::layerObj_getResults", _wrap_layerObj_getResults},
43560 : {"mapscriptc::layerObj_setFilter", _wrap_layerObj_setFilter},
43561 : {"mapscriptc::layerObj_getFilterString", _wrap_layerObj_getFilterString},
43562 : {"mapscriptc::layerObj_setWKTProjection", _wrap_layerObj_setWKTProjection},
43563 : {"mapscriptc::layerObj_getProjection", _wrap_layerObj_getProjection},
43564 : {"mapscriptc::layerObj_setProjection", _wrap_layerObj_setProjection},
43565 : {"mapscriptc::layerObj_addFeature", _wrap_layerObj_addFeature},
43566 : {"mapscriptc::layerObj_getNumFeatures", _wrap_layerObj_getNumFeatures},
43567 : {"mapscriptc::layerObj_getExtent", _wrap_layerObj_getExtent},
43568 : {"mapscriptc::layerObj_setExtent", _wrap_layerObj_setExtent},
43569 : {"mapscriptc::layerObj_getMetaData", _wrap_layerObj_getMetaData},
43570 : {"mapscriptc::layerObj_setMetaData", _wrap_layerObj_setMetaData},
43571 : {"mapscriptc::layerObj_removeMetaData", _wrap_layerObj_removeMetaData},
43572 : {"mapscriptc::layerObj_getFirstMetaDataKey", _wrap_layerObj_getFirstMetaDataKey},
43573 : {"mapscriptc::layerObj_getNextMetaDataKey", _wrap_layerObj_getNextMetaDataKey},
43574 : {"mapscriptc::layerObj_getWMSFeatureInfoURL", _wrap_layerObj_getWMSFeatureInfoURL},
43575 : {"mapscriptc::layerObj_executeWFSGetFeature", _wrap_layerObj_executeWFSGetFeature},
43576 : {"mapscriptc::layerObj_applySLD", _wrap_layerObj_applySLD},
43577 : {"mapscriptc::layerObj_applySLDURL", _wrap_layerObj_applySLDURL},
43578 : {"mapscriptc::layerObj_generateSLD", _wrap_layerObj_generateSLD},
43579 : {"mapscriptc::layerObj_isVisible", _wrap_layerObj_isVisible},
43580 : {"mapscriptc::layerObj_moveClassUp", _wrap_layerObj_moveClassUp},
43581 : {"mapscriptc::layerObj_moveClassDown", _wrap_layerObj_moveClassDown},
43582 : {"mapscriptc::layerObj_setProcessingKey", _wrap_layerObj_setProcessingKey},
43583 : {"mapscriptc::layerObj_setProcessing", _wrap_layerObj_setProcessing},
43584 : {"mapscriptc::layerObj_addProcessing", _wrap_layerObj_addProcessing},
43585 : {"mapscriptc::layerObj_getProcessing", _wrap_layerObj_getProcessing},
43586 : {"mapscriptc::layerObj_getProcessingKey", _wrap_layerObj_getProcessingKey},
43587 : {"mapscriptc::layerObj_clearProcessing", _wrap_layerObj_clearProcessing},
43588 : {"mapscriptc::layerObj_setConnectionType", _wrap_layerObj_setConnectionType},
43589 : {"mapscriptc::layerObj_getClassIndex", _wrap_layerObj_getClassIndex},
43590 : {"mapscriptc::layerObj_getGeomTransform", _wrap_layerObj_getGeomTransform},
43591 : {"mapscriptc::layerObj_setGeomTransform", _wrap_layerObj_setGeomTransform},
43592 : {"mapscriptc::layerObj_getItemType", _wrap_layerObj_getItemType},
43593 : {"mapscriptc::mapObj_name_set", _wrap_mapObj_name_set},
43594 : {"mapscriptc::mapObj_name_get", _wrap_mapObj_name_get},
43595 : {"mapscriptc::mapObj_status_set", _wrap_mapObj_status_set},
43596 : {"mapscriptc::mapObj_status_get", _wrap_mapObj_status_get},
43597 : {"mapscriptc::mapObj_height_set", _wrap_mapObj_height_set},
43598 : {"mapscriptc::mapObj_height_get", _wrap_mapObj_height_get},
43599 : {"mapscriptc::mapObj_width_set", _wrap_mapObj_width_set},
43600 : {"mapscriptc::mapObj_width_get", _wrap_mapObj_width_get},
43601 : {"mapscriptc::mapObj_maxsize_set", _wrap_mapObj_maxsize_set},
43602 : {"mapscriptc::mapObj_maxsize_get", _wrap_mapObj_maxsize_get},
43603 : {"mapscriptc::mapObj_refcount_get", _wrap_mapObj_refcount_get},
43604 : {"mapscriptc::mapObj_numlayers_get", _wrap_mapObj_numlayers_get},
43605 : {"mapscriptc::mapObj_maxlayers_get", _wrap_mapObj_maxlayers_get},
43606 : {"mapscriptc::mapObj_symbolset_get", _wrap_mapObj_symbolset_get},
43607 : {"mapscriptc::mapObj_fontset_get", _wrap_mapObj_fontset_get},
43608 : {"mapscriptc::mapObj_labelcache_get", _wrap_mapObj_labelcache_get},
43609 : {"mapscriptc::mapObj_transparent_set", _wrap_mapObj_transparent_set},
43610 : {"mapscriptc::mapObj_transparent_get", _wrap_mapObj_transparent_get},
43611 : {"mapscriptc::mapObj_interlace_set", _wrap_mapObj_interlace_set},
43612 : {"mapscriptc::mapObj_interlace_get", _wrap_mapObj_interlace_get},
43613 : {"mapscriptc::mapObj_imagequality_set", _wrap_mapObj_imagequality_set},
43614 : {"mapscriptc::mapObj_imagequality_get", _wrap_mapObj_imagequality_get},
43615 : {"mapscriptc::mapObj_extent_set", _wrap_mapObj_extent_set},
43616 : {"mapscriptc::mapObj_extent_get", _wrap_mapObj_extent_get},
43617 : {"mapscriptc::mapObj_cellsize_set", _wrap_mapObj_cellsize_set},
43618 : {"mapscriptc::mapObj_cellsize_get", _wrap_mapObj_cellsize_get},
43619 : {"mapscriptc::mapObj_units_set", _wrap_mapObj_units_set},
43620 : {"mapscriptc::mapObj_units_get", _wrap_mapObj_units_get},
43621 : {"mapscriptc::mapObj_scaledenom_set", _wrap_mapObj_scaledenom_set},
43622 : {"mapscriptc::mapObj_scaledenom_get", _wrap_mapObj_scaledenom_get},
43623 : {"mapscriptc::mapObj_resolution_set", _wrap_mapObj_resolution_set},
43624 : {"mapscriptc::mapObj_resolution_get", _wrap_mapObj_resolution_get},
43625 : {"mapscriptc::mapObj_defresolution_set", _wrap_mapObj_defresolution_set},
43626 : {"mapscriptc::mapObj_defresolution_get", _wrap_mapObj_defresolution_get},
43627 : {"mapscriptc::mapObj_shapepath_set", _wrap_mapObj_shapepath_set},
43628 : {"mapscriptc::mapObj_shapepath_get", _wrap_mapObj_shapepath_get},
43629 : {"mapscriptc::mapObj_mappath_set", _wrap_mapObj_mappath_set},
43630 : {"mapscriptc::mapObj_mappath_get", _wrap_mapObj_mappath_get},
43631 : {"mapscriptc::mapObj_sldurl_set", _wrap_mapObj_sldurl_set},
43632 : {"mapscriptc::mapObj_sldurl_get", _wrap_mapObj_sldurl_get},
43633 : {"mapscriptc::mapObj_imagecolor_set", _wrap_mapObj_imagecolor_set},
43634 : {"mapscriptc::mapObj_imagecolor_get", _wrap_mapObj_imagecolor_get},
43635 : {"mapscriptc::mapObj_numoutputformats_get", _wrap_mapObj_numoutputformats_get},
43636 : {"mapscriptc::mapObj_outputformat_get", _wrap_mapObj_outputformat_get},
43637 : {"mapscriptc::mapObj_imagetype_get", _wrap_mapObj_imagetype_get},
43638 : {"mapscriptc::mapObj_reference_get", _wrap_mapObj_reference_get},
43639 : {"mapscriptc::mapObj_scalebar_get", _wrap_mapObj_scalebar_get},
43640 : {"mapscriptc::mapObj_legend_get", _wrap_mapObj_legend_get},
43641 : {"mapscriptc::mapObj_querymap_get", _wrap_mapObj_querymap_get},
43642 : {"mapscriptc::mapObj_web_get", _wrap_mapObj_web_get},
43643 : {"mapscriptc::mapObj_layerorder_set", _wrap_mapObj_layerorder_set},
43644 : {"mapscriptc::mapObj_layerorder_get", _wrap_mapObj_layerorder_get},
43645 : {"mapscriptc::mapObj_debug_set", _wrap_mapObj_debug_set},
43646 : {"mapscriptc::mapObj_debug_get", _wrap_mapObj_debug_get},
43647 : {"mapscriptc::mapObj_datapattern_set", _wrap_mapObj_datapattern_set},
43648 : {"mapscriptc::mapObj_datapattern_get", _wrap_mapObj_datapattern_get},
43649 : {"mapscriptc::mapObj_templatepattern_set", _wrap_mapObj_templatepattern_set},
43650 : {"mapscriptc::mapObj_templatepattern_get", _wrap_mapObj_templatepattern_get},
43651 : {"mapscriptc::mapObj_configoptions_get", _wrap_mapObj_configoptions_get},
43652 : {"mapscriptc::new_mapObj", _wrap_new_mapObj},
43653 : {"mapscriptc::delete_mapObj", _wrap_delete_mapObj},
43654 : {"mapscriptc::mapObj_clone", _wrap_mapObj_clone},
43655 : {"mapscriptc::mapObj_insertLayer", _wrap_mapObj_insertLayer},
43656 : {"mapscriptc::mapObj_removeLayer", _wrap_mapObj_removeLayer},
43657 : {"mapscriptc::mapObj_setExtent", _wrap_mapObj_setExtent},
43658 : {"mapscriptc::mapObj_offsetExtent", _wrap_mapObj_offsetExtent},
43659 : {"mapscriptc::mapObj_scaleExtent", _wrap_mapObj_scaleExtent},
43660 : {"mapscriptc::mapObj_setCenter", _wrap_mapObj_setCenter},
43661 : {"mapscriptc::mapObj_setSize", _wrap_mapObj_setSize},
43662 : {"mapscriptc::mapObj_pixelToGeoref", _wrap_mapObj_pixelToGeoref},
43663 : {"mapscriptc::mapObj_getRotation", _wrap_mapObj_getRotation},
43664 : {"mapscriptc::mapObj_setRotation", _wrap_mapObj_setRotation},
43665 : {"mapscriptc::mapObj_getLayer", _wrap_mapObj_getLayer},
43666 : {"mapscriptc::mapObj_getLayerByName", _wrap_mapObj_getLayerByName},
43667 : {"mapscriptc::mapObj_getSymbolByName", _wrap_mapObj_getSymbolByName},
43668 : {"mapscriptc::mapObj_prepareQuery", _wrap_mapObj_prepareQuery},
43669 : {"mapscriptc::mapObj_prepareImage", _wrap_mapObj_prepareImage},
43670 : {"mapscriptc::mapObj_setImageType", _wrap_mapObj_setImageType},
43671 : {"mapscriptc::mapObj_selectOutputFormat", _wrap_mapObj_selectOutputFormat},
43672 : {"mapscriptc::mapObj_getOutputFormat", _wrap_mapObj_getOutputFormat},
43673 : {"mapscriptc::mapObj_setOutputFormat", _wrap_mapObj_setOutputFormat},
43674 : {"mapscriptc::mapObj_draw", _wrap_mapObj_draw},
43675 : {"mapscriptc::mapObj_drawQuery", _wrap_mapObj_drawQuery},
43676 : {"mapscriptc::mapObj_drawLegend", _wrap_mapObj_drawLegend},
43677 : {"mapscriptc::mapObj_drawScalebar", _wrap_mapObj_drawScalebar},
43678 : {"mapscriptc::mapObj_drawReferenceMap", _wrap_mapObj_drawReferenceMap},
43679 : {"mapscriptc::mapObj_embedScalebar", _wrap_mapObj_embedScalebar},
43680 : {"mapscriptc::mapObj_embedLegend", _wrap_mapObj_embedLegend},
43681 : {"mapscriptc::mapObj_drawLabelCache", _wrap_mapObj_drawLabelCache},
43682 : {"mapscriptc::mapObj_queryByFilter", _wrap_mapObj_queryByFilter},
43683 : {"mapscriptc::mapObj_queryByPoint", _wrap_mapObj_queryByPoint},
43684 : {"mapscriptc::mapObj_queryByRect", _wrap_mapObj_queryByRect},
43685 : {"mapscriptc::mapObj_queryByFeatures", _wrap_mapObj_queryByFeatures},
43686 : {"mapscriptc::mapObj_queryByShape", _wrap_mapObj_queryByShape},
43687 : {"mapscriptc::mapObj_setWKTProjection", _wrap_mapObj_setWKTProjection},
43688 : {"mapscriptc::mapObj_getProjection", _wrap_mapObj_getProjection},
43689 : {"mapscriptc::mapObj_setProjection", _wrap_mapObj_setProjection},
43690 : {"mapscriptc::mapObj_save", _wrap_mapObj_save},
43691 : {"mapscriptc::mapObj_saveQuery", _wrap_mapObj_saveQuery},
43692 : {"mapscriptc::mapObj_loadQuery", _wrap_mapObj_loadQuery},
43693 : {"mapscriptc::mapObj_freeQuery", _wrap_mapObj_freeQuery},
43694 : {"mapscriptc::mapObj_saveQueryAsGML", _wrap_mapObj_saveQueryAsGML},
43695 : {"mapscriptc::mapObj_getMetaData", _wrap_mapObj_getMetaData},
43696 : {"mapscriptc::mapObj_setMetaData", _wrap_mapObj_setMetaData},
43697 : {"mapscriptc::mapObj_removeMetaData", _wrap_mapObj_removeMetaData},
43698 : {"mapscriptc::mapObj_getFirstMetaDataKey", _wrap_mapObj_getFirstMetaDataKey},
43699 : {"mapscriptc::mapObj_getNextMetaDataKey", _wrap_mapObj_getNextMetaDataKey},
43700 : {"mapscriptc::mapObj_setSymbolSet", _wrap_mapObj_setSymbolSet},
43701 : {"mapscriptc::mapObj_getNumSymbols", _wrap_mapObj_getNumSymbols},
43702 : {"mapscriptc::mapObj_setFontSet", _wrap_mapObj_setFontSet},
43703 : {"mapscriptc::mapObj_saveMapContext", _wrap_mapObj_saveMapContext},
43704 : {"mapscriptc::mapObj_loadMapContext", _wrap_mapObj_loadMapContext},
43705 : {"mapscriptc::mapObj_moveLayerUp", _wrap_mapObj_moveLayerUp},
43706 : {"mapscriptc::mapObj_moveLayerDown", _wrap_mapObj_moveLayerDown},
43707 : {"mapscriptc::mapObj_getLayersDrawingOrder", _wrap_mapObj_getLayersDrawingOrder},
43708 : {"mapscriptc::mapObj_setLayersDrawingOrder", _wrap_mapObj_setLayersDrawingOrder},
43709 : {"mapscriptc::mapObj_setConfigOption", _wrap_mapObj_setConfigOption},
43710 : {"mapscriptc::mapObj_getConfigOption", _wrap_mapObj_getConfigOption},
43711 : {"mapscriptc::mapObj_applyConfigOptions", _wrap_mapObj_applyConfigOptions},
43712 : {"mapscriptc::mapObj_applySLD", _wrap_mapObj_applySLD},
43713 : {"mapscriptc::mapObj_applySLDURL", _wrap_mapObj_applySLDURL},
43714 : {"mapscriptc::mapObj_generateSLD", _wrap_mapObj_generateSLD},
43715 : {"mapscriptc::mapObj_processTemplate", _wrap_mapObj_processTemplate},
43716 : {"mapscriptc::mapObj_processLegendTemplate", _wrap_mapObj_processLegendTemplate},
43717 : {"mapscriptc::mapObj_processQueryTemplate", _wrap_mapObj_processQueryTemplate},
43718 : {"mapscriptc::mapObj_getOutputFormatByName", _wrap_mapObj_getOutputFormatByName},
43719 : {"mapscriptc::mapObj_appendOutputFormat", _wrap_mapObj_appendOutputFormat},
43720 : {"mapscriptc::mapObj_removeOutputFormat", _wrap_mapObj_removeOutputFormat},
43721 : {"mapscriptc::mapObj_loadOWSParameters", _wrap_mapObj_loadOWSParameters},
43722 : {"mapscriptc::mapObj_OWSDispatch", _wrap_mapObj_OWSDispatch},
43723 : {"mapscriptc::mapObj_convertToString", _wrap_mapObj_convertToString},
43724 : {"mapscriptc::mapObj_applyDefaultSubstitutions", _wrap_mapObj_applyDefaultSubstitutions},
43725 : {"mapscriptc::mapObj_applySubstitutions", _wrap_mapObj_applySubstitutions},
43726 : {"mapscriptc::mapObj_zoomPoint", _wrap_mapObj_zoomPoint},
43727 : {"mapscriptc::mapObj_zoomRectangle", _wrap_mapObj_zoomRectangle},
43728 : {"mapscriptc::mapObj_zoomScale", _wrap_mapObj_zoomScale},
43729 : {"mapscriptc::msSaveImage", _wrap_msSaveImage},
43730 : {"mapscriptc::msFreeImage", _wrap_msFreeImage},
43731 : {"mapscriptc::msSetup", _wrap_msSetup},
43732 : {"mapscriptc::msCleanup", _wrap_msCleanup},
43733 : {"mapscriptc::msLoadMapFromString", _wrap_msLoadMapFromString},
43734 : {"mapscriptc::rectObj_minx_set", _wrap_rectObj_minx_set},
43735 : {"mapscriptc::rectObj_minx_get", _wrap_rectObj_minx_get},
43736 : {"mapscriptc::rectObj_miny_set", _wrap_rectObj_miny_set},
43737 : {"mapscriptc::rectObj_miny_get", _wrap_rectObj_miny_get},
43738 : {"mapscriptc::rectObj_maxx_set", _wrap_rectObj_maxx_set},
43739 : {"mapscriptc::rectObj_maxx_get", _wrap_rectObj_maxx_get},
43740 : {"mapscriptc::rectObj_maxy_set", _wrap_rectObj_maxy_set},
43741 : {"mapscriptc::rectObj_maxy_get", _wrap_rectObj_maxy_get},
43742 : {"mapscriptc::new_rectObj", _wrap_new_rectObj},
43743 : {"mapscriptc::delete_rectObj", _wrap_delete_rectObj},
43744 : {"mapscriptc::rectObj_project", _wrap_rectObj_project},
43745 : {"mapscriptc::rectObj_fit", _wrap_rectObj_fit},
43746 : {"mapscriptc::rectObj_draw", _wrap_rectObj_draw},
43747 : {"mapscriptc::rectObj_getCenter", _wrap_rectObj_getCenter},
43748 : {"mapscriptc::rectObj_toPolygon", _wrap_rectObj_toPolygon},
43749 : {"mapscriptc::rectObj_toString", _wrap_rectObj_toString},
43750 : {"mapscriptc::pointObj_x_set", _wrap_pointObj_x_set},
43751 : {"mapscriptc::pointObj_x_get", _wrap_pointObj_x_get},
43752 : {"mapscriptc::pointObj_y_set", _wrap_pointObj_y_set},
43753 : {"mapscriptc::pointObj_y_get", _wrap_pointObj_y_get},
43754 : {"mapscriptc::new_pointObj", _wrap_new_pointObj},
43755 : {"mapscriptc::delete_pointObj", _wrap_delete_pointObj},
43756 : {"mapscriptc::pointObj_project", _wrap_pointObj_project},
43757 : {"mapscriptc::pointObj_draw", _wrap_pointObj_draw},
43758 : {"mapscriptc::pointObj_distanceToPoint", _wrap_pointObj_distanceToPoint},
43759 : {"mapscriptc::pointObj_distanceToSegment", _wrap_pointObj_distanceToSegment},
43760 : {"mapscriptc::pointObj_distanceToShape", _wrap_pointObj_distanceToShape},
43761 : {"mapscriptc::pointObj_setXY", _wrap_pointObj_setXY},
43762 : {"mapscriptc::pointObj_setXYZ", _wrap_pointObj_setXYZ},
43763 : {"mapscriptc::pointObj_setXYZM", _wrap_pointObj_setXYZM},
43764 : {"mapscriptc::pointObj_toString", _wrap_pointObj_toString},
43765 : {"mapscriptc::pointObj_toShape", _wrap_pointObj_toShape},
43766 : {"mapscriptc::lineObj_numpoints_get", _wrap_lineObj_numpoints_get},
43767 : {"mapscriptc::new_lineObj", _wrap_new_lineObj},
43768 : {"mapscriptc::delete_lineObj", _wrap_delete_lineObj},
43769 : {"mapscriptc::lineObj_project", _wrap_lineObj_project},
43770 : {"mapscriptc::lineObj_get", _wrap_lineObj_get},
43771 : {"mapscriptc::lineObj_add", _wrap_lineObj_add},
43772 : {"mapscriptc::lineObj_set", _wrap_lineObj_set},
43773 : {"mapscriptc::shapeObj_numlines_get", _wrap_shapeObj_numlines_get},
43774 : {"mapscriptc::shapeObj_numvalues_get", _wrap_shapeObj_numvalues_get},
43775 : {"mapscriptc::shapeObj_bounds_set", _wrap_shapeObj_bounds_set},
43776 : {"mapscriptc::shapeObj_bounds_get", _wrap_shapeObj_bounds_get},
43777 : {"mapscriptc::shapeObj_type_set", _wrap_shapeObj_type_set},
43778 : {"mapscriptc::shapeObj_type_get", _wrap_shapeObj_type_get},
43779 : {"mapscriptc::shapeObj_index_set", _wrap_shapeObj_index_set},
43780 : {"mapscriptc::shapeObj_index_get", _wrap_shapeObj_index_get},
43781 : {"mapscriptc::shapeObj_tileindex_set", _wrap_shapeObj_tileindex_set},
43782 : {"mapscriptc::shapeObj_tileindex_get", _wrap_shapeObj_tileindex_get},
43783 : {"mapscriptc::shapeObj_classindex_set", _wrap_shapeObj_classindex_set},
43784 : {"mapscriptc::shapeObj_classindex_get", _wrap_shapeObj_classindex_get},
43785 : {"mapscriptc::shapeObj_text_set", _wrap_shapeObj_text_set},
43786 : {"mapscriptc::shapeObj_text_get", _wrap_shapeObj_text_get},
43787 : {"mapscriptc::shapeObj_scratch_set", _wrap_shapeObj_scratch_set},
43788 : {"mapscriptc::shapeObj_scratch_get", _wrap_shapeObj_scratch_get},
43789 : {"mapscriptc::shapeObj_resultindex_set", _wrap_shapeObj_resultindex_set},
43790 : {"mapscriptc::shapeObj_resultindex_get", _wrap_shapeObj_resultindex_get},
43791 : {"mapscriptc::new_shapeObj", _wrap_new_shapeObj},
43792 : {"mapscriptc::delete_shapeObj", _wrap_delete_shapeObj},
43793 : {"mapscriptc::shapeObj_fromWKT", _wrap_shapeObj_fromWKT},
43794 : {"mapscriptc::shapeObj_project", _wrap_shapeObj_project},
43795 : {"mapscriptc::shapeObj_get", _wrap_shapeObj_get},
43796 : {"mapscriptc::shapeObj_add", _wrap_shapeObj_add},
43797 : {"mapscriptc::shapeObj_draw", _wrap_shapeObj_draw},
43798 : {"mapscriptc::shapeObj_setBounds", _wrap_shapeObj_setBounds},
43799 : {"mapscriptc::shapeObj_clone", _wrap_shapeObj_clone},
43800 : {"mapscriptc::shapeObj_copy", _wrap_shapeObj_copy},
43801 : {"mapscriptc::shapeObj_toWKT", _wrap_shapeObj_toWKT},
43802 : {"mapscriptc::shapeObj_buffer", _wrap_shapeObj_buffer},
43803 : {"mapscriptc::shapeObj_simplify", _wrap_shapeObj_simplify},
43804 : {"mapscriptc::shapeObj_topologyPreservingSimplify", _wrap_shapeObj_topologyPreservingSimplify},
43805 : {"mapscriptc::shapeObj_convexHull", _wrap_shapeObj_convexHull},
43806 : {"mapscriptc::shapeObj_boundary", _wrap_shapeObj_boundary},
43807 : {"mapscriptc::shapeObj_getCentroid", _wrap_shapeObj_getCentroid},
43808 : {"mapscriptc::shapeObj_Union", _wrap_shapeObj_Union},
43809 : {"mapscriptc::shapeObj_intersection", _wrap_shapeObj_intersection},
43810 : {"mapscriptc::shapeObj_difference", _wrap_shapeObj_difference},
43811 : {"mapscriptc::shapeObj_symDifference", _wrap_shapeObj_symDifference},
43812 : {"mapscriptc::shapeObj_overlaps", _wrap_shapeObj_overlaps},
43813 : {"mapscriptc::shapeObj_within", _wrap_shapeObj_within},
43814 : {"mapscriptc::shapeObj_crosses", _wrap_shapeObj_crosses},
43815 : {"mapscriptc::shapeObj_intersects", _wrap_shapeObj_intersects},
43816 : {"mapscriptc::shapeObj_touches", _wrap_shapeObj_touches},
43817 : {"mapscriptc::shapeObj_equals", _wrap_shapeObj_equals},
43818 : {"mapscriptc::shapeObj_disjoint", _wrap_shapeObj_disjoint},
43819 : {"mapscriptc::shapeObj_getArea", _wrap_shapeObj_getArea},
43820 : {"mapscriptc::shapeObj_getLength", _wrap_shapeObj_getLength},
43821 : {"mapscriptc::shapeObj_getValue", _wrap_shapeObj_getValue},
43822 : {"mapscriptc::shapeObj_contains", _wrap_shapeObj_contains},
43823 : {"mapscriptc::shapeObj_distanceToPoint", _wrap_shapeObj_distanceToPoint},
43824 : {"mapscriptc::shapeObj_distanceToShape", _wrap_shapeObj_distanceToShape},
43825 : {"mapscriptc::shapeObj_getLabelPoint", _wrap_shapeObj_getLabelPoint},
43826 : {"mapscriptc::shapeObj_setValue", _wrap_shapeObj_setValue},
43827 : {"mapscriptc::shapeObj_initValues", _wrap_shapeObj_initValues},
43828 : {"mapscriptc::errorObj_code_set", _wrap_errorObj_code_set},
43829 : {"mapscriptc::errorObj_code_get", _wrap_errorObj_code_get},
43830 : {"mapscriptc::errorObj_routine_set", _wrap_errorObj_routine_set},
43831 : {"mapscriptc::errorObj_routine_get", _wrap_errorObj_routine_get},
43832 : {"mapscriptc::errorObj_message_set", _wrap_errorObj_message_set},
43833 : {"mapscriptc::errorObj_message_get", _wrap_errorObj_message_get},
43834 : {"mapscriptc::errorObj_isreported_set", _wrap_errorObj_isreported_set},
43835 : {"mapscriptc::errorObj_isreported_get", _wrap_errorObj_isreported_get},
43836 : {"mapscriptc::errorObj_errorcount_set", _wrap_errorObj_errorcount_set},
43837 : {"mapscriptc::errorObj_errorcount_get", _wrap_errorObj_errorcount_get},
43838 : {"mapscriptc::new_errorObj", _wrap_new_errorObj},
43839 : {"mapscriptc::delete_errorObj", _wrap_delete_errorObj},
43840 : {"mapscriptc::errorObj_next", _wrap_errorObj_next},
43841 : {"mapscriptc::msGetErrorObj", _wrap_msGetErrorObj},
43842 : {"mapscriptc::msResetErrorList", _wrap_msResetErrorList},
43843 : {"mapscriptc::msGetVersion", _wrap_msGetVersion},
43844 : {"mapscriptc::msGetVersionInt", _wrap_msGetVersionInt},
43845 : {"mapscriptc::msGetErrorString", _wrap_msGetErrorString},
43846 : {"mapscriptc::DBFInfo_nRecords_get", _wrap_DBFInfo_nRecords_get},
43847 : {"mapscriptc::DBFInfo_nFields_get", _wrap_DBFInfo_nFields_get},
43848 : {"mapscriptc::DBFInfo_getFieldName", _wrap_DBFInfo_getFieldName},
43849 : {"mapscriptc::DBFInfo_getFieldWidth", _wrap_DBFInfo_getFieldWidth},
43850 : {"mapscriptc::DBFInfo_getFieldDecimals", _wrap_DBFInfo_getFieldDecimals},
43851 : {"mapscriptc::DBFInfo_getFieldType", _wrap_DBFInfo_getFieldType},
43852 : {"mapscriptc::new_DBFInfo", _wrap_new_DBFInfo},
43853 : {"mapscriptc::delete_DBFInfo", _wrap_delete_DBFInfo},
43854 : {"mapscriptc::shapefileObj_type_get", _wrap_shapefileObj_type_get},
43855 : {"mapscriptc::shapefileObj_numshapes_get", _wrap_shapefileObj_numshapes_get},
43856 : {"mapscriptc::shapefileObj_bounds_get", _wrap_shapefileObj_bounds_get},
43857 : {"mapscriptc::new_shapefileObj", _wrap_new_shapefileObj},
43858 : {"mapscriptc::delete_shapefileObj", _wrap_delete_shapefileObj},
43859 : {"mapscriptc::shapefileObj_get", _wrap_shapefileObj_get},
43860 : {"mapscriptc::shapefileObj_getShape", _wrap_shapefileObj_getShape},
43861 : {"mapscriptc::shapefileObj_getPoint", _wrap_shapefileObj_getPoint},
43862 : {"mapscriptc::shapefileObj_getTransformed", _wrap_shapefileObj_getTransformed},
43863 : {"mapscriptc::shapefileObj_getExtent", _wrap_shapefileObj_getExtent},
43864 : {"mapscriptc::shapefileObj_add", _wrap_shapefileObj_add},
43865 : {"mapscriptc::shapefileObj_addPoint", _wrap_shapefileObj_addPoint},
43866 : {"mapscriptc::shapefileObj_getDBF", _wrap_shapefileObj_getDBF},
43867 : {"mapscriptc::projectionObj_numargs_get", _wrap_projectionObj_numargs_get},
43868 : {"mapscriptc::projectionObj_automatic_get", _wrap_projectionObj_automatic_get},
43869 : {"mapscriptc::projectionObj_wellknownprojection_set", _wrap_projectionObj_wellknownprojection_set},
43870 : {"mapscriptc::projectionObj_wellknownprojection_get", _wrap_projectionObj_wellknownprojection_get},
43871 : {"mapscriptc::new_projectionObj", _wrap_new_projectionObj},
43872 : {"mapscriptc::delete_projectionObj", _wrap_delete_projectionObj},
43873 : {"mapscriptc::projectionObj_setWKTProjection", _wrap_projectionObj_setWKTProjection},
43874 : {"mapscriptc::projectionObj_getUnits", _wrap_projectionObj_getUnits},
43875 : {"mapscriptc::colorObj_red_set", _wrap_colorObj_red_set},
43876 : {"mapscriptc::colorObj_red_get", _wrap_colorObj_red_get},
43877 : {"mapscriptc::colorObj_green_set", _wrap_colorObj_green_set},
43878 : {"mapscriptc::colorObj_green_get", _wrap_colorObj_green_get},
43879 : {"mapscriptc::colorObj_blue_set", _wrap_colorObj_blue_set},
43880 : {"mapscriptc::colorObj_blue_get", _wrap_colorObj_blue_get},
43881 : {"mapscriptc::colorObj_alpha_set", _wrap_colorObj_alpha_set},
43882 : {"mapscriptc::colorObj_alpha_get", _wrap_colorObj_alpha_get},
43883 : {"mapscriptc::new_colorObj", _wrap_new_colorObj},
43884 : {"mapscriptc::delete_colorObj", _wrap_delete_colorObj},
43885 : {"mapscriptc::colorObj_setRGB", _wrap_colorObj_setRGB},
43886 : {"mapscriptc::colorObj_setHex", _wrap_colorObj_setHex},
43887 : {"mapscriptc::colorObj_toHex", _wrap_colorObj_toHex},
43888 : {"mapscriptc::symbolObj_name_set", _wrap_symbolObj_name_set},
43889 : {"mapscriptc::symbolObj_name_get", _wrap_symbolObj_name_get},
43890 : {"mapscriptc::symbolObj_type_set", _wrap_symbolObj_type_set},
43891 : {"mapscriptc::symbolObj_type_get", _wrap_symbolObj_type_get},
43892 : {"mapscriptc::symbolObj_inmapfile_set", _wrap_symbolObj_inmapfile_set},
43893 : {"mapscriptc::symbolObj_inmapfile_get", _wrap_symbolObj_inmapfile_get},
43894 : {"mapscriptc::symbolObj_sizex_set", _wrap_symbolObj_sizex_set},
43895 : {"mapscriptc::symbolObj_sizex_get", _wrap_symbolObj_sizex_get},
43896 : {"mapscriptc::symbolObj_sizey_set", _wrap_symbolObj_sizey_set},
43897 : {"mapscriptc::symbolObj_sizey_get", _wrap_symbolObj_sizey_get},
43898 : {"mapscriptc::symbolObj_minx_set", _wrap_symbolObj_minx_set},
43899 : {"mapscriptc::symbolObj_minx_get", _wrap_symbolObj_minx_get},
43900 : {"mapscriptc::symbolObj_miny_set", _wrap_symbolObj_miny_set},
43901 : {"mapscriptc::symbolObj_miny_get", _wrap_symbolObj_miny_get},
43902 : {"mapscriptc::symbolObj_maxx_set", _wrap_symbolObj_maxx_set},
43903 : {"mapscriptc::symbolObj_maxx_get", _wrap_symbolObj_maxx_get},
43904 : {"mapscriptc::symbolObj_maxy_set", _wrap_symbolObj_maxy_set},
43905 : {"mapscriptc::symbolObj_maxy_get", _wrap_symbolObj_maxy_get},
43906 : {"mapscriptc::symbolObj_refcount_get", _wrap_symbolObj_refcount_get},
43907 : {"mapscriptc::symbolObj_numpoints_get", _wrap_symbolObj_numpoints_get},
43908 : {"mapscriptc::symbolObj_filled_set", _wrap_symbolObj_filled_set},
43909 : {"mapscriptc::symbolObj_filled_get", _wrap_symbolObj_filled_get},
43910 : {"mapscriptc::symbolObj_anchorpoint_x_set", _wrap_symbolObj_anchorpoint_x_set},
43911 : {"mapscriptc::symbolObj_anchorpoint_x_get", _wrap_symbolObj_anchorpoint_x_get},
43912 : {"mapscriptc::symbolObj_anchorpoint_y_set", _wrap_symbolObj_anchorpoint_y_set},
43913 : {"mapscriptc::symbolObj_anchorpoint_y_get", _wrap_symbolObj_anchorpoint_y_get},
43914 : {"mapscriptc::symbolObj_imagepath_get", _wrap_symbolObj_imagepath_get},
43915 : {"mapscriptc::symbolObj_transparent_set", _wrap_symbolObj_transparent_set},
43916 : {"mapscriptc::symbolObj_transparent_get", _wrap_symbolObj_transparent_get},
43917 : {"mapscriptc::symbolObj_transparentcolor_set", _wrap_symbolObj_transparentcolor_set},
43918 : {"mapscriptc::symbolObj_transparentcolor_get", _wrap_symbolObj_transparentcolor_get},
43919 : {"mapscriptc::symbolObj_character_set", _wrap_symbolObj_character_set},
43920 : {"mapscriptc::symbolObj_character_get", _wrap_symbolObj_character_get},
43921 : {"mapscriptc::symbolObj_font_set", _wrap_symbolObj_font_set},
43922 : {"mapscriptc::symbolObj_font_get", _wrap_symbolObj_font_get},
43923 : {"mapscriptc::new_symbolObj", _wrap_new_symbolObj},
43924 : {"mapscriptc::delete_symbolObj", _wrap_delete_symbolObj},
43925 : {"mapscriptc::symbolObj_setImagepath", _wrap_symbolObj_setImagepath},
43926 : {"mapscriptc::symbolObj_setPoints", _wrap_symbolObj_setPoints},
43927 : {"mapscriptc::symbolObj_getPoints", _wrap_symbolObj_getPoints},
43928 : {"mapscriptc::symbolObj_getImage", _wrap_symbolObj_getImage},
43929 : {"mapscriptc::symbolObj_setImage", _wrap_symbolObj_setImage},
43930 : {"mapscriptc::hashTableObj_numitems_get", _wrap_hashTableObj_numitems_get},
43931 : {"mapscriptc::new_hashTableObj", _wrap_new_hashTableObj},
43932 : {"mapscriptc::delete_hashTableObj", _wrap_delete_hashTableObj},
43933 : {"mapscriptc::hashTableObj_set", _wrap_hashTableObj_set},
43934 : {"mapscriptc::hashTableObj_get", _wrap_hashTableObj_get},
43935 : {"mapscriptc::hashTableObj_remove", _wrap_hashTableObj_remove},
43936 : {"mapscriptc::hashTableObj_clear", _wrap_hashTableObj_clear},
43937 : {"mapscriptc::hashTableObj_nextKey", _wrap_hashTableObj_nextKey},
43938 : {"mapscriptc::OWSRequest_NumParams_get", _wrap_OWSRequest_NumParams_get},
43939 : {"mapscriptc::OWSRequest_type_set", _wrap_OWSRequest_type_set},
43940 : {"mapscriptc::OWSRequest_type_get", _wrap_OWSRequest_type_get},
43941 : {"mapscriptc::OWSRequest_contenttype_set", _wrap_OWSRequest_contenttype_set},
43942 : {"mapscriptc::OWSRequest_contenttype_get", _wrap_OWSRequest_contenttype_get},
43943 : {"mapscriptc::OWSRequest_postrequest_set", _wrap_OWSRequest_postrequest_set},
43944 : {"mapscriptc::OWSRequest_postrequest_get", _wrap_OWSRequest_postrequest_get},
43945 : {"mapscriptc::OWSRequest_httpcookiedata_set", _wrap_OWSRequest_httpcookiedata_set},
43946 : {"mapscriptc::OWSRequest_httpcookiedata_get", _wrap_OWSRequest_httpcookiedata_get},
43947 : {"mapscriptc::new_OWSRequest", _wrap_new_OWSRequest},
43948 : {"mapscriptc::delete_OWSRequest", _wrap_delete_OWSRequest},
43949 : {"mapscriptc::OWSRequest_loadParams", _wrap_OWSRequest_loadParams},
43950 : {"mapscriptc::OWSRequest_loadParamsFromURL", _wrap_OWSRequest_loadParamsFromURL},
43951 : {"mapscriptc::OWSRequest_setParameter", _wrap_OWSRequest_setParameter},
43952 : {"mapscriptc::OWSRequest_addParameter", _wrap_OWSRequest_addParameter},
43953 : {"mapscriptc::OWSRequest_getName", _wrap_OWSRequest_getName},
43954 : {"mapscriptc::OWSRequest_getValue", _wrap_OWSRequest_getValue},
43955 : {"mapscriptc::OWSRequest_getValueByName", _wrap_OWSRequest_getValueByName},
43956 : {"mapscriptc::msConnPoolCloseUnreferenced", _wrap_msConnPoolCloseUnreferenced},
43957 : {"mapscriptc::msIO_resetHandlers", _wrap_msIO_resetHandlers},
43958 : {"mapscriptc::msIO_installStdoutToBuffer", _wrap_msIO_installStdoutToBuffer},
43959 : {"mapscriptc::msIO_installStdinFromBuffer", _wrap_msIO_installStdinFromBuffer},
43960 : {"mapscriptc::msIO_stripStdoutBufferContentType", _wrap_msIO_stripStdoutBufferContentType},
43961 : {"mapscriptc::msIO_stripStdoutBufferContentHeaders", _wrap_msIO_stripStdoutBufferContentHeaders},
43962 : {"mapscriptc::msIO_getStdoutBufferString", _wrap_msIO_getStdoutBufferString},
43963 : {"mapscriptc::msIO_getStdoutBufferBytes", _wrap_msIO_getStdoutBufferBytes},
43964 : {"mapscriptc::msIO_getAndStripStdoutBufferMimeHeaders", _wrap_msIO_getAndStripStdoutBufferMimeHeaders},
43965 : {0,0}
43966 : };
43967 : /* -----------------------------------------------------------------------------
43968 : * Type initialization:
43969 : * This problem is tough by the requirement that no dynamic
43970 : * memory is used. Also, since swig_type_info structures store pointers to
43971 : * swig_cast_info structures and swig_cast_info structures store pointers back
43972 : * to swig_type_info structures, we need some lookup code at initialization.
43973 : * The idea is that swig generates all the structures that are needed.
43974 : * The runtime then collects these partially filled structures.
43975 : * The SWIG_InitializeModule function takes these initial arrays out of
43976 : * swig_module, and does all the lookup, filling in the swig_module.types
43977 : * array with the correct data and linking the correct swig_cast_info
43978 : * structures together.
43979 : *
43980 : * The generated swig_type_info structures are assigned statically to an initial
43981 : * array. We just loop through that array, and handle each type individually.
43982 : * First we lookup if this type has been already loaded, and if so, use the
43983 : * loaded structure instead of the generated one. Then we have to fill in the
43984 : * cast linked list. The cast data is initially stored in something like a
43985 : * two-dimensional array. Each row corresponds to a type (there are the same
43986 : * number of rows as there are in the swig_type_initial array). Each entry in
43987 : * a column is one of the swig_cast_info structures for that type.
43988 : * The cast_initial array is actually an array of arrays, because each row has
43989 : * a variable number of columns. So to actually build the cast linked list,
43990 : * we find the array of casts associated with the type, and loop through it
43991 : * adding the casts to the list. The one last trick we need to do is making
43992 : * sure the type pointer in the swig_cast_info struct is correct.
43993 : *
43994 : * First off, we lookup the cast->type name to see if it is already loaded.
43995 : * There are three cases to handle:
43996 : * 1) If the cast->type has already been loaded AND the type we are adding
43997 : * casting info to has not been loaded (it is in this module), THEN we
43998 : * replace the cast->type pointer with the type pointer that has already
43999 : * been loaded.
44000 : * 2) If BOTH types (the one we are adding casting info to, and the
44001 : * cast->type) are loaded, THEN the cast info has already been loaded by
44002 : * the previous module so we just ignore it.
44003 : * 3) Finally, if cast->type has not already been loaded, then we add that
44004 : * swig_cast_info to the linked list (because the cast->type) pointer will
44005 : * be correct.
44006 : * ----------------------------------------------------------------------------- */
44007 :
44008 : #ifdef __cplusplus
44009 : extern "C" {
44010 : #if 0
44011 : } /* c-mode */
44012 : #endif
44013 : #endif
44014 :
44015 : #if 0
44016 : #define SWIGRUNTIME_DEBUG
44017 : #endif
44018 :
44019 :
44020 : SWIGRUNTIME void
44021 1 : SWIG_InitializeModule(void *clientdata) {
44022 : size_t i;
44023 : swig_module_info *module_head, *iter;
44024 : int init;
44025 :
44026 : /* check to see if the circular list has been setup, if not, set it up */
44027 1 : if (swig_module.next==0) {
44028 : /* Initialize the swig_module */
44029 1 : swig_module.type_initial = swig_type_initial;
44030 1 : swig_module.cast_initial = swig_cast_initial;
44031 1 : swig_module.next = &swig_module;
44032 : init = 1;
44033 : } else {
44034 : init = 0;
44035 : }
44036 :
44037 : /* Try and load any already created modules */
44038 1 : module_head = SWIG_GetModule(clientdata);
44039 1 : if (!module_head) {
44040 : /* This is the first module loaded for this interpreter */
44041 : /* so set the swig module into the interpreter */
44042 1 : SWIG_SetModule(clientdata, &swig_module);
44043 : } else {
44044 : /* the interpreter has loaded a SWIG module, but has it loaded this one? */
44045 : iter=module_head;
44046 : do {
44047 0 : if (iter==&swig_module) {
44048 : /* Our module is already in the list, so there's nothing more to do. */
44049 : return;
44050 : }
44051 0 : iter=iter->next;
44052 0 : } while (iter!= module_head);
44053 :
44054 : /* otherwise we must add our module into the list */
44055 0 : swig_module.next = module_head->next;
44056 0 : module_head->next = &swig_module;
44057 : }
44058 :
44059 : /* When multiple interpreters are used, a module could have already been initialized in
44060 : a different interpreter, but not yet have a pointer in this interpreter.
44061 : In this case, we do not want to continue adding types... everything should be
44062 : set up already */
44063 1 : if (init == 0) return;
44064 :
44065 : /* Now work on filling in swig_module.types */
44066 : #ifdef SWIGRUNTIME_DEBUG
44067 : printf("SWIG_InitializeModule: size %d\n", swig_module.size);
44068 : #endif
44069 1 : for (i = 0; i < swig_module.size; ++i) {
44070 : swig_type_info *type = 0;
44071 : swig_type_info *ret;
44072 : swig_cast_info *cast;
44073 :
44074 : #ifdef SWIGRUNTIME_DEBUG
44075 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44076 : #endif
44077 :
44078 : /* if there is another module already loaded */
44079 1 : if (swig_module.next != &swig_module) {
44080 0 : type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
44081 : }
44082 0 : if (type) {
44083 : /* Overwrite clientdata field */
44084 : #ifdef SWIGRUNTIME_DEBUG
44085 : printf("SWIG_InitializeModule: found type %s\n", type->name);
44086 : #endif
44087 0 : if (swig_module.type_initial[i]->clientdata) {
44088 0 : type->clientdata = swig_module.type_initial[i]->clientdata;
44089 : #ifdef SWIGRUNTIME_DEBUG
44090 : printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
44091 : #endif
44092 : }
44093 : } else {
44094 1 : type = swig_module.type_initial[i];
44095 : }
44096 :
44097 : /* Insert casting types */
44098 1 : cast = swig_module.cast_initial[i];
44099 1 : while (cast->type) {
44100 : /* Don't need to add information already in the list */
44101 : ret = 0;
44102 : #ifdef SWIGRUNTIME_DEBUG
44103 : printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
44104 : #endif
44105 1 : if (swig_module.next != &swig_module) {
44106 0 : ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
44107 : #ifdef SWIGRUNTIME_DEBUG
44108 : if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
44109 : #endif
44110 : }
44111 0 : if (ret) {
44112 0 : if (type == swig_module.type_initial[i]) {
44113 : #ifdef SWIGRUNTIME_DEBUG
44114 : printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
44115 : #endif
44116 0 : cast->type = ret;
44117 : ret = 0;
44118 : } else {
44119 : /* Check for casting already in the list */
44120 0 : swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
44121 : #ifdef SWIGRUNTIME_DEBUG
44122 : if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
44123 : #endif
44124 0 : if (!ocast) ret = 0;
44125 : }
44126 : }
44127 :
44128 1 : if (!ret) {
44129 : #ifdef SWIGRUNTIME_DEBUG
44130 : printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
44131 : #endif
44132 1 : if (type->cast) {
44133 1 : type->cast->prev = cast;
44134 1 : cast->next = type->cast;
44135 : }
44136 1 : type->cast = cast;
44137 : }
44138 1 : cast++;
44139 : }
44140 : /* Set entry in modules->types array equal to the type */
44141 1 : swig_module.types[i] = type;
44142 : }
44143 1 : swig_module.types[i] = 0;
44144 :
44145 : #ifdef SWIGRUNTIME_DEBUG
44146 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44147 : for (i = 0; i < swig_module.size; ++i) {
44148 : int j = 0;
44149 : swig_cast_info *cast = swig_module.cast_initial[i];
44150 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44151 : while (cast->type) {
44152 : printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
44153 : cast++;
44154 : ++j;
44155 : }
44156 : printf("---- Total casts: %d\n",j);
44157 : }
44158 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44159 : #endif
44160 : }
44161 :
44162 : /* This function will propagate the clientdata field of type to
44163 : * any new swig_type_info structures that have been added into the list
44164 : * of equivalent types. It is like calling
44165 : * SWIG_TypeClientData(type, clientdata) a second time.
44166 : */
44167 : SWIGRUNTIME void
44168 : SWIG_PropagateClientData(void) {
44169 : size_t i;
44170 : swig_cast_info *equiv;
44171 : static int init_run = 0;
44172 :
44173 : if (init_run) return;
44174 : init_run = 1;
44175 :
44176 : for (i = 0; i < swig_module.size; i++) {
44177 : if (swig_module.types[i]->clientdata) {
44178 : equiv = swig_module.types[i]->cast;
44179 : while (equiv) {
44180 : if (!equiv->converter) {
44181 : if (equiv->type && !equiv->type->clientdata)
44182 : SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
44183 : }
44184 : equiv = equiv->next;
44185 : }
44186 : }
44187 : }
44188 : }
44189 :
44190 : #ifdef __cplusplus
44191 : #if 0
44192 : {
44193 : /* c-mode */
44194 : #endif
44195 : }
44196 : #endif
44197 :
44198 :
44199 :
44200 : #if defined(__cplusplus) && ! defined(XSPROTO)
44201 : extern "C"
44202 : #endif
44203 :
44204 1 : XS(SWIG_init) {
44205 1 : dXSARGS;
44206 : int i;
44207 : (void)items;
44208 :
44209 1 : SWIG_InitializeModule(0);
44210 :
44211 : /* Install commands */
44212 1 : for (i = 0; swig_commands[i].name; i++) {
44213 : /* Casts only needed for Perl < 5.10. */
44214 : #ifdef __cplusplus
44215 : newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
44216 : #else
44217 1 : newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
44218 : #endif
44219 : }
44220 :
44221 : /* Install variables */
44222 0 : for (i = 0; swig_variables[i].name; i++) {
44223 : SV *sv;
44224 0 : sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
44225 0 : if (swig_variables[i].type) {
44226 0 : SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
44227 : } else {
44228 0 : sv_setiv(sv,(IV) 0);
44229 : }
44230 0 : swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
44231 : }
44232 :
44233 : /* Install constant */
44234 0 : for (i = 0; swig_constants[i].type; i++) {
44235 : SV *sv;
44236 0 : sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
44237 0 : switch(swig_constants[i].type) {
44238 0 : case SWIG_INT:
44239 0 : sv_setiv(sv, (IV) swig_constants[i].lvalue);
44240 0 : break;
44241 0 : case SWIG_FLOAT:
44242 0 : sv_setnv(sv, (double) swig_constants[i].dvalue);
44243 0 : break;
44244 0 : case SWIG_STRING:
44245 0 : sv_setpv(sv, (const char *) swig_constants[i].pvalue);
44246 0 : break;
44247 0 : case SWIG_POINTER:
44248 0 : SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
44249 0 : break;
44250 0 : case SWIG_BINARY:
44251 0 : SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
44252 0 : break;
44253 : default:
44254 : break;
44255 : }
44256 0 : SvREADONLY_on(sv);
44257 : }
44258 :
44259 1 : SWIG_TypeClientData(SWIGTYPE_p_intarray, (void*) "mapscript::intarray");
44260 :
44261 1 : if(msSetup() != MS_SUCCESS) {
44262 0 : msSetError(MS_MISCERR, "Error initializing MapServer/Mapscript.", "msSetup()");
44263 : }
44264 :
44265 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44266 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUE", TRUE | 0x2 | GV_ADDMULTI);
44267 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44268 1 : SvREADONLY_on(sv);
44269 : } while(0) /*@SWIG@*/;
44270 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44271 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FALSE", TRUE | 0x2 | GV_ADDMULTI);
44272 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44273 1 : SvREADONLY_on(sv);
44274 : } while(0) /*@SWIG@*/;
44275 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44276 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
44277 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1)));
44278 1 : SvREADONLY_on(sv);
44279 : } while(0) /*@SWIG@*/;
44280 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44281 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ON", TRUE | 0x2 | GV_ADDMULTI);
44282 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44283 1 : SvREADONLY_on(sv);
44284 : } while(0) /*@SWIG@*/;
44285 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44286 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OFF", TRUE | 0x2 | GV_ADDMULTI);
44287 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44288 1 : SvREADONLY_on(sv);
44289 : } while(0) /*@SWIG@*/;
44290 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44291 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
44292 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44293 1 : SvREADONLY_on(sv);
44294 : } while(0) /*@SWIG@*/;
44295 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44296 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EMBED", TRUE | 0x2 | GV_ADDMULTI);
44297 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44298 1 : SvREADONLY_on(sv);
44299 : } while(0) /*@SWIG@*/;
44300 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44301 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DELETE", TRUE | 0x2 | GV_ADDMULTI);
44302 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44303 1 : SvREADONLY_on(sv);
44304 : } while(0) /*@SWIG@*/;
44305 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44306 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_YES", TRUE | 0x2 | GV_ADDMULTI);
44307 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44308 1 : SvREADONLY_on(sv);
44309 : } while(0) /*@SWIG@*/;
44310 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44311 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NO", TRUE | 0x2 | GV_ADDMULTI);
44312 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44313 1 : SvREADONLY_on(sv);
44314 : } while(0) /*@SWIG@*/;
44315 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44316 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44317 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
44318 1 : SvREADONLY_on(sv);
44319 : } while(0) /*@SWIG@*/;
44320 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44321 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CLASS_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44322 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44323 1 : SvREADONLY_on(sv);
44324 : } while(0) /*@SWIG@*/;
44325 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44326 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44327 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44328 1 : SvREADONLY_on(sv);
44329 : } while(0) /*@SWIG@*/;
44330 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44331 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44332 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44333 1 : SvREADONLY_on(sv);
44334 : } while(0) /*@SWIG@*/;
44335 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44336 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44337 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
44338 1 : SvREADONLY_on(sv);
44339 : } while(0) /*@SWIG@*/;
44340 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44341 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_FONTS", TRUE | 0x2 | GV_ADDMULTI);
44342 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44343 1 : SvREADONLY_on(sv);
44344 : } while(0) /*@SWIG@*/;
44345 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44346 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44347 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44348 1 : SvREADONLY_on(sv);
44349 : } while(0) /*@SWIG@*/;
44350 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44351 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_FORCE_GROUP", TRUE | 0x2 | GV_ADDMULTI);
44352 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44353 1 : SvREADONLY_on(sv);
44354 : } while(0) /*@SWIG@*/;
44355 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44356 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_SWF", TRUE | 0x2 | GV_ADDMULTI);
44357 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44358 1 : SvREADONLY_on(sv);
44359 : } while(0) /*@SWIG@*/;
44360 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44361 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_RAWDATA", TRUE | 0x2 | GV_ADDMULTI);
44362 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44363 1 : SvREADONLY_on(sv);
44364 : } while(0) /*@SWIG@*/;
44365 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44366 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_IMAGEMAP", TRUE | 0x2 | GV_ADDMULTI);
44367 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44368 1 : SvREADONLY_on(sv);
44369 : } while(0) /*@SWIG@*/;
44370 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44371 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_TEMPLATE", TRUE | 0x2 | GV_ADDMULTI);
44372 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44373 1 : SvREADONLY_on(sv);
44374 : } while(0) /*@SWIG@*/;
44375 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44376 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGR", TRUE | 0x2 | GV_ADDMULTI);
44377 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
44378 1 : SvREADONLY_on(sv);
44379 : } while(0) /*@SWIG@*/;
44380 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44381 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
44382 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
44383 1 : SvREADONLY_on(sv);
44384 : } while(0) /*@SWIG@*/;
44385 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44386 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44387 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(101)));
44388 1 : SvREADONLY_on(sv);
44389 : } while(0) /*@SWIG@*/;
44390 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44391 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_PDF", TRUE | 0x2 | GV_ADDMULTI);
44392 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(102)));
44393 1 : SvREADONLY_on(sv);
44394 : } while(0) /*@SWIG@*/;
44395 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44396 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_SVG", TRUE | 0x2 | GV_ADDMULTI);
44397 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(103)));
44398 1 : SvREADONLY_on(sv);
44399 : } while(0) /*@SWIG@*/;
44400 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44401 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGL", TRUE | 0x2 | GV_ADDMULTI);
44402 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(104)));
44403 1 : SvREADONLY_on(sv);
44404 : } while(0) /*@SWIG@*/;
44405 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44406 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_AGG", TRUE | 0x2 | GV_ADDMULTI);
44407 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(105)));
44408 1 : SvREADONLY_on(sv);
44409 : } while(0) /*@SWIG@*/;
44410 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44411 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_KML", TRUE | 0x2 | GV_ADDMULTI);
44412 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(106)));
44413 1 : SvREADONLY_on(sv);
44414 : } while(0) /*@SWIG@*/;
44415 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44416 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_UTFGRID", TRUE | 0x2 | GV_ADDMULTI);
44417 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(107)));
44418 1 : SvREADONLY_on(sv);
44419 : } while(0) /*@SWIG@*/;
44420 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44421 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_MVT", TRUE | 0x2 | GV_ADDMULTI);
44422 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(108)));
44423 1 : SvREADONLY_on(sv);
44424 : } while(0) /*@SWIG@*/;
44425 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44426 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_MAP", TRUE | 0x2 | GV_ADDMULTI);
44427 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_MAP)));
44428 1 : SvREADONLY_on(sv);
44429 : } while(0) /*@SWIG@*/;
44430 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44431 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
44432 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_SYMBOL)));
44433 1 : SvREADONLY_on(sv);
44434 : } while(0) /*@SWIG@*/;
44435 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44436 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INCHES", TRUE | 0x2 | GV_ADDMULTI);
44437 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INCHES)));
44438 1 : SvREADONLY_on(sv);
44439 : } while(0) /*@SWIG@*/;
44440 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44441 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FEET", TRUE | 0x2 | GV_ADDMULTI);
44442 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FEET)));
44443 1 : SvREADONLY_on(sv);
44444 : } while(0) /*@SWIG@*/;
44445 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44446 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MILES", TRUE | 0x2 | GV_ADDMULTI);
44447 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MILES)));
44448 1 : SvREADONLY_on(sv);
44449 : } while(0) /*@SWIG@*/;
44450 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44451 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_METERS", TRUE | 0x2 | GV_ADDMULTI);
44452 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_METERS)));
44453 1 : SvREADONLY_on(sv);
44454 : } while(0) /*@SWIG@*/;
44455 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44456 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KILOMETERS", TRUE | 0x2 | GV_ADDMULTI);
44457 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KILOMETERS)));
44458 1 : SvREADONLY_on(sv);
44459 : } while(0) /*@SWIG@*/;
44460 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44461 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DD", TRUE | 0x2 | GV_ADDMULTI);
44462 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DD)));
44463 1 : SvREADONLY_on(sv);
44464 : } while(0) /*@SWIG@*/;
44465 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44466 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PIXELS", TRUE | 0x2 | GV_ADDMULTI);
44467 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PIXELS)));
44468 1 : SvREADONLY_on(sv);
44469 : } while(0) /*@SWIG@*/;
44470 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44471 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PERCENTAGES", TRUE | 0x2 | GV_ADDMULTI);
44472 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PERCENTAGES)));
44473 1 : SvREADONLY_on(sv);
44474 : } while(0) /*@SWIG@*/;
44475 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44476 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NAUTICALMILES", TRUE | 0x2 | GV_ADDMULTI);
44477 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NAUTICALMILES)));
44478 1 : SvREADONLY_on(sv);
44479 : } while(0) /*@SWIG@*/;
44480 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44481 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INHERIT", TRUE | 0x2 | GV_ADDMULTI);
44482 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INHERIT)));
44483 1 : SvREADONLY_on(sv);
44484 : } while(0) /*@SWIG@*/;
44485 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44486 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POINT", TRUE | 0x2 | GV_ADDMULTI);
44487 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POINT)));
44488 1 : SvREADONLY_on(sv);
44489 : } while(0) /*@SWIG@*/;
44490 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44491 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_LINE", TRUE | 0x2 | GV_ADDMULTI);
44492 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_LINE)));
44493 1 : SvREADONLY_on(sv);
44494 : } while(0) /*@SWIG@*/;
44495 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44496 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44497 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POLYGON)));
44498 1 : SvREADONLY_on(sv);
44499 : } while(0) /*@SWIG@*/;
44500 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44501 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_NULL", TRUE | 0x2 | GV_ADDMULTI);
44502 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_NULL)));
44503 1 : SvREADONLY_on(sv);
44504 : } while(0) /*@SWIG@*/;
44505 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44506 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POINT", TRUE | 0x2 | GV_ADDMULTI);
44507 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POINT)));
44508 1 : SvREADONLY_on(sv);
44509 : } while(0) /*@SWIG@*/;
44510 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44511 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_LINE", TRUE | 0x2 | GV_ADDMULTI);
44512 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_LINE)));
44513 1 : SvREADONLY_on(sv);
44514 : } while(0) /*@SWIG@*/;
44515 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44516 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44517 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POLYGON)));
44518 1 : SvREADONLY_on(sv);
44519 : } while(0) /*@SWIG@*/;
44520 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44521 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44522 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_RASTER)));
44523 1 : SvREADONLY_on(sv);
44524 : } while(0) /*@SWIG@*/;
44525 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44526 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ANNOTATION", TRUE | 0x2 | GV_ADDMULTI);
44527 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_ANNOTATION)));
44528 1 : SvREADONLY_on(sv);
44529 : } while(0) /*@SWIG@*/;
44530 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44531 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_QUERY", TRUE | 0x2 | GV_ADDMULTI);
44532 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_QUERY)));
44533 1 : SvREADONLY_on(sv);
44534 : } while(0) /*@SWIG@*/;
44535 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44536 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CIRCLE", TRUE | 0x2 | GV_ADDMULTI);
44537 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CIRCLE)));
44538 1 : SvREADONLY_on(sv);
44539 : } while(0) /*@SWIG@*/;
44540 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44541 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_TILEINDEX", TRUE | 0x2 | GV_ADDMULTI);
44542 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_TILEINDEX)));
44543 1 : SvREADONLY_on(sv);
44544 : } while(0) /*@SWIG@*/;
44545 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44546 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CHART", TRUE | 0x2 | GV_ADDMULTI);
44547 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CHART)));
44548 1 : SvREADONLY_on(sv);
44549 : } while(0) /*@SWIG@*/;
44550 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44551 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
44552 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRUETYPE)));
44553 1 : SvREADONLY_on(sv);
44554 : } while(0) /*@SWIG@*/;
44555 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44556 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_BITMAP", TRUE | 0x2 | GV_ADDMULTI);
44557 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_BITMAP)));
44558 1 : SvREADONLY_on(sv);
44559 : } while(0) /*@SWIG@*/;
44560 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44561 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FIRST_MATCHING_CLASS", TRUE | 0x2 | GV_ADDMULTI);
44562 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FIRST_MATCHING_CLASS)));
44563 1 : SvREADONLY_on(sv);
44564 : } while(0) /*@SWIG@*/;
44565 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44566 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALL_MATCHING_CLASSES", TRUE | 0x2 | GV_ADDMULTI);
44567 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALL_MATCHING_CLASSES)));
44568 1 : SvREADONLY_on(sv);
44569 : } while(0) /*@SWIG@*/;
44570 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44571 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSITIONS_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
44572 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
44573 1 : SvREADONLY_on(sv);
44574 : } while(0) /*@SWIG@*/;
44575 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44576 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UL", TRUE | 0x2 | GV_ADDMULTI);
44577 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UL)));
44578 1 : SvREADONLY_on(sv);
44579 : } while(0) /*@SWIG@*/;
44580 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44581 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LR", TRUE | 0x2 | GV_ADDMULTI);
44582 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LR)));
44583 1 : SvREADONLY_on(sv);
44584 : } while(0) /*@SWIG@*/;
44585 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44586 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UR", TRUE | 0x2 | GV_ADDMULTI);
44587 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UR)));
44588 1 : SvREADONLY_on(sv);
44589 : } while(0) /*@SWIG@*/;
44590 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44591 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LL", TRUE | 0x2 | GV_ADDMULTI);
44592 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LL)));
44593 1 : SvREADONLY_on(sv);
44594 : } while(0) /*@SWIG@*/;
44595 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44596 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CR", TRUE | 0x2 | GV_ADDMULTI);
44597 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CR)));
44598 1 : SvREADONLY_on(sv);
44599 : } while(0) /*@SWIG@*/;
44600 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44601 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CL", TRUE | 0x2 | GV_ADDMULTI);
44602 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CL)));
44603 1 : SvREADONLY_on(sv);
44604 : } while(0) /*@SWIG@*/;
44605 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44606 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UC", TRUE | 0x2 | GV_ADDMULTI);
44607 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UC)));
44608 1 : SvREADONLY_on(sv);
44609 : } while(0) /*@SWIG@*/;
44610 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44611 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LC", TRUE | 0x2 | GV_ADDMULTI);
44612 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LC)));
44613 1 : SvREADONLY_on(sv);
44614 : } while(0) /*@SWIG@*/;
44615 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44616 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CC", TRUE | 0x2 | GV_ADDMULTI);
44617 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CC)));
44618 1 : SvREADONLY_on(sv);
44619 : } while(0) /*@SWIG@*/;
44620 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44621 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO", TRUE | 0x2 | GV_ADDMULTI);
44622 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO)));
44623 1 : SvREADONLY_on(sv);
44624 : } while(0) /*@SWIG@*/;
44625 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44626 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_XY", TRUE | 0x2 | GV_ADDMULTI);
44627 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_XY)));
44628 1 : SvREADONLY_on(sv);
44629 : } while(0) /*@SWIG@*/;
44630 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44631 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NONE", TRUE | 0x2 | GV_ADDMULTI);
44632 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NONE)));
44633 1 : SvREADONLY_on(sv);
44634 : } while(0) /*@SWIG@*/;
44635 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44636 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO2", TRUE | 0x2 | GV_ADDMULTI);
44637 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO2)));
44638 1 : SvREADONLY_on(sv);
44639 : } while(0) /*@SWIG@*/;
44640 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44641 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FOLLOW", TRUE | 0x2 | GV_ADDMULTI);
44642 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FOLLOW)));
44643 1 : SvREADONLY_on(sv);
44644 : } while(0) /*@SWIG@*/;
44645 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44646 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TINY", TRUE | 0x2 | GV_ADDMULTI);
44647 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44648 1 : SvREADONLY_on(sv);
44649 : } while(0) /*@SWIG@*/;
44650 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44651 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SMALL", TRUE | 0x2 | GV_ADDMULTI);
44652 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
44653 1 : SvREADONLY_on(sv);
44654 : } while(0) /*@SWIG@*/;
44655 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44656 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
44657 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
44658 1 : SvREADONLY_on(sv);
44659 : } while(0) /*@SWIG@*/;
44660 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44661 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LARGE", TRUE | 0x2 | GV_ADDMULTI);
44662 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
44663 1 : SvREADONLY_on(sv);
44664 : } while(0) /*@SWIG@*/;
44665 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44666 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GIANT", TRUE | 0x2 | GV_ADDMULTI);
44667 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
44668 1 : SvREADONLY_on(sv);
44669 : } while(0) /*@SWIG@*/;
44670 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44671 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
44672 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NORMAL)));
44673 1 : SvREADONLY_on(sv);
44674 : } while(0) /*@SWIG@*/;
44675 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44676 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HILITE", TRUE | 0x2 | GV_ADDMULTI);
44677 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_HILITE)));
44678 1 : SvREADONLY_on(sv);
44679 : } while(0) /*@SWIG@*/;
44680 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44681 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SELECTED", TRUE | 0x2 | GV_ADDMULTI);
44682 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SELECTED)));
44683 1 : SvREADONLY_on(sv);
44684 : } while(0) /*@SWIG@*/;
44685 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44686 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INLINE", TRUE | 0x2 | GV_ADDMULTI);
44687 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INLINE)));
44688 1 : SvREADONLY_on(sv);
44689 : } while(0) /*@SWIG@*/;
44690 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44691 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
44692 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPEFILE)));
44693 1 : SvREADONLY_on(sv);
44694 : } while(0) /*@SWIG@*/;
44695 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44696 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TILED_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
44697 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TILED_SHAPEFILE)));
44698 1 : SvREADONLY_on(sv);
44699 : } while(0) /*@SWIG@*/;
44700 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44701 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_2", TRUE | 0x2 | GV_ADDMULTI);
44702 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_2)));
44703 1 : SvREADONLY_on(sv);
44704 : } while(0) /*@SWIG@*/;
44705 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44706 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGR", TRUE | 0x2 | GV_ADDMULTI);
44707 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_OGR)));
44708 1 : SvREADONLY_on(sv);
44709 : } while(0) /*@SWIG@*/;
44710 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44711 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_1", TRUE | 0x2 | GV_ADDMULTI);
44712 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_1)));
44713 1 : SvREADONLY_on(sv);
44714 : } while(0) /*@SWIG@*/;
44715 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44716 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSTGIS", TRUE | 0x2 | GV_ADDMULTI);
44717 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POSTGIS)));
44718 1 : SvREADONLY_on(sv);
44719 : } while(0) /*@SWIG@*/;
44720 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44721 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMS", TRUE | 0x2 | GV_ADDMULTI);
44722 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WMS)));
44723 1 : SvREADONLY_on(sv);
44724 : } while(0) /*@SWIG@*/;
44725 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44726 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIAL", TRUE | 0x2 | GV_ADDMULTI);
44727 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ORACLESPATIAL)));
44728 1 : SvREADONLY_on(sv);
44729 : } while(0) /*@SWIG@*/;
44730 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44731 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFS", TRUE | 0x2 | GV_ADDMULTI);
44732 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WFS)));
44733 1 : SvREADONLY_on(sv);
44734 : } while(0) /*@SWIG@*/;
44735 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44736 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GRATICULE", TRUE | 0x2 | GV_ADDMULTI);
44737 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GRATICULE)));
44738 1 : SvREADONLY_on(sv);
44739 : } while(0) /*@SWIG@*/;
44740 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44741 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
44742 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MYSQL)));
44743 1 : SvREADONLY_on(sv);
44744 : } while(0) /*@SWIG@*/;
44745 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44746 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44747 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_RASTER)));
44748 1 : SvREADONLY_on(sv);
44749 : } while(0) /*@SWIG@*/;
44750 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44751 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
44752 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PLUGIN)));
44753 1 : SvREADONLY_on(sv);
44754 : } while(0) /*@SWIG@*/;
44755 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44756 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNION", TRUE | 0x2 | GV_ADDMULTI);
44757 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNION)));
44758 1 : SvREADONLY_on(sv);
44759 : } while(0) /*@SWIG@*/;
44760 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44761 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UVRASTER", TRUE | 0x2 | GV_ADDMULTI);
44762 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UVRASTER)));
44763 1 : SvREADONLY_on(sv);
44764 : } while(0) /*@SWIG@*/;
44765 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44766 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CONTOUR", TRUE | 0x2 | GV_ADDMULTI);
44767 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CONTOUR)));
44768 1 : SvREADONLY_on(sv);
44769 : } while(0) /*@SWIG@*/;
44770 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44771 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KERNELDENSITY", TRUE | 0x2 | GV_ADDMULTI);
44772 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KERNELDENSITY)));
44773 1 : SvREADONLY_on(sv);
44774 : } while(0) /*@SWIG@*/;
44775 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44776 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_XBASE", TRUE | 0x2 | GV_ADDMULTI);
44777 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_XBASE)));
44778 1 : SvREADONLY_on(sv);
44779 : } while(0) /*@SWIG@*/;
44780 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44781 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_CSV", TRUE | 0x2 | GV_ADDMULTI);
44782 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_CSV)));
44783 1 : SvREADONLY_on(sv);
44784 : } while(0) /*@SWIG@*/;
44785 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44786 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
44787 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_MYSQL)));
44788 1 : SvREADONLY_on(sv);
44789 : } while(0) /*@SWIG@*/;
44790 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44791 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_ORACLE", TRUE | 0x2 | GV_ADDMULTI);
44792 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_ORACLE)));
44793 1 : SvREADONLY_on(sv);
44794 : } while(0) /*@SWIG@*/;
44795 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44796 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_POSTGRES", TRUE | 0x2 | GV_ADDMULTI);
44797 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_POSTGRES)));
44798 1 : SvREADONLY_on(sv);
44799 : } while(0) /*@SWIG@*/;
44800 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44801 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_ONE", TRUE | 0x2 | GV_ADDMULTI);
44802 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_ONE)));
44803 1 : SvREADONLY_on(sv);
44804 : } while(0) /*@SWIG@*/;
44805 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44806 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_MANY", TRUE | 0x2 | GV_ADDMULTI);
44807 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_MANY)));
44808 1 : SvREADONLY_on(sv);
44809 : } while(0) /*@SWIG@*/;
44810 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44811 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
44812 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44813 1 : SvREADONLY_on(sv);
44814 : } while(0) /*@SWIG@*/;
44815 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44816 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
44817 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44818 1 : SvREADONLY_on(sv);
44819 : } while(0) /*@SWIG@*/;
44820 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44821 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
44822 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_SINGLE)));
44823 1 : SvREADONLY_on(sv);
44824 : } while(0) /*@SWIG@*/;
44825 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44826 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
44827 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_MULTIPLE)));
44828 1 : SvREADONLY_on(sv);
44829 : } while(0) /*@SWIG@*/;
44830 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44831 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_IS_NULL", TRUE | 0x2 | GV_ADDMULTI);
44832 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_IS_NULL)));
44833 1 : SvREADONLY_on(sv);
44834 : } while(0) /*@SWIG@*/;
44835 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44836 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_POINT", TRUE | 0x2 | GV_ADDMULTI);
44837 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_POINT)));
44838 1 : SvREADONLY_on(sv);
44839 : } while(0) /*@SWIG@*/;
44840 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44841 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_RECT", TRUE | 0x2 | GV_ADDMULTI);
44842 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_RECT)));
44843 1 : SvREADONLY_on(sv);
44844 : } while(0) /*@SWIG@*/;
44845 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44846 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
44847 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_SHAPE)));
44848 1 : SvREADONLY_on(sv);
44849 : } while(0) /*@SWIG@*/;
44850 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44851 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_ATTRIBUTE", TRUE | 0x2 | GV_ADDMULTI);
44852 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_ATTRIBUTE)));
44853 1 : SvREADONLY_on(sv);
44854 : } while(0) /*@SWIG@*/;
44855 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44856 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_INDEX", TRUE | 0x2 | GV_ADDMULTI);
44857 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_INDEX)));
44858 1 : SvREADONLY_on(sv);
44859 : } while(0) /*@SWIG@*/;
44860 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44861 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_FILTER", TRUE | 0x2 | GV_ADDMULTI);
44862 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_FILTER)));
44863 1 : SvREADONLY_on(sv);
44864 : } while(0) /*@SWIG@*/;
44865 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44866 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
44867 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_DEFAULT)));
44868 1 : SvREADONLY_on(sv);
44869 : } while(0) /*@SWIG@*/;
44870 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44871 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_LEFT", TRUE | 0x2 | GV_ADDMULTI);
44872 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_LEFT)));
44873 1 : SvREADONLY_on(sv);
44874 : } while(0) /*@SWIG@*/;
44875 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44876 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_CENTER", TRUE | 0x2 | GV_ADDMULTI);
44877 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_CENTER)));
44878 1 : SvREADONLY_on(sv);
44879 : } while(0) /*@SWIG@*/;
44880 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44881 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_RIGHT", TRUE | 0x2 | GV_ADDMULTI);
44882 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_RIGHT)));
44883 1 : SvREADONLY_on(sv);
44884 : } while(0) /*@SWIG@*/;
44885 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44886 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_NONE", TRUE | 0x2 | GV_ADDMULTI);
44887 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_NONE)));
44888 1 : SvREADONLY_on(sv);
44889 : } while(0) /*@SWIG@*/;
44890 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44891 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BEVEL", TRUE | 0x2 | GV_ADDMULTI);
44892 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BEVEL)));
44893 1 : SvREADONLY_on(sv);
44894 : } while(0) /*@SWIG@*/;
44895 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44896 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BUTT", TRUE | 0x2 | GV_ADDMULTI);
44897 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BUTT)));
44898 1 : SvREADONLY_on(sv);
44899 : } while(0) /*@SWIG@*/;
44900 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44901 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_MITER", TRUE | 0x2 | GV_ADDMULTI);
44902 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_MITER)));
44903 1 : SvREADONLY_on(sv);
44904 : } while(0) /*@SWIG@*/;
44905 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44906 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_ROUND", TRUE | 0x2 | GV_ADDMULTI);
44907 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_ROUND)));
44908 1 : SvREADONLY_on(sv);
44909 : } while(0) /*@SWIG@*/;
44910 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44911 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_SQUARE", TRUE | 0x2 | GV_ADDMULTI);
44912 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_SQUARE)));
44913 1 : SvREADONLY_on(sv);
44914 : } while(0) /*@SWIG@*/;
44915 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44916 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_TRIANGLE", TRUE | 0x2 | GV_ADDMULTI);
44917 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_TRIANGLE)));
44918 1 : SvREADONLY_on(sv);
44919 : } while(0) /*@SWIG@*/;
44920 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44921 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_DEFAULT_JOIN_MAXSIZE", TRUE | 0x2 | GV_ADDMULTI);
44922 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44923 1 : SvREADONLY_on(sv);
44924 : } while(0) /*@SWIG@*/;
44925 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44926 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
44927 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SUCCESS)));
44928 1 : SvREADONLY_on(sv);
44929 : } while(0) /*@SWIG@*/;
44930 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44931 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
44932 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FAILURE)));
44933 1 : SvREADONLY_on(sv);
44934 : } while(0) /*@SWIG@*/;
44935 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44936 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DONE", TRUE | 0x2 | GV_ADDMULTI);
44937 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DONE)));
44938 1 : SvREADONLY_on(sv);
44939 : } while(0) /*@SWIG@*/;
44940 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44941 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_PC256", TRUE | 0x2 | GV_ADDMULTI);
44942 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_PC256)));
44943 1 : SvREADONLY_on(sv);
44944 : } while(0) /*@SWIG@*/;
44945 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44946 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGB", TRUE | 0x2 | GV_ADDMULTI);
44947 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGB)));
44948 1 : SvREADONLY_on(sv);
44949 : } while(0) /*@SWIG@*/;
44950 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44951 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGBA", TRUE | 0x2 | GV_ADDMULTI);
44952 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGBA)));
44953 1 : SvREADONLY_on(sv);
44954 : } while(0) /*@SWIG@*/;
44955 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44956 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_INT16", TRUE | 0x2 | GV_ADDMULTI);
44957 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_INT16)));
44958 1 : SvREADONLY_on(sv);
44959 : } while(0) /*@SWIG@*/;
44960 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44961 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FLOAT32", TRUE | 0x2 | GV_ADDMULTI);
44962 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FLOAT32)));
44963 1 : SvREADONLY_on(sv);
44964 : } while(0) /*@SWIG@*/;
44965 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44966 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_BYTE", TRUE | 0x2 | GV_ADDMULTI);
44967 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_BYTE)));
44968 1 : SvREADONLY_on(sv);
44969 : } while(0) /*@SWIG@*/;
44970 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44971 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FEATURE", TRUE | 0x2 | GV_ADDMULTI);
44972 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FEATURE)));
44973 1 : SvREADONLY_on(sv);
44974 : } while(0) /*@SWIG@*/;
44975 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44976 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_NULL", TRUE | 0x2 | GV_ADDMULTI);
44977 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_NULL)));
44978 1 : SvREADONLY_on(sv);
44979 : } while(0) /*@SWIG@*/;
44980 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44981 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
44982 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_EQUALS)));
44983 1 : SvREADONLY_on(sv);
44984 : } while(0) /*@SWIG@*/;
44985 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44986 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
44987 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DISJOINT)));
44988 1 : SvREADONLY_on(sv);
44989 : } while(0) /*@SWIG@*/;
44990 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44991 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
44992 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_TOUCHES)));
44993 1 : SvREADONLY_on(sv);
44994 : } while(0) /*@SWIG@*/;
44995 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44996 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
44997 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_OVERLAPS)));
44998 1 : SvREADONLY_on(sv);
44999 : } while(0) /*@SWIG@*/;
45000 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45001 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45002 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CROSSES)));
45003 1 : SvREADONLY_on(sv);
45004 : } while(0) /*@SWIG@*/;
45005 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45006 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45007 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_INTERSECTS)));
45008 1 : SvREADONLY_on(sv);
45009 : } while(0) /*@SWIG@*/;
45010 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45011 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45012 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_WITHIN)));
45013 1 : SvREADONLY_on(sv);
45014 : } while(0) /*@SWIG@*/;
45015 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45016 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45017 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CONTAINS)));
45018 1 : SvREADONLY_on(sv);
45019 : } while(0) /*@SWIG@*/;
45020 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45021 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45022 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_BEYOND)));
45023 1 : SvREADONLY_on(sv);
45024 : } while(0) /*@SWIG@*/;
45025 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45026 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45027 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DWITHIN)));
45028 1 : SvREADONLY_on(sv);
45029 : } while(0) /*@SWIG@*/;
45030 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45031 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_NONE", TRUE | 0x2 | GV_ADDMULTI);
45032 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_NONE)));
45033 1 : SvREADONLY_on(sv);
45034 : } while(0) /*@SWIG@*/;
45035 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45036 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45037 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_ROUND)));
45038 1 : SvREADONLY_on(sv);
45039 : } while(0) /*@SWIG@*/;
45040 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45041 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SNAPTOGRID", TRUE | 0x2 | GV_ADDMULTI);
45042 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SNAPTOGRID)));
45043 1 : SvREADONLY_on(sv);
45044 : } while(0) /*@SWIG@*/;
45045 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45046 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_FULLRESOLUTION", TRUE | 0x2 | GV_ADDMULTI);
45047 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_FULLRESOLUTION)));
45048 1 : SvREADONLY_on(sv);
45049 : } while(0) /*@SWIG@*/;
45050 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45051 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45052 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SIMPLIFY)));
45053 1 : SvREADONLY_on(sv);
45054 : } while(0) /*@SWIG@*/;
45055 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45056 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CLEAR", TRUE | 0x2 | GV_ADDMULTI);
45057 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CLEAR)));
45058 1 : SvREADONLY_on(sv);
45059 : } while(0) /*@SWIG@*/;
45060 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45061 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC", TRUE | 0x2 | GV_ADDMULTI);
45062 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC)));
45063 1 : SvREADONLY_on(sv);
45064 : } while(0) /*@SWIG@*/;
45065 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45066 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST", TRUE | 0x2 | GV_ADDMULTI);
45067 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST)));
45068 1 : SvREADONLY_on(sv);
45069 : } while(0) /*@SWIG@*/;
45070 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45071 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OVER", TRUE | 0x2 | GV_ADDMULTI);
45072 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OVER)));
45073 1 : SvREADONLY_on(sv);
45074 : } while(0) /*@SWIG@*/;
45075 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45076 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OVER", TRUE | 0x2 | GV_ADDMULTI);
45077 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OVER)));
45078 1 : SvREADONLY_on(sv);
45079 : } while(0) /*@SWIG@*/;
45080 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45081 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_IN", TRUE | 0x2 | GV_ADDMULTI);
45082 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_IN)));
45083 1 : SvREADONLY_on(sv);
45084 : } while(0) /*@SWIG@*/;
45085 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45086 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_IN", TRUE | 0x2 | GV_ADDMULTI);
45087 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_IN)));
45088 1 : SvREADONLY_on(sv);
45089 : } while(0) /*@SWIG@*/;
45090 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45091 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OUT", TRUE | 0x2 | GV_ADDMULTI);
45092 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OUT)));
45093 1 : SvREADONLY_on(sv);
45094 : } while(0) /*@SWIG@*/;
45095 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45096 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OUT", TRUE | 0x2 | GV_ADDMULTI);
45097 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OUT)));
45098 1 : SvREADONLY_on(sv);
45099 : } while(0) /*@SWIG@*/;
45100 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45101 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45102 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_ATOP)));
45103 1 : SvREADONLY_on(sv);
45104 : } while(0) /*@SWIG@*/;
45105 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45106 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45107 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_ATOP)));
45108 1 : SvREADONLY_on(sv);
45109 : } while(0) /*@SWIG@*/;
45110 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45111 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_XOR", TRUE | 0x2 | GV_ADDMULTI);
45112 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_XOR)));
45113 1 : SvREADONLY_on(sv);
45114 : } while(0) /*@SWIG@*/;
45115 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45116 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_PLUS", TRUE | 0x2 | GV_ADDMULTI);
45117 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_PLUS)));
45118 1 : SvREADONLY_on(sv);
45119 : } while(0) /*@SWIG@*/;
45120 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45121 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MINUS", TRUE | 0x2 | GV_ADDMULTI);
45122 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MINUS)));
45123 1 : SvREADONLY_on(sv);
45124 : } while(0) /*@SWIG@*/;
45125 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45126 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MULTIPLY", TRUE | 0x2 | GV_ADDMULTI);
45127 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MULTIPLY)));
45128 1 : SvREADONLY_on(sv);
45129 : } while(0) /*@SWIG@*/;
45130 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45131 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SCREEN", TRUE | 0x2 | GV_ADDMULTI);
45132 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SCREEN)));
45133 1 : SvREADONLY_on(sv);
45134 : } while(0) /*@SWIG@*/;
45135 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45136 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_OVERLAY", TRUE | 0x2 | GV_ADDMULTI);
45137 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_OVERLAY)));
45138 1 : SvREADONLY_on(sv);
45139 : } while(0) /*@SWIG@*/;
45140 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45141 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DARKEN", TRUE | 0x2 | GV_ADDMULTI);
45142 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DARKEN)));
45143 1 : SvREADONLY_on(sv);
45144 : } while(0) /*@SWIG@*/;
45145 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45146 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_LIGHTEN", TRUE | 0x2 | GV_ADDMULTI);
45147 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_LIGHTEN)));
45148 1 : SvREADONLY_on(sv);
45149 : } while(0) /*@SWIG@*/;
45150 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45151 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_DODGE", TRUE | 0x2 | GV_ADDMULTI);
45152 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_DODGE)));
45153 1 : SvREADONLY_on(sv);
45154 : } while(0) /*@SWIG@*/;
45155 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45156 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_BURN", TRUE | 0x2 | GV_ADDMULTI);
45157 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_BURN)));
45158 1 : SvREADONLY_on(sv);
45159 : } while(0) /*@SWIG@*/;
45160 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45161 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_HARD_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45162 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_HARD_LIGHT)));
45163 1 : SvREADONLY_on(sv);
45164 : } while(0) /*@SWIG@*/;
45165 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45166 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SOFT_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45167 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SOFT_LIGHT)));
45168 1 : SvREADONLY_on(sv);
45169 : } while(0) /*@SWIG@*/;
45170 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45171 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45172 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DIFFERENCE)));
45173 1 : SvREADONLY_on(sv);
45174 : } while(0) /*@SWIG@*/;
45175 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45176 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_EXCLUSION", TRUE | 0x2 | GV_ADDMULTI);
45177 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_EXCLUSION)));
45178 1 : SvREADONLY_on(sv);
45179 : } while(0) /*@SWIG@*/;
45180 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45181 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CONTRAST", TRUE | 0x2 | GV_ADDMULTI);
45182 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CONTRAST)));
45183 1 : SvREADONLY_on(sv);
45184 : } while(0) /*@SWIG@*/;
45185 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45186 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT", TRUE | 0x2 | GV_ADDMULTI);
45187 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT)));
45188 1 : SvREADONLY_on(sv);
45189 : } while(0) /*@SWIG@*/;
45190 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45191 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT_RGB", TRUE | 0x2 | GV_ADDMULTI);
45192 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT_RGB)));
45193 1 : SvREADONLY_on(sv);
45194 : } while(0) /*@SWIG@*/;
45195 1 : SWIG_TypeClientData(SWIGTYPE_p__CompositingFilter, (void*) "mapscript::CompositingFilter");
45196 1 : SWIG_TypeClientData(SWIGTYPE_p__LayerCompositer, (void*) "mapscript::LayerCompositer");
45197 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45198 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45199 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45200 1 : SvREADONLY_on(sv);
45201 : } while(0) /*@SWIG@*/;
45202 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45203 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45204 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SIZE)));
45205 1 : SvREADONLY_on(sv);
45206 : } while(0) /*@SWIG@*/;
45207 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45208 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_WIDTH", TRUE | 0x2 | GV_ADDMULTI);
45209 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_WIDTH)));
45210 1 : SvREADONLY_on(sv);
45211 : } while(0) /*@SWIG@*/;
45212 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45213 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45214 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_ANGLE)));
45215 1 : SvREADONLY_on(sv);
45216 : } while(0) /*@SWIG@*/;
45217 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45218 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45219 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_COLOR)));
45220 1 : SvREADONLY_on(sv);
45221 : } while(0) /*@SWIG@*/;
45222 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45223 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45224 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINECOLOR)));
45225 1 : SvREADONLY_on(sv);
45226 : } while(0) /*@SWIG@*/;
45227 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45228 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
45229 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SYMBOL)));
45230 1 : SvREADONLY_on(sv);
45231 : } while(0) /*@SWIG@*/;
45232 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45233 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINEWIDTH", TRUE | 0x2 | GV_ADDMULTI);
45234 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINEWIDTH)));
45235 1 : SvREADONLY_on(sv);
45236 : } while(0) /*@SWIG@*/;
45237 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45238 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OPACITY", TRUE | 0x2 | GV_ADDMULTI);
45239 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OPACITY)));
45240 1 : SvREADONLY_on(sv);
45241 : } while(0) /*@SWIG@*/;
45242 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45243 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
45244 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_X)));
45245 1 : SvREADONLY_on(sv);
45246 : } while(0) /*@SWIG@*/;
45247 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45248 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
45249 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_Y)));
45250 1 : SvREADONLY_on(sv);
45251 : } while(0) /*@SWIG@*/;
45252 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45253 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_PIXEL", TRUE | 0x2 | GV_ADDMULTI);
45254 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_PIXEL)));
45255 1 : SvREADONLY_on(sv);
45256 : } while(0) /*@SWIG@*/;
45257 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45258 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45259 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_ANGLE)));
45260 1 : SvREADONLY_on(sv);
45261 : } while(0) /*@SWIG@*/;
45262 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45263 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45264 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45265 1 : SvREADONLY_on(sv);
45266 : } while(0) /*@SWIG@*/;
45267 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45268 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45269 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SIZE)));
45270 1 : SvREADONLY_on(sv);
45271 : } while(0) /*@SWIG@*/;
45272 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45273 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45274 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ANGLE)));
45275 1 : SvREADONLY_on(sv);
45276 : } while(0) /*@SWIG@*/;
45277 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45278 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45279 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_COLOR)));
45280 1 : SvREADONLY_on(sv);
45281 : } while(0) /*@SWIG@*/;
45282 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45283 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45284 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OUTLINECOLOR)));
45285 1 : SvREADONLY_on(sv);
45286 : } while(0) /*@SWIG@*/;
45287 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45288 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_FONT", TRUE | 0x2 | GV_ADDMULTI);
45289 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_FONT)));
45290 1 : SvREADONLY_on(sv);
45291 : } while(0) /*@SWIG@*/;
45292 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45293 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
45294 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_PRIORITY)));
45295 1 : SvREADONLY_on(sv);
45296 : } while(0) /*@SWIG@*/;
45297 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45298 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_POSITION", TRUE | 0x2 | GV_ADDMULTI);
45299 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_POSITION)));
45300 1 : SvREADONLY_on(sv);
45301 : } while(0) /*@SWIG@*/;
45302 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45303 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEX", TRUE | 0x2 | GV_ADDMULTI);
45304 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEX)));
45305 1 : SvREADONLY_on(sv);
45306 : } while(0) /*@SWIG@*/;
45307 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45308 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEY", TRUE | 0x2 | GV_ADDMULTI);
45309 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEY)));
45310 1 : SvREADONLY_on(sv);
45311 : } while(0) /*@SWIG@*/;
45312 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45313 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
45314 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OFFSET_X)));
45315 1 : SvREADONLY_on(sv);
45316 : } while(0) /*@SWIG@*/;
45317 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45318 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
45319 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OFFSET_Y)));
45320 1 : SvREADONLY_on(sv);
45321 : } while(0) /*@SWIG@*/;
45322 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45323 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ALIGN", TRUE | 0x2 | GV_ADDMULTI);
45324 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ALIGN)));
45325 1 : SvREADONLY_on(sv);
45326 : } while(0) /*@SWIG@*/;
45327 1 : SWIG_TypeClientData(SWIGTYPE_p_fontSetObj, (void*) "mapscript::fontSetObj");
45328 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45329 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_AND", TRUE | 0x2 | GV_ADDMULTI);
45330 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_AND)));
45331 1 : SvREADONLY_on(sv);
45332 : } while(0) /*@SWIG@*/;
45333 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45334 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_OR", TRUE | 0x2 | GV_ADDMULTI);
45335 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_OR)));
45336 1 : SvREADONLY_on(sv);
45337 : } while(0) /*@SWIG@*/;
45338 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45339 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_NOT", TRUE | 0x2 | GV_ADDMULTI);
45340 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_NOT)));
45341 1 : SvREADONLY_on(sv);
45342 : } while(0) /*@SWIG@*/;
45343 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45344 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_NUMBER", TRUE | 0x2 | GV_ADDMULTI);
45345 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_NUMBER)));
45346 1 : SvREADONLY_on(sv);
45347 : } while(0) /*@SWIG@*/;
45348 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45349 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_STRING", TRUE | 0x2 | GV_ADDMULTI);
45350 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_STRING)));
45351 1 : SvREADONLY_on(sv);
45352 : } while(0) /*@SWIG@*/;
45353 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45354 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_TIME", TRUE | 0x2 | GV_ADDMULTI);
45355 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_TIME)));
45356 1 : SvREADONLY_on(sv);
45357 : } while(0) /*@SWIG@*/;
45358 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45359 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45360 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_SHAPE)));
45361 1 : SvREADONLY_on(sv);
45362 : } while(0) /*@SWIG@*/;
45363 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45364 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45365 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_BOOLEAN)));
45366 1 : SvREADONLY_on(sv);
45367 : } while(0) /*@SWIG@*/;
45368 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45369 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQ", TRUE | 0x2 | GV_ADDMULTI);
45370 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQ)));
45371 1 : SvREADONLY_on(sv);
45372 : } while(0) /*@SWIG@*/;
45373 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45374 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_NE", TRUE | 0x2 | GV_ADDMULTI);
45375 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_NE)));
45376 1 : SvREADONLY_on(sv);
45377 : } while(0) /*@SWIG@*/;
45378 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45379 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GT", TRUE | 0x2 | GV_ADDMULTI);
45380 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GT)));
45381 1 : SvREADONLY_on(sv);
45382 : } while(0) /*@SWIG@*/;
45383 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45384 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LT", TRUE | 0x2 | GV_ADDMULTI);
45385 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LT)));
45386 1 : SvREADONLY_on(sv);
45387 : } while(0) /*@SWIG@*/;
45388 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45389 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LE", TRUE | 0x2 | GV_ADDMULTI);
45390 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LE)));
45391 1 : SvREADONLY_on(sv);
45392 : } while(0) /*@SWIG@*/;
45393 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45394 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GE", TRUE | 0x2 | GV_ADDMULTI);
45395 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GE)));
45396 1 : SvREADONLY_on(sv);
45397 : } while(0) /*@SWIG@*/;
45398 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45399 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IEQ", TRUE | 0x2 | GV_ADDMULTI);
45400 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IEQ)));
45401 1 : SvREADONLY_on(sv);
45402 : } while(0) /*@SWIG@*/;
45403 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45404 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_RE", TRUE | 0x2 | GV_ADDMULTI);
45405 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_RE)));
45406 1 : SvREADONLY_on(sv);
45407 : } while(0) /*@SWIG@*/;
45408 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45409 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IRE", TRUE | 0x2 | GV_ADDMULTI);
45410 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IRE)));
45411 1 : SvREADONLY_on(sv);
45412 : } while(0) /*@SWIG@*/;
45413 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45414 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IN", TRUE | 0x2 | GV_ADDMULTI);
45415 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IN)));
45416 1 : SvREADONLY_on(sv);
45417 : } while(0) /*@SWIG@*/;
45418 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45419 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LIKE", TRUE | 0x2 | GV_ADDMULTI);
45420 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LIKE)));
45421 1 : SvREADONLY_on(sv);
45422 : } while(0) /*@SWIG@*/;
45423 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45424 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45425 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_INTERSECTS)));
45426 1 : SvREADONLY_on(sv);
45427 : } while(0) /*@SWIG@*/;
45428 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45429 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
45430 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DISJOINT)));
45431 1 : SvREADONLY_on(sv);
45432 : } while(0) /*@SWIG@*/;
45433 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45434 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
45435 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_TOUCHES)));
45436 1 : SvREADONLY_on(sv);
45437 : } while(0) /*@SWIG@*/;
45438 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45439 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
45440 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_OVERLAPS)));
45441 1 : SvREADONLY_on(sv);
45442 : } while(0) /*@SWIG@*/;
45443 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45444 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45445 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CROSSES)));
45446 1 : SvREADONLY_on(sv);
45447 : } while(0) /*@SWIG@*/;
45448 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45449 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45450 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_WITHIN)));
45451 1 : SvREADONLY_on(sv);
45452 : } while(0) /*@SWIG@*/;
45453 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45454 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45455 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CONTAINS)));
45456 1 : SvREADONLY_on(sv);
45457 : } while(0) /*@SWIG@*/;
45458 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45459 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
45460 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQUALS)));
45461 1 : SvREADONLY_on(sv);
45462 : } while(0) /*@SWIG@*/;
45463 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45464 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45465 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_BEYOND)));
45466 1 : SvREADONLY_on(sv);
45467 : } while(0) /*@SWIG@*/;
45468 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45469 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45470 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DWITHIN)));
45471 1 : SvREADONLY_on(sv);
45472 : } while(0) /*@SWIG@*/;
45473 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45474 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45475 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LENGTH)));
45476 1 : SvREADONLY_on(sv);
45477 : } while(0) /*@SWIG@*/;
45478 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45479 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_TOSTRING", TRUE | 0x2 | GV_ADDMULTI);
45480 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_TOSTRING)));
45481 1 : SvREADONLY_on(sv);
45482 : } while(0) /*@SWIG@*/;
45483 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45484 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_COMMIFY", TRUE | 0x2 | GV_ADDMULTI);
45485 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_COMMIFY)));
45486 1 : SvREADONLY_on(sv);
45487 : } while(0) /*@SWIG@*/;
45488 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45489 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_AREA", TRUE | 0x2 | GV_ADDMULTI);
45490 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_AREA)));
45491 1 : SvREADONLY_on(sv);
45492 : } while(0) /*@SWIG@*/;
45493 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45494 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45495 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_ROUND)));
45496 1 : SvREADONLY_on(sv);
45497 : } while(0) /*@SWIG@*/;
45498 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45499 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FROMTEXT", TRUE | 0x2 | GV_ADDMULTI);
45500 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FROMTEXT)));
45501 1 : SvREADONLY_on(sv);
45502 : } while(0) /*@SWIG@*/;
45503 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45504 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_BUFFER", TRUE | 0x2 | GV_ADDMULTI);
45505 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_BUFFER)));
45506 1 : SvREADONLY_on(sv);
45507 : } while(0) /*@SWIG@*/;
45508 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45509 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45510 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_DIFFERENCE)));
45511 1 : SvREADONLY_on(sv);
45512 : } while(0) /*@SWIG@*/;
45513 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45514 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45515 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFY)));
45516 1 : SvREADONLY_on(sv);
45517 : } while(0) /*@SWIG@*/;
45518 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45519 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFYPT", TRUE | 0x2 | GV_ADDMULTI);
45520 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFYPT)));
45521 1 : SvREADONLY_on(sv);
45522 : } while(0) /*@SWIG@*/;
45523 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45524 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_GENERALIZE", TRUE | 0x2 | GV_ADDMULTI);
45525 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_GENERALIZE)));
45526 1 : SvREADONLY_on(sv);
45527 : } while(0) /*@SWIG@*/;
45528 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45529 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SMOOTHSIA", TRUE | 0x2 | GV_ADDMULTI);
45530 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SMOOTHSIA)));
45531 1 : SvREADONLY_on(sv);
45532 : } while(0) /*@SWIG@*/;
45533 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45534 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_JAVASCRIPT", TRUE | 0x2 | GV_ADDMULTI);
45535 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_JAVASCRIPT)));
45536 1 : SvREADONLY_on(sv);
45537 : } while(0) /*@SWIG@*/;
45538 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45539 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_UPPER", TRUE | 0x2 | GV_ADDMULTI);
45540 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_UPPER)));
45541 1 : SvREADONLY_on(sv);
45542 : } while(0) /*@SWIG@*/;
45543 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45544 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LOWER", TRUE | 0x2 | GV_ADDMULTI);
45545 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LOWER)));
45546 1 : SvREADONLY_on(sv);
45547 : } while(0) /*@SWIG@*/;
45548 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45549 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_INITCAP", TRUE | 0x2 | GV_ADDMULTI);
45550 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_INITCAP)));
45551 1 : SvREADONLY_on(sv);
45552 : } while(0) /*@SWIG@*/;
45553 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45554 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FIRSTCAP", TRUE | 0x2 | GV_ADDMULTI);
45555 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FIRSTCAP)));
45556 1 : SvREADONLY_on(sv);
45557 : } while(0) /*@SWIG@*/;
45558 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45559 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DOUBLE", TRUE | 0x2 | GV_ADDMULTI);
45560 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DOUBLE)));
45561 1 : SvREADONLY_on(sv);
45562 : } while(0) /*@SWIG@*/;
45563 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45564 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_INTEGER", TRUE | 0x2 | GV_ADDMULTI);
45565 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_INTEGER)));
45566 1 : SvREADONLY_on(sv);
45567 : } while(0) /*@SWIG@*/;
45568 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45569 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_STRING", TRUE | 0x2 | GV_ADDMULTI);
45570 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_STRING)));
45571 1 : SvREADONLY_on(sv);
45572 : } while(0) /*@SWIG@*/;
45573 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45574 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_TIME", TRUE | 0x2 | GV_ADDMULTI);
45575 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_TIME)));
45576 1 : SvREADONLY_on(sv);
45577 : } while(0) /*@SWIG@*/;
45578 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45579 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45580 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_SHAPE)));
45581 1 : SvREADONLY_on(sv);
45582 : } while(0) /*@SWIG@*/;
45583 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45584 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_MAP_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45585 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_MAP_CELLSIZE)));
45586 1 : SvREADONLY_on(sv);
45587 : } while(0) /*@SWIG@*/;
45588 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45589 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DATA_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45590 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DATA_CELLSIZE)));
45591 1 : SvREADONLY_on(sv);
45592 : } while(0) /*@SWIG@*/;
45593 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45594 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45595 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_BOOLEAN)));
45596 1 : SvREADONLY_on(sv);
45597 : } while(0) /*@SWIG@*/;
45598 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45599 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_STRING", TRUE | 0x2 | GV_ADDMULTI);
45600 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_STRING)));
45601 1 : SvREADONLY_on(sv);
45602 : } while(0) /*@SWIG@*/;
45603 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45604 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45605 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SHAPE)));
45606 1 : SvREADONLY_on(sv);
45607 : } while(0) /*@SWIG@*/;
45608 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45609 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SLD", TRUE | 0x2 | GV_ADDMULTI);
45610 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SLD)));
45611 1 : SvREADONLY_on(sv);
45612 : } while(0) /*@SWIG@*/;
45613 1 : SWIG_TypeClientData(SWIGTYPE_p_clusterObj, (void*) "mapscript::clusterObj");
45614 1 : SWIG_TypeClientData(SWIGTYPE_p_outputFormatObj, (void*) "mapscript::outputFormatObj");
45615 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45616 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOOVERRIDE", TRUE | 0x2 | GV_ADDMULTI);
45617 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1111)));
45618 1 : SvREADONLY_on(sv);
45619 : } while(0) /*@SWIG@*/;
45620 1 : SWIG_TypeClientData(SWIGTYPE_p_queryMapObj, (void*) "mapscript::queryMapObj");
45621 1 : SWIG_TypeClientData(SWIGTYPE_p_webObj, (void*) "mapscript::webObj");
45622 1 : SWIG_TypeClientData(SWIGTYPE_p_styleObj, (void*) "mapscript::styleObj");
45623 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45624 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_SINGLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45625 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
45626 1 : SvREADONLY_on(sv);
45627 : } while(0) /*@SWIG@*/;
45628 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45629 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_DOUBLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45630 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-999)));
45631 1 : SvREADONLY_on(sv);
45632 : } while(0) /*@SWIG@*/;
45633 1 : SWIG_TypeClientData(SWIGTYPE_p_labelLeaderObj, (void*) "mapscript::labelLeaderObj");
45634 1 : SWIG_TypeClientData(SWIGTYPE_p_labelObj, (void*) "mapscript::labelObj");
45635 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45636 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45637 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
45638 1 : SvREADONLY_on(sv);
45639 : } while(0) /*@SWIG@*/;
45640 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45641 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_TOP_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45642 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(99)));
45643 1 : SvREADONLY_on(sv);
45644 : } while(0) /*@SWIG@*/;
45645 1 : SWIG_TypeClientData(SWIGTYPE_p_classObj, (void*) "mapscript::classObj");
45646 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheMemberObj, (void*) "mapscript::labelCacheMemberObj");
45647 1 : SWIG_TypeClientData(SWIGTYPE_p_markerCacheMemberObj, (void*) "mapscript::markerCacheMemberObj");
45648 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheSlotObj, (void*) "mapscript::labelCacheSlotObj");
45649 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheObj, (void*) "mapscript::labelCacheObj");
45650 1 : SWIG_TypeClientData(SWIGTYPE_p_resultObj, (void*) "mapscript::resultObj");
45651 1 : SWIG_TypeClientData(SWIGTYPE_p_resultCacheObj, (void*) "mapscript::resultCacheObj");
45652 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolSetObj, (void*) "mapscript::symbolSetObj");
45653 1 : SWIG_TypeClientData(SWIGTYPE_p_referenceMapObj, (void*) "mapscript::referenceMapObj");
45654 1 : SWIG_TypeClientData(SWIGTYPE_p_scalebarObj, (void*) "mapscript::scalebarObj");
45655 1 : SWIG_TypeClientData(SWIGTYPE_p_legendObj, (void*) "mapscript::legendObj");
45656 1 : SWIG_TypeClientData(SWIGTYPE_p_imageObj, (void*) "mapscript::imageObj");
45657 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenEntryObj, (void*) "mapscript::scaleTokenEntryObj");
45658 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenObj, (void*) "mapscript::scaleTokenObj");
45659 1 : SWIG_TypeClientData(SWIGTYPE_p_layerObj, (void*) "mapscript::layerObj");
45660 1 : SWIG_TypeClientData(SWIGTYPE_p_mapObj, (void*) "mapscript::mapObj");
45661 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45662 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MAJOR", TRUE | 0x2 | GV_ADDMULTI);
45663 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45664 1 : SvREADONLY_on(sv);
45665 : } while(0) /*@SWIG@*/;
45666 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45667 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MINOR", TRUE | 0x2 | GV_ADDMULTI);
45668 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45669 1 : SvREADONLY_on(sv);
45670 : } while(0) /*@SWIG@*/;
45671 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45672 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_REV", TRUE | 0x2 | GV_ADDMULTI);
45673 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45674 1 : SvREADONLY_on(sv);
45675 : } while(0) /*@SWIG@*/;
45676 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45677 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION", TRUE | 0x2 | GV_ADDMULTI);
45678 1 : sv_setsv(sv, SWIG_FromCharPtr("7.7-dev"));
45679 1 : SvREADONLY_on(sv);
45680 : } while(0) /*@SWIG@*/;
45681 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45682 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_NUM", TRUE | 0x2 | GV_ADDMULTI);
45683 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(70700)));
45684 1 : SvREADONLY_on(sv);
45685 : } while(0) /*@SWIG@*/;
45686 1 : SWIG_TypeClientData(SWIGTYPE_p_rectObj, (void*) "mapscript::rectObj");
45687 1 : SWIG_TypeClientData(SWIGTYPE_p_pointObj, (void*) "mapscript::pointObj");
45688 1 : SWIG_TypeClientData(SWIGTYPE_p_lineObj, (void*) "mapscript::lineObj");
45689 1 : SWIG_TypeClientData(SWIGTYPE_p_shapeObj, (void*) "mapscript::shapeObj");
45690 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45691 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOERR", TRUE | 0x2 | GV_ADDMULTI);
45692 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45693 1 : SvREADONLY_on(sv);
45694 : } while(0) /*@SWIG@*/;
45695 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45696 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IOERR", TRUE | 0x2 | GV_ADDMULTI);
45697 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45698 1 : SvREADONLY_on(sv);
45699 : } while(0) /*@SWIG@*/;
45700 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45701 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEMERR", TRUE | 0x2 | GV_ADDMULTI);
45702 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
45703 1 : SvREADONLY_on(sv);
45704 : } while(0) /*@SWIG@*/;
45705 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45706 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TYPEERR", TRUE | 0x2 | GV_ADDMULTI);
45707 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
45708 1 : SvREADONLY_on(sv);
45709 : } while(0) /*@SWIG@*/;
45710 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45711 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMERR", TRUE | 0x2 | GV_ADDMULTI);
45712 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
45713 1 : SvREADONLY_on(sv);
45714 : } while(0) /*@SWIG@*/;
45715 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45716 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_REGEXERR", TRUE | 0x2 | GV_ADDMULTI);
45717 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45718 1 : SvREADONLY_on(sv);
45719 : } while(0) /*@SWIG@*/;
45720 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45721 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TTFERR", TRUE | 0x2 | GV_ADDMULTI);
45722 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
45723 1 : SvREADONLY_on(sv);
45724 : } while(0) /*@SWIG@*/;
45725 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45726 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DBFERR", TRUE | 0x2 | GV_ADDMULTI);
45727 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45728 1 : SvREADONLY_on(sv);
45729 : } while(0) /*@SWIG@*/;
45730 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45731 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IDENTERR", TRUE | 0x2 | GV_ADDMULTI);
45732 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(9)));
45733 1 : SvREADONLY_on(sv);
45734 : } while(0) /*@SWIG@*/;
45735 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45736 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EOFERR", TRUE | 0x2 | GV_ADDMULTI);
45737 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
45738 1 : SvREADONLY_on(sv);
45739 : } while(0) /*@SWIG@*/;
45740 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45741 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PROJERR", TRUE | 0x2 | GV_ADDMULTI);
45742 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
45743 1 : SvREADONLY_on(sv);
45744 : } while(0) /*@SWIG@*/;
45745 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45746 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MISCERR", TRUE | 0x2 | GV_ADDMULTI);
45747 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45748 1 : SvREADONLY_on(sv);
45749 : } while(0) /*@SWIG@*/;
45750 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45751 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CGIERR", TRUE | 0x2 | GV_ADDMULTI);
45752 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
45753 1 : SvREADONLY_on(sv);
45754 : } while(0) /*@SWIG@*/;
45755 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45756 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WEBERR", TRUE | 0x2 | GV_ADDMULTI);
45757 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
45758 1 : SvREADONLY_on(sv);
45759 : } while(0) /*@SWIG@*/;
45760 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45761 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMGERR", TRUE | 0x2 | GV_ADDMULTI);
45762 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
45763 1 : SvREADONLY_on(sv);
45764 : } while(0) /*@SWIG@*/;
45765 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45766 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHERR", TRUE | 0x2 | GV_ADDMULTI);
45767 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
45768 1 : SvREADONLY_on(sv);
45769 : } while(0) /*@SWIG@*/;
45770 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45771 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOINERR", TRUE | 0x2 | GV_ADDMULTI);
45772 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(17)));
45773 1 : SvREADONLY_on(sv);
45774 : } while(0) /*@SWIG@*/;
45775 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45776 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
45777 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
45778 1 : SvREADONLY_on(sv);
45779 : } while(0) /*@SWIG@*/;
45780 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45781 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHPERR", TRUE | 0x2 | GV_ADDMULTI);
45782 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(19)));
45783 1 : SvREADONLY_on(sv);
45784 : } while(0) /*@SWIG@*/;
45785 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45786 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSEERR", TRUE | 0x2 | GV_ADDMULTI);
45787 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(20)));
45788 1 : SvREADONLY_on(sv);
45789 : } while(0) /*@SWIG@*/;
45790 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45791 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSEDERR", TRUE | 0x2 | GV_ADDMULTI);
45792 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
45793 1 : SvREADONLY_on(sv);
45794 : } while(0) /*@SWIG@*/;
45795 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45796 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGRERR", TRUE | 0x2 | GV_ADDMULTI);
45797 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(22)));
45798 1 : SvREADONLY_on(sv);
45799 : } while(0) /*@SWIG@*/;
45800 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45801 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERYERR", TRUE | 0x2 | GV_ADDMULTI);
45802 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
45803 1 : SvREADONLY_on(sv);
45804 : } while(0) /*@SWIG@*/;
45805 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45806 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSERR", TRUE | 0x2 | GV_ADDMULTI);
45807 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(24)));
45808 1 : SvREADONLY_on(sv);
45809 : } while(0) /*@SWIG@*/;
45810 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45811 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
45812 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
45813 1 : SvREADONLY_on(sv);
45814 : } while(0) /*@SWIG@*/;
45815 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45816 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIALERR", TRUE | 0x2 | GV_ADDMULTI);
45817 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(26)));
45818 1 : SvREADONLY_on(sv);
45819 : } while(0) /*@SWIG@*/;
45820 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45821 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSERR", TRUE | 0x2 | GV_ADDMULTI);
45822 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(27)));
45823 1 : SvREADONLY_on(sv);
45824 : } while(0) /*@SWIG@*/;
45825 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45826 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
45827 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
45828 1 : SvREADONLY_on(sv);
45829 : } while(0) /*@SWIG@*/;
45830 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45831 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAPCONTEXTERR", TRUE | 0x2 | GV_ADDMULTI);
45832 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(29)));
45833 1 : SvREADONLY_on(sv);
45834 : } while(0) /*@SWIG@*/;
45835 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45836 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HTTPERR", TRUE | 0x2 | GV_ADDMULTI);
45837 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(30)));
45838 1 : SvREADONLY_on(sv);
45839 : } while(0) /*@SWIG@*/;
45840 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45841 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CHILDERR", TRUE | 0x2 | GV_ADDMULTI);
45842 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(31)));
45843 1 : SvREADONLY_on(sv);
45844 : } while(0) /*@SWIG@*/;
45845 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45846 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WCSERR", TRUE | 0x2 | GV_ADDMULTI);
45847 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(32)));
45848 1 : SvREADONLY_on(sv);
45849 : } while(0) /*@SWIG@*/;
45850 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45851 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOSERR", TRUE | 0x2 | GV_ADDMULTI);
45852 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(33)));
45853 1 : SvREADONLY_on(sv);
45854 : } while(0) /*@SWIG@*/;
45855 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45856 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RECTERR", TRUE | 0x2 | GV_ADDMULTI);
45857 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(34)));
45858 1 : SvREADONLY_on(sv);
45859 : } while(0) /*@SWIG@*/;
45860 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45861 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TIMEERR", TRUE | 0x2 | GV_ADDMULTI);
45862 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(35)));
45863 1 : SvREADONLY_on(sv);
45864 : } while(0) /*@SWIG@*/;
45865 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45866 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GMLERR", TRUE | 0x2 | GV_ADDMULTI);
45867 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(36)));
45868 1 : SvREADONLY_on(sv);
45869 : } while(0) /*@SWIG@*/;
45870 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45871 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SOSERR", TRUE | 0x2 | GV_ADDMULTI);
45872 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(37)));
45873 1 : SvREADONLY_on(sv);
45874 : } while(0) /*@SWIG@*/;
45875 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45876 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NULLPARENTERR", TRUE | 0x2 | GV_ADDMULTI);
45877 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(38)));
45878 1 : SvREADONLY_on(sv);
45879 : } while(0) /*@SWIG@*/;
45880 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45881 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AGGERR", TRUE | 0x2 | GV_ADDMULTI);
45882 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(39)));
45883 1 : SvREADONLY_on(sv);
45884 : } while(0) /*@SWIG@*/;
45885 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45886 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OWSERR", TRUE | 0x2 | GV_ADDMULTI);
45887 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(40)));
45888 1 : SvREADONLY_on(sv);
45889 : } while(0) /*@SWIG@*/;
45890 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45891 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGLERR", TRUE | 0x2 | GV_ADDMULTI);
45892 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
45893 1 : SvREADONLY_on(sv);
45894 : } while(0) /*@SWIG@*/;
45895 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45896 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDERERERR", TRUE | 0x2 | GV_ADDMULTI);
45897 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(42)));
45898 1 : SvREADONLY_on(sv);
45899 : } while(0) /*@SWIG@*/;
45900 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45901 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_V8ERR", TRUE | 0x2 | GV_ADDMULTI);
45902 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(43)));
45903 1 : SvREADONLY_on(sv);
45904 : } while(0) /*@SWIG@*/;
45905 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45906 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NUMERRORCODES", TRUE | 0x2 | GV_ADDMULTI);
45907 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(44)));
45908 1 : SvREADONLY_on(sv);
45909 : } while(0) /*@SWIG@*/;
45910 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45911 1 : SV *sv = get_sv((char*) SWIG_prefix "MESSAGELENGTH", TRUE | 0x2 | GV_ADDMULTI);
45912 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2048)));
45913 1 : SvREADONLY_on(sv);
45914 : } while(0) /*@SWIG@*/;
45915 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45916 1 : SV *sv = get_sv((char*) SWIG_prefix "ROUTINELENGTH", TRUE | 0x2 | GV_ADDMULTI);
45917 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
45918 1 : SvREADONLY_on(sv);
45919 : } while(0) /*@SWIG@*/;
45920 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45921 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ERROR_LANGUAGE", TRUE | 0x2 | GV_ADDMULTI);
45922 1 : sv_setsv(sv, SWIG_FromCharPtr("en-US"));
45923 1 : SvREADONLY_on(sv);
45924 : } while(0) /*@SWIG@*/;
45925 1 : SWIG_TypeClientData(SWIGTYPE_p_errorObj, (void*) "mapscript::errorObj");
45926 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45927 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_ERRORSONLY", TRUE | 0x2 | GV_ADDMULTI);
45928 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_ERRORSONLY)));
45929 1 : SvREADONLY_on(sv);
45930 : } while(0) /*@SWIG@*/;
45931 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45932 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEBUG", TRUE | 0x2 | GV_ADDMULTI);
45933 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEBUG)));
45934 1 : SvREADONLY_on(sv);
45935 : } while(0) /*@SWIG@*/;
45936 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45937 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_TUNING", TRUE | 0x2 | GV_ADDMULTI);
45938 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_TUNING)));
45939 1 : SvREADONLY_on(sv);
45940 : } while(0) /*@SWIG@*/;
45941 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45942 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_V", TRUE | 0x2 | GV_ADDMULTI);
45943 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_V)));
45944 1 : SvREADONLY_on(sv);
45945 : } while(0) /*@SWIG@*/;
45946 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45947 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VV", TRUE | 0x2 | GV_ADDMULTI);
45948 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VV)));
45949 1 : SvREADONLY_on(sv);
45950 : } while(0) /*@SWIG@*/;
45951 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45952 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VVV", TRUE | 0x2 | GV_ADDMULTI);
45953 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VVV)));
45954 1 : SvREADONLY_on(sv);
45955 : } while(0) /*@SWIG@*/;
45956 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45957 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEVDEBUG", TRUE | 0x2 | GV_ADDMULTI);
45958 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEVDEBUG)));
45959 1 : SvREADONLY_on(sv);
45960 : } while(0) /*@SWIG@*/;
45961 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45962 1 : SV *sv = get_sv((char*) SWIG_prefix "SHX_BUFFER_PAGE", TRUE | 0x2 | GV_ADDMULTI);
45963 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1024)));
45964 1 : SvREADONLY_on(sv);
45965 : } while(0) /*@SWIG@*/;
45966 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45967 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POINT", TRUE | 0x2 | GV_ADDMULTI);
45968 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45969 1 : SvREADONLY_on(sv);
45970 : } while(0) /*@SWIG@*/;
45971 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45972 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_ARC", TRUE | 0x2 | GV_ADDMULTI);
45973 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
45974 1 : SvREADONLY_on(sv);
45975 : } while(0) /*@SWIG@*/;
45976 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45977 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
45978 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45979 1 : SvREADONLY_on(sv);
45980 : } while(0) /*@SWIG@*/;
45981 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45982 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_MULTIPOINT", TRUE | 0x2 | GV_ADDMULTI);
45983 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
45984 1 : SvREADONLY_on(sv);
45985 : } while(0) /*@SWIG@*/;
45986 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45987 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTZ", TRUE | 0x2 | GV_ADDMULTI);
45988 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
45989 1 : SvREADONLY_on(sv);
45990 : } while(0) /*@SWIG@*/;
45991 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45992 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCZ", TRUE | 0x2 | GV_ADDMULTI);
45993 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
45994 1 : SvREADONLY_on(sv);
45995 : } while(0) /*@SWIG@*/;
45996 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45997 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONZ", TRUE | 0x2 | GV_ADDMULTI);
45998 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
45999 1 : SvREADONLY_on(sv);
46000 : } while(0) /*@SWIG@*/;
46001 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46002 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTZ", TRUE | 0x2 | GV_ADDMULTI);
46003 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
46004 1 : SvREADONLY_on(sv);
46005 : } while(0) /*@SWIG@*/;
46006 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46007 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTM", TRUE | 0x2 | GV_ADDMULTI);
46008 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
46009 1 : SvREADONLY_on(sv);
46010 : } while(0) /*@SWIG@*/;
46011 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46012 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCM", TRUE | 0x2 | GV_ADDMULTI);
46013 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
46014 1 : SvREADONLY_on(sv);
46015 : } while(0) /*@SWIG@*/;
46016 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46017 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONM", TRUE | 0x2 | GV_ADDMULTI);
46018 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
46019 1 : SvREADONLY_on(sv);
46020 : } while(0) /*@SWIG@*/;
46021 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46022 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTM", TRUE | 0x2 | GV_ADDMULTI);
46023 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
46024 1 : SvREADONLY_on(sv);
46025 : } while(0) /*@SWIG@*/;
46026 1 : SWIG_TypeClientData(SWIGTYPE_p_DBFInfo, (void*) "mapscript::DBFInfo");
46027 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46028 1 : SV *sv = get_sv((char*) SWIG_prefix "FTString", TRUE | 0x2 | GV_ADDMULTI);
46029 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTString)));
46030 1 : SvREADONLY_on(sv);
46031 : } while(0) /*@SWIG@*/;
46032 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46033 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInteger", TRUE | 0x2 | GV_ADDMULTI);
46034 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInteger)));
46035 1 : SvREADONLY_on(sv);
46036 : } while(0) /*@SWIG@*/;
46037 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46038 1 : SV *sv = get_sv((char*) SWIG_prefix "FTDouble", TRUE | 0x2 | GV_ADDMULTI);
46039 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTDouble)));
46040 1 : SvREADONLY_on(sv);
46041 : } while(0) /*@SWIG@*/;
46042 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46043 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInvalid", TRUE | 0x2 | GV_ADDMULTI);
46044 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInvalid)));
46045 1 : SvREADONLY_on(sv);
46046 : } while(0) /*@SWIG@*/;
46047 1 : SWIG_TypeClientData(SWIGTYPE_p_shapefileObj, (void*) "mapscript::shapefileObj");
46048 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46049 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_none", TRUE | 0x2 | GV_ADDMULTI);
46050 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
46051 1 : SvREADONLY_on(sv);
46052 : } while(0) /*@SWIG@*/;
46053 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46054 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_lonlat", TRUE | 0x2 | GV_ADDMULTI);
46055 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
46056 1 : SvREADONLY_on(sv);
46057 : } while(0) /*@SWIG@*/;
46058 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46059 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_gmerc", TRUE | 0x2 | GV_ADDMULTI);
46060 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
46061 1 : SvREADONLY_on(sv);
46062 : } while(0) /*@SWIG@*/;
46063 1 : SWIG_TypeClientData(SWIGTYPE_p_projectionObj, (void*) "mapscript::projectionObj");
46064 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46065 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SIMPLE", TRUE | 0x2 | GV_ADDMULTI);
46066 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SIMPLE)));
46067 1 : SvREADONLY_on(sv);
46068 : } while(0) /*@SWIG@*/;
46069 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46070 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_VECTOR", TRUE | 0x2 | GV_ADDMULTI);
46071 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_VECTOR)));
46072 1 : SvREADONLY_on(sv);
46073 : } while(0) /*@SWIG@*/;
46074 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46075 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ELLIPSE", TRUE | 0x2 | GV_ADDMULTI);
46076 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_ELLIPSE)));
46077 1 : SvREADONLY_on(sv);
46078 : } while(0) /*@SWIG@*/;
46079 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46080 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_PIXMAP", TRUE | 0x2 | GV_ADDMULTI);
46081 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_PIXMAP)));
46082 1 : SvREADONLY_on(sv);
46083 : } while(0) /*@SWIG@*/;
46084 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46085 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
46086 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_TRUETYPE)));
46087 1 : SvREADONLY_on(sv);
46088 : } while(0) /*@SWIG@*/;
46089 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46090 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_HATCH", TRUE | 0x2 | GV_ADDMULTI);
46091 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_HATCH)));
46092 1 : SvREADONLY_on(sv);
46093 : } while(0) /*@SWIG@*/;
46094 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46095 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SVG", TRUE | 0x2 | GV_ADDMULTI);
46096 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SVG)));
46097 1 : SvREADONLY_on(sv);
46098 : } while(0) /*@SWIG@*/;
46099 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46100 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
46101 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
46102 1 : SvREADONLY_on(sv);
46103 : } while(0) /*@SWIG@*/;
46104 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46105 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXVECTORPOINTS", TRUE | 0x2 | GV_ADDMULTI);
46106 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
46107 1 : SvREADONLY_on(sv);
46108 : } while(0) /*@SWIG@*/;
46109 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46110 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXPATTERNLENGTH", TRUE | 0x2 | GV_ADDMULTI);
46111 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
46112 1 : SvREADONLY_on(sv);
46113 : } while(0) /*@SWIG@*/;
46114 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46115 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGECACHESIZE", TRUE | 0x2 | GV_ADDMULTI);
46116 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
46117 1 : SvREADONLY_on(sv);
46118 : } while(0) /*@SWIG@*/;
46119 1 : SWIG_TypeClientData(SWIGTYPE_p_colorObj, (void*) "mapscript::colorObj");
46120 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolObj, (void*) "mapscript::symbolObj");
46121 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46122 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHSIZE", TRUE | 0x2 | GV_ADDMULTI);
46123 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
46124 1 : SvREADONLY_on(sv);
46125 : } while(0) /*@SWIG@*/;
46126 1 : SWIG_TypeClientData(SWIGTYPE_p_hashTableObj, (void*) "mapscript::hashTableObj");
46127 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46128 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_CGI_PARAMS", TRUE | 0x2 | GV_ADDMULTI);
46129 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
46130 1 : SvREADONLY_on(sv);
46131 : } while(0) /*@SWIG@*/;
46132 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46133 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GET_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46134 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GET_REQUEST)));
46135 1 : SvREADONLY_on(sv);
46136 : } while(0) /*@SWIG@*/;
46137 : /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46138 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POST_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46139 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POST_REQUEST)));
46140 1 : SvREADONLY_on(sv);
46141 : } while(0) /*@SWIG@*/;
46142 1 : SWIG_TypeClientData(SWIGTYPE_p_cgiRequestObj, (void*) "mapscript::OWSRequest");
46143 1 : ST(0) = &PL_sv_yes;
46144 1 : XSRETURN(1);
46145 : }
46146 :
|